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.8 KB
Raw Blame
# /api/v3/queries/operators/{id}
---
get:
  parameters:
  - description: QueryOperator id
    example: "!"
    in: path
    name: id
    required: true
    schema:
      type: string
  responses:
    '200':
      content:
        application/hal+json:
          examples:
            response:
              value:
                _links:
                  self:
                    href: "/api/v3/queries/operators/!"
                    title: is not
                _type: QueryOperator
                id: "!"
                name: is not
          schema:
            "$ref": "../components/schemas/query_operator_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:Unauthenticated
                message: You are not authorized to access this resource.
      description: |-
        Returned if the client does not have sufficient permissions to see it.

        **Required permission:** view work package in any project
      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 specified query does not exist.
      description: Returned if the QueryOperator does not exist.
      headers: {}
  tags:
  - Query Operators
  description: Retrieve an individual QueryOperator as identified by the `id` parameter.
  operationId: View_Query_Operator
  summary: View Query Operator