From 5b91d0383f83f9b15e5063fc6f74082908b4a3c7 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 16 Oct 2025 14:51:03 +0200 Subject: [PATCH] Added request body to POST /users/{username}/collection/folders/{folder_id}/releases/{release_id}/instances/{instance_id} endpoint for the Open API specification document in the library target. --- Sources/DiscogsService/openapi.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Sources/DiscogsService/openapi.yaml b/Sources/DiscogsService/openapi.yaml index 1b3eac250..26340a7c6 100644 --- a/Sources/DiscogsService/openapi.yaml +++ b/Sources/DiscogsService/openapi.yaml @@ -1395,6 +1395,8 @@ paths: - $ref: '#/components/parameters/ReleaseId' - $ref: '#/components/parameters/InstanceId' - $ref: '#/components/parameters/Rating' + requestBody: + $ref: '#/components/requestBodies/MoveInstance' security: - ConsumerKeySecret: [] - UserToken: [] @@ -1715,6 +1717,18 @@ components: schema: type: string example: memory + requestBodies: + MoveInstance: + description: A container to use in case of moving a release instance from a collection folder into another. + required: false + content: + application/json: + schema: + properties: + folder_id: + description: An identifier of a collection folder to move a release instance. + type: integer + minimum: 0 responses: InternalError: description: An Internal Server error was encountered.