From 69b366390c2be6e557b6810dbbccf963d03c092f Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 21 Oct 2025 20:01:02 +0200 Subject: [PATCH] Implemented the DELETE /marketplace/listings/{listing_id} endpoint for the Open API specification document in the library target. --- Sources/DiscogsService/openapi.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Sources/DiscogsService/openapi.yaml b/Sources/DiscogsService/openapi.yaml index 64bb19b49..1fcdce561 100644 --- a/Sources/DiscogsService/openapi.yaml +++ b/Sources/DiscogsService/openapi.yaml @@ -1907,6 +1907,35 @@ paths: $ref: '#/components/responses/Unprocessable' '500': $ref: '#/components/responses/InternalError' + delete: + tags: + - Marketplace + summary: Delete a listing from a marketplace. + description: | + Removes permanently a listing from a Marketplace. + + This endpoints requires authentication as a listing owner. + operationId: deleteListing + parameters: + - $ref: '#/components/parameters/ListingId' + security: + - ConsumerKeySecret: [] + - UserToken: [] + - OAuth: [] + responses: + '204': + description: Successfully deleted a listing from a marketplace. + headers: + X-Discogs-RateLimit: + $ref: '#/components/headers/RateLimit' + X-Discogs-RateLimit-Used: + $ref: '#/components/headers/RateLimitUsed' + X-Discogs-RateLimit-Remaining: + $ref: '#/components/headers/RateLimitRemaining' + '401': + $ref: '#/components/responses/Unauthorized' + '500': + $ref: '#/components/responses/InternalError' components: headers: Link: