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/components/schemas/view_time_entry_model.yml

45 lines
1.0 KiB

# Schema: View_time_entryModel
---
type: object
example:
_type: TimeEntry
id: 1
comment:
format: plain
raw: Some text explaining why the time entry was created
html: "<p>Some text explaining why the time entry was created</p>"
spentOn: '2015-03-20'
hours: PT5H
createdAt: '2015-03-20T12:56:56Z'
updatedAt: '2015-03-20T12:56:56Z'
customField12: 5
_embedded:
project...: {}
workPackage...: {}
user...: {}
activity...: {}
_links:
self:
href: "/api/v3/time_entries/1"
updateImmediately:
href: "/api/v3/time_entries/1"
method: patch
delete:
href: "/api/v3/time_entries/1"
method: delete
project:
href: "/api/v3/projects/1"
title: Some project
workPackage:
href: "/api/v3/work_packages/1"
title: Some work package
user:
href: "/api/v3/users/2"
title: Some user
activity:
href: "/api/v3/time_entries/activities/18"
title: Some time entry activity
customField4:
href: "/api/v3/users/5"
title: Some other user