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.2 KB
Raw Blame
# /api/v3/time_entries/activity/{id}
---
get:
  summary: View time entries activity
  operationId: get_time_entries_activity
  tags:
    - Time entry activities
  description: Fetches the time entry activity resource by the given id.
  parameters:
    - name: id
      description: Time entries activity id
      in: path
      example: 1
      required: true
      schema:
        type: integer
  responses:
    '200':
      description: OK
      content:
        application/hal+json:
          schema:
            $ref: '../components/schemas/time_entry_activity_model.yml'
    '404':
      description: |-
        Returned if the activity does not exist or if the user does not have permission to view them.

        **Required permission** `view time entries`, `log time`, `edit time entries`, `edit own time entries` or
        `manage project activities` in any project
      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.