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

81 lines
2.4 KiB

# /api/v3/priorities
---
get:
responses:
'200':
content:
application/hal+json:
examples:
response:
value:
_embedded:
elements:
- _links:
self:
href: "/api/v3/priorities/1"
title: Low
_type: Priority
id: 1
isActive: true
isDefault: false
name: Low
position: 1
- _links:
self:
href: "/api/v3/priorities/2"
title: Normal
_type: Priority
id: 2
isActive: true
isDefault: true
name: Normal
position: 2
- _links:
self:
href: "/api/v3/priorities/3"
title: High
_type: Priority
id: 3
isActive: true
isDefault: false
name: High
position: 3
- _links:
self:
href: "/api/v3/priorities/4"
title: Immediate
_type: Priority
id: 4
isActive: true
isDefault: false
name: Immediate
position: 5
_links:
self:
href: "/api/v3/priorities"
_type: Collection
count: 4
total: 4
schema:
"$ref": "../components/schemas/priorities_model.yml"
description: OK
headers: {}
'403':
content:
application/hal+json:
examples:
response:
value:
_type: Error
errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
message: You are not allowed to see the priorities.
description: |-
Returned if the client does not have sufficient permissions.
**Required permission:** view work package (on any project)
headers: {}
tags:
- Priorities
description: ''
operationId: List_all_Priorities
summary: List all Priorities