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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user