Skip to content

Commit

Permalink
Merge pull request #10 from owncloud/fix-create-drive
Browse files Browse the repository at this point in the history
  • Loading branch information
refs authored Nov 25, 2021
2 parents 67f8ecc + 0e0d0a4 commit 3ee7cdc
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions api/openapi-spec/v0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,25 @@ paths:
nextLinkName: '@odata.nextLink'
operationName: listMore
x-ms-docs-operation-type: operation
'/drives':
post:
tags:
- drives
summary: Create a new navigation property of a specific drive
operationId: drives.CreateDrive
requestBody:
description: New navigation property values
content:
application/json:
schema:
$ref: '#/components/schemas/drive'
required: true
responses:
'201':
description: Created
default:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: operation
'/drives/{drive-id}':
get:
tags:
Expand Down Expand Up @@ -187,24 +206,6 @@ paths:
default:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: operation
post:
tags:
- drives
summary: Create a new navigation property of a specific drive
operationId: drives.CreateDrive
requestBody:
description: New navigation property values
content:
application/json:
schema:
$ref: '#/components/schemas/drive'
required: true
responses:
'201':
description: Created
default:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: operation
delete:
tags:
- drives
Expand Down

0 comments on commit 3ee7cdc

Please sign in to comment.