Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

1.3 KB
Raw Blame
# /api/v3/priorities/{id}
---
get:
  parameters:
  - description: Priority id
    example: '1'
    in: path
    name: id
    required: true
    schema:
      type: integer
  responses:
    '200':
      content:
        application/hal+json:
          examples:
            response:
              value:
                _links:
                  self:
                    href: "/api/v3/priorities/1"
                    title: Low
                _type: Priority
                id: 1
                isActive: true
                isDefault: false
                name: Low
                position: 1
          schema:
            "$ref": "../components/schemas/priority_model.yml"
      description: OK
      headers: {}
    '403':
      content:
        application/hal+json:
          schema:
            $ref: "../components/schemas/error_response.yml"
          examples:
            response:
              value:
                _type: Error
                errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
                message: You are not allowed to see this priority.
      description: |-
        Returned if the client does not have sufficient permissions.

        **Required permission:** view work package (on any project)
      headers: {}
  tags:
  - Priorities
  description: ''
  operationId: View_Priority
  summary: View Priority