Implemented the DELETE /marketplace/listings/{listing_id} endpoint for the Open API specification document in the library target.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user