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

58 lines
1.7 KiB

# /api/v3/time_entries/activity/{id}
---
get:
parameters:
- description: Time entries activity id
example: '1'
in: path
name: id
required: true
schema:
type: integer
responses:
'200':
content:
application/hal+json:
examples:
response:
value:
_embedded:
projects...: []
_links:
projects:
- href: "/api/v3/projects/seeded_project"
title: Seeded Project
- href: "/api/v3/projects/working-project"
title: Working Project
self:
href: "/api/v3/time_entries/activities/18"
title: a autem
_type: TimeEntriesActivity
default: false
id: 18
name: a autem
position: 10
schema:
"$ref": "../components/schemas/view_time_entries_activity_model.yml"
description: OK
headers: {}
'404':
content:
application/hal+json:
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 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
headers: {}
tags:
- Time Entry Activities
description: ''
operationId: View_time_entries_activity
summary: View time entries activity