Implemented the DELETE /users/{username}/collection/folders/{folder_id} endpoints for the Open API specification document in the library target.
This commit is contained in:
@@ -1209,6 +1209,40 @@ paths:
|
||||
$ref: '#/components/responses/NotFound'
|
||||
'500':
|
||||
$ref: '#/components/responses/InternalError'
|
||||
delete:
|
||||
tags:
|
||||
- User Collection
|
||||
summary: Delete a collection folder from a collection of a user.
|
||||
description: |
|
||||
Deletes a collection folder from a collection of a user.
|
||||
|
||||
> important: A folder must be empty before it can be deleted.
|
||||
|
||||
This endpoints requires authentication as the collection owner.
|
||||
operationId: deleteUserCollectionFolder
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/Username'
|
||||
- $ref: '#/components/parameters/FolderId'
|
||||
security:
|
||||
- ConsumerKeySecret: []
|
||||
- UserToken: []
|
||||
- OAuth: []
|
||||
responses:
|
||||
'204':
|
||||
description: Successfully delete a specific collection folder of a user.
|
||||
headers:
|
||||
X-Discogs-RateLimit:
|
||||
$ref: '#/components/headers/RateLimit'
|
||||
X-Discogs-RateLimit-Used:
|
||||
$ref: '#/components/headers/RateLimitUsed'
|
||||
X-Discogs-RateLimit-Remaining:
|
||||
$ref: '#/components/headers/RateLimitRemaining'
|
||||
'403':
|
||||
$ref: '#/components/responses/NotAccessable'
|
||||
'404':
|
||||
$ref: '#/components/responses/NotFound'
|
||||
'500':
|
||||
$ref: '#/components/responses/InternalError'
|
||||
components:
|
||||
headers:
|
||||
Link:
|
||||
|
||||
Reference in New Issue
Block a user