OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/docs/api/apiv3/paths/storage.yml

39 lines
966 B

# /api/v3/storages/{id}
---
get:
summary: Gets a file link.
operationId: Get_Storage
tags:
- File links
description: |-
Gets a storage resource.
parameters:
- name: id
description: Storage id
in: path
required: true
schema:
type: integer
example: 1337
responses:
'200':
description: OK
content:
application/hal+json:
schema:
$ref: '#/components/schemas/StorageModel'
'404':
content:
application/hal+json:
schema:
$ref: "#/components/schemas/ErrorResponse"
example:
_type: Error
errorIdentifier: urn:openproject-org:api:v3:errors:NotFound
message: The requested resource could not be found.
description: |-
Returned if the storage does not exist or the client does not have sufficient permissions to see it.
**Required permission:** view file links