Implemented the missing Database endpoints #8
@@ -521,6 +521,38 @@ paths:
|
|||||||
'404':
|
'404':
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
/releases/{release_id}/rating/{username}:
|
/releases/{release_id}/rating/{username}:
|
||||||
|
delete:
|
||||||
|
tags:
|
||||||
|
- Database
|
||||||
|
summary: Delete information about a rating of release by a user.
|
||||||
|
description: |
|
||||||
|
Updates a rating of a release for a given user.
|
||||||
|
|
||||||
|
This endpoint requires authentication.
|
||||||
|
operationId: deleteReleaseRatingByUser
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/ReleaseId'
|
||||||
|
- $ref: '#/components/parameters/Username'
|
||||||
|
security:
|
||||||
|
- Token: []
|
||||||
|
- KeySecret: []
|
||||||
|
- OAuth: []
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: Successfully deleted a rating for a specific release by a given 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'
|
||||||
|
'401':
|
||||||
|
$ref: '#/components/responses/Unauthorized'
|
||||||
|
'404':
|
||||||
|
$ref: '#/components/responses/NotFound'
|
||||||
|
'500':
|
||||||
|
$ref: '#/components/responses/InternalError'
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- Database
|
- Database
|
||||||
|
|||||||
Reference in New Issue
Block a user