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

95 lines
2.3 KiB

# Schema: PrincipalsModel
---
type: object
example:
_type: Collection
total: 4
count: 4
_embedded:
elements:
- _type: User
id: 4
login: Eliza92778
admin: false
firstName: Danika
lastName: O'Keefe
name: Danika O'Keefe
email: jackie@dicki.org
avatar: https://example.org/users/4/avatar
createdAt: '2015-03-20T12:57:02Z'
updatedAt: '2015-06-16T15:28:14Z'
status: active
identityUrl:
_links:
self:
href: "/api/v3/users/4"
title: Danika O'Keefe
showUser:
href: "/users/4"
type: text/html
updateImmediately:
href: "/api/v3/users/4"
title: Update Eliza92778
method: patch
lock:
href: "/api/v3/users/4/lock"
title: Set lock on Eliza92778
method: post
delete:
href: "/api/v3/users/4"
title: Delete Eliza92778
method: delete
- _type: User
id: 2
login: Sebastian9686
admin: false
firstName: Peggie
lastName: Feeney
name: Peggie Feeney
email:
avatar: https://example.org/users/4/avatar
createdAt: '2015-03-20T12:56:55Z'
updatedAt: '2015-03-20T12:56:55Z'
status: active
identityUrl:
_links:
self:
href: "/api/v3/users/2"
title: Peggie Feeney
showUser:
href: "/users/2"
type: text/html
updateImmediately:
href: "/api/v3/users/2"
title: Update Sebastian9686
method: patch
lock:
href: "/api/v3/users/2/lock"
title: Set lock on Sebastian9686
method: post
delete:
href: "/api/v3/users/2"
title: Delete Sebastian9686
method: delete
- _type: Group
id: 9
name: The group
createdAt: '2015-09-23T11:06:36Z'
updatedAt: '2015-09-23T11:06:36Z'
_links:
self:
href: "/api/v3/groups/9"
title: The group
- _type: PlaceholderUser
id: 29
name: UX Designer
createdAt: '2018-09-23T11:06:36Z'
updatedAt: '2019-10-23T11:06:36Z'
_links:
self:
href: "/api/v3/placeholder_users/29"
title: UX Designer
_links:
self:
href: "/api/v3/principals"