Implemented the DELETE /marketplace/listings/{listing_id} endpoint for the Open API specification document in the library target.

This commit is contained in:
2025-10-21 20:01:02 +02:00
parent 9bf497676c
commit 69b366390c
+29
View File
@@ -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: