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/example_schema_model.yml

54 lines
1.1 KiB

# Schema: Example_SchemaModel
---
type: object
example:
_type: Schema
_dependencies: []
_links:
self:
href: "/api/v3/example/schema"
lockVersion:
name: Resource Version
type: Integer
writable: false
subject:
name: Subject
type: String
minLength: 1
maxLength: 255
status:
_links:
allowedValues:
- href: "/api/v3/statuses/1"
title: New
- href: "/api/v3/statuses/2"
title: Closed
name: Status
type: Status
location: _links
_embedded:
allowedValues:
- _links:
self:
href: "/api/v3/statuses/1"
_type: Status
id: 1
name: New
position: 1
isDefault: true
isClosed: false
defaultDoneRatio: 0
createdAt: '2014-05-21T08:51:20Z'
updatedAt: '2014-05-21T09:12:00Z'
- _links:
self:
href: "/api/v3/statuses/2"
_type: Status
id: 2
name: Closed
position: 2
isDefault: false
isClosed: true
defaultDoneRatio: 100
createdAt: '2014-05-21T08:51:20Z'
updatedAt: '2014-05-21T09:12:00Z'