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/custom_options/{id}
---
get:
  parameters:
  - description: The custom option's identifier
    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/custom_options/1"
                _type: CustomOption
                value: Foo
          schema:
            "$ref": "../components/schemas/custom_option_model.yml"
      description: OK
      headers: {}
    '404':
      content:
        application/hal+json:
          schema:
            $ref: "../components/schemas/error_response.yml"
          examples:
            response:
              value:
                _type: Error
                errorIdentifier: urn:openproject-org:api:v3:errors:NotFound
                message: The requested resource could not be found.
      description: |-
        Returned if the custom option does not exist or the client does not have sufficient permissions to see it.

        **Required permission:** view work package in any project the custom option's custom field is active in.
      headers: {}
  tags:
  - Custom Options
  description: ''
  operationId: View_Custom_Option
  summary: View Custom Option