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/components/schemas/storage_model.yml

59 lines
1.1 KiB

# Schema: StorageModel
---
type: object
required:
- id
- _type
- href
- storageType
properties:
id:
type: integer
description: Storage id
_type:
type: string
enum:
- Storage
href:
type: string
format: uri
description: web uri of the storage instance
storageType:
type: string
enum:
- nextcloud
description: |-
The type of the storage resource. Currently only nextcloud storages are supported.
createdAt:
type: string
format: date-time
description: Time of creation
updatedAt:
type: string
format: date-time
description: Time of the most recent change to the storage
_links:
type: object
required:
- self
properties:
self:
allOf:
- $ref: './link.yml'
- description: |-
This storage resource
**Resource**: Storage
example:
id: 1337
_type: Storage
href: https://nextcloud.deathstar.rocks/
storageType: nextcloud
createdAt: '2021-12-20T13:37:00.211Z'
updatedAt: '2021-12-20T13:37:00.211Z'
_links:
self:
href: /api/v3/storages/1337
title: storage