@ -2,15 +2,14 @@
---
type : object
required:
- subject
- type
- subject
- _links
properties:
id:
type : integer
description : Work package id
readOnly : true
minimum : 0
exclusiveMinimum : true
minimum : 1
lockVersion:
type : integer
description : The version of the item as used for optimistic locking
@ -18,14 +17,15 @@ properties:
subject:
type : string
description : Work package subject
type:
_ type:
type : string
description : Name of the work package's type
enum:
- WorkPackage
readOnly : true
description:
allOf:
- "$ref": "./formattable.yml"
- description : The work package description
- "$ref": "./formattable.yml"
- description : The work package description
scheduleManually:
type : boolean
description : If false (default) schedule automatically.
@ -91,308 +91,308 @@ properties:
_links:
type : object
required:
- self
- schema
- ancestors
- attachments
- author
- children
- priority
- project
- status
- type
- self
- schema
- ancestors
- attachments
- author
- children
- priority
- project
- status
- type
properties:
addAttachment:
allOf:
- "$ref": "./link.yml"
- description : |-
Attach a file to the WP
# Conditions
**Permission**: edit work package
readOnly : true
- "$ref": "./link.yml"
- description : |-
Attach a file to the WP
# Conditions
**Permission**: edit work package
readOnly : true
addComment:
allOf:
- "$ref": "./link.yml"
- description : |-
Post comment to WP
# Conditions
**Permission**: add work package notes
readOnly : true
- "$ref": "./link.yml"
- description : |-
Post comment to WP
# Conditions
**Permission**: add work package notes
readOnly : true
addRelation:
allOf:
- "$ref": "./link.yml"
- description : |-
Adds a relation to this work package.
# Conditions
**Permission**: manage wp relations
readOnly : true
- "$ref": "./link.yml"
- description : |-
Adds a relation to this work package.
# Conditions
**Permission**: manage wp relations
readOnly : true
addWatcher:
allOf:
- "$ref": "./link.yml"
- description : |-
Add any user to WP watchers
# Conditions
**Permission**: add watcher
readOnly : true
- "$ref": "./link.yml"
- description : |-
Add any user to WP watchers
# Conditions
**Permission**: add watcher
readOnly : true
customActions:
allOf:
- "$ref": "./link.yml"
- description : Collection of predefined changes that can be applied to the
work package
readOnly : true
- "$ref": "./link.yml"
- description : Collection of predefined changes that can be applied to the
work package
readOnly : true
previewMarkup:
allOf:
- "$ref": "./link.yml"
- description : Post markup (in markdown) here to receive an HTML-rendered
response
readOnly : true
- "$ref": "./link.yml"
- description : Post markup (in markdown) here to receive an HTML-rendered
response
readOnly : true
removeWatcher:
allOf:
- "$ref": "./link.yml"
- description : |-
Remove any user from WP watchers
# Conditions
**Permission**: delete watcher
readOnly : true
- "$ref": "./link.yml"
- description : |-
Remove any user from WP watchers
# Conditions
**Permission**: delete watcher
readOnly : true
unwatch:
allOf:
- "$ref": "./link.yml"
- description : |-
Remove current user from WP watchers
# Conditions
logged in; watching
readOnly : true
- "$ref": "./link.yml"
- description : |-
Remove current user from WP watchers
# Conditions
logged in; watching
readOnly : true
update:
allOf:
- "$ref": "./link.yml"
- description : |-
Form endpoint that aids in preparing and performing edits on a WP
# Conditions
**Permission**: edit work package
readOnly : true
- "$ref": "./link.yml"
- description : |-
Form endpoint that aids in preparing and performing edits on a WP
# Conditions
**Permission**: edit work package
readOnly : true
updateImmediately:
allOf:
- "$ref": "./link.yml"
- description : |-
Directly perform edits on a work package
# Conditions
**Permission**: edit work package
readOnly : true
- "$ref": "./link.yml"
- description : |-
Directly perform edits on a work package
# Conditions
**Permission**: edit work package
readOnly : true
watch:
allOf:
- "$ref": "./link.yml"
- description : |-
Add current user to WP watchers
# Conditions
logged in; not watching
readOnly : true
- "$ref": "./link.yml"
- description : |-
Add current user to WP watchers
# Conditions
logged in; not watching
readOnly : true
self:
allOf:
- "$ref": "./link.yml"
- description : |-
This work package
**Resource**: WorkPackage
readOnly : true
- "$ref": "./link.yml"
- description : |-
This work package
**Resource**: WorkPackage
readOnly : true
schema:
allOf:
- "$ref": "./link.yml"
- description : |-
The schema of this work package
**Resource**: Schema
readOnly : true
- "$ref": "./link.yml"
- description : |-
The schema of this work package
**Resource**: Schema
readOnly : true
ancestors:
allOf:
- "$ref": "./link.yml"
- description : |-
Array of all visible ancestors of the work package, with the root node being the first element
**Resource**: Collection
# Conditions
**Permission** view work packages
readOnly : true
- "$ref": "./link.yml"
- description : |-
Array of all visible ancestors of the work package, with the root node being the first element
**Resource**: Collection
# Conditions
**Permission** view work packages
readOnly : true
attachments:
allOf:
- "$ref": "./link.yml"
- description : |-
The files attached to this work package
**Resource**: Collection
- "$ref": "./link.yml"
- description : |-
The files attached to this work package
**Resource**: Collection
author:
allOf:
- "$ref": "./link.yml"
- description : |-
The person that created the work package
**Resource**: User
readOnly : true
- "$ref": "./link.yml"
- description : |-
The person that created the work package
**Resource**: User
readOnly : true
assignee:
allOf:
- "$ref": "./link.yml"
- description : |-
The person that is intended to work on the work package
**Resource**: User
- "$ref": "./link.yml"
- description : |-
The person that is intended to work on the work package
**Resource**: User
availableWatchers:
allOf:
- "$ref": "./link.yml"
- description : |-
All users that can be added to the work package as watchers.
**Resource**: User
# Conditions
**Permission** add work package watchers
readOnly : true
- "$ref": "./link.yml"
- description : |-
All users that can be added to the work package as watchers.
**Resource**: User
# Conditions
**Permission** add work package watchers
readOnly : true
budget:
allOf:
- "$ref": "./link.yml"
- description : |-
The budget this work package is associated to
**Resource**: Budget
# Conditions
**Permission** view cost objects
- "$ref": "./link.yml"
- description : |-
The budget this work package is associated to
**Resource**: Budget
# Conditions
**Permission** view cost objects
category:
allOf:
- "$ref": "./link.yml"
- description : |-
The category of the work package
**Resource**: Category
- "$ref": "./link.yml"
- description : |-
The category of the work package
**Resource**: Category
children:
allOf:
- "$ref": "./link.yml"
- description : |-
Array of all visible children of the work package
**Resource**: Collection
# Conditions
**Permission** view work packages
readOnly : true
- "$ref": "./link.yml"
- description : |-
Array of all visible children of the work package
**Resource**: Collection
# Conditions
**Permission** view work packages
readOnly : true
parent:
allOf:
- "$ref": "./link.yml"
- description : |-
Parent work package
**Resource**: WorkPackage
- "$ref": "./link.yml"
- description : |-
Parent work package
**Resource**: WorkPackage
priority:
allOf:
- "$ref": "./link.yml"
- description : |-
The priority of the work package
**Resource**: Priority
- "$ref": "./link.yml"
- description : |-
The priority of the work package
**Resource**: Priority
project:
allOf:
- "$ref": "./link.yml"
- description : |-
The project to which the work package belongs
**Resource**: Project
- "$ref": "./link.yml"
- description : |-
The project to which the work package belongs
**Resource**: Project
responsible:
allOf:
- "$ref": "./link.yml"
- description : |-
The person that is responsible for the overall outcome
**Resource**: User
- "$ref": "./link.yml"
- description : |-
The person that is responsible for the overall outcome
**Resource**: User
relations:
allOf:
- "$ref": "./link.yml"
- description : |-
Relations this work package is involved in
**Resource**: Relation
# Conditions
**Permission** view work packages
readOnly : true
- "$ref": "./link.yml"
- description : |-
Relations this work package is involved in
**Resource**: Relation
# Conditions
**Permission** view work packages
readOnly : true
revisions:
allOf:
- "$ref": "./link.yml"
- description : |-
Revisions that are referencing the work package
**Resource**: Revision
# Conditions
**Permission** view changesets
readOnly : true
- "$ref": "./link.yml"
- description : |-
Revisions that are referencing the work package
**Resource**: Revision
# Conditions
**Permission** view changesets
readOnly : true
status:
allOf:
- "$ref": "./link.yml"
- description : |-
The current status of the work package
**Resource**: Status
- "$ref": "./link.yml"
- description : |-
The current status of the work package
**Resource**: Status
timeEntries:
allOf:
- "$ref": "./link.yml"
- description : |-
All time entries logged on the work package. Please note that this is a link to an HTML resource for now and as such, the link is subject to change.
**Resource**: N /A
# Conditions
**Permission** view time entries
readOnly : true
- "$ref": "./link.yml"
- description : |-
All time entries logged on the work package. Please note that this is a link to an HTML resource for now and as such, the link is subject to change.
**Resource**: N /A
# Conditions
**Permission** view time entries
readOnly : true
type:
allOf:
- "$ref": "./link.yml"
- description : |-
The type of the work package
**Resource**: Type
- "$ref": "./link.yml"
- description : |-
The type of the work package
**Resource**: Type
version:
allOf:
- "$ref": "./link.yml"
- description : |-
The version associated to the work package
**Resource**: Version
- "$ref": "./link.yml"
- description : |-
The version associated to the work package
**Resource**: Version
watchers:
allOf:
- "$ref": "./link.yml"
- description : |-
All users that are currently watching this work package
**Resource**: Collection
# Conditions
**Permission** view work package watchers
readOnly : true
- "$ref": "./link.yml"
- description : |-
All users that are currently watching this work package
**Resource**: Collection
# Conditions
**Permission** view work package watchers
readOnly : true
example:
_type : WorkPackage
_links:
@ -426,12 +426,12 @@ example:
href : "/api/v3/users/1"
title : OpenProject Admin - admin
customActions:
- href : "/api/v3/work_packages/1528/custom_actions/153/execute"
method : post
title : Reset
- href : "/api/v3/work_packages/1528/custom_actions/94/execute"
method : post
title : Forward to accounting
- href : "/api/v3/work_packages/1528/custom_actions/153/execute"
method : post
title : Reset
- href : "/api/v3/work_packages/1528/custom_actions/94/execute"
method : post
title : Forward to accounting
responsible:
href : "/api/v3/users/23"
title : Laron Leuschke - Alaina5788
@ -496,15 +496,15 @@ example:
href : "/api/v3/categories/1298"
title : eligend isi
children:
- href : "/api/v3/work_packages/1529"
title : Write API documentation
- href : "/api/v3/work_packages/1529"
title : Write API documentation
ancestors:
- href : "/api/v3/work_packages/1290"
title : Root node of hierarchy
- href : "/api/v3/work_packages/1291"
title : Intermediate node of hierarchy
- href : "/api/v3/work_packages/1298"
title : nisi eligendi officiis eos delectus quis voluptas dolores
- href : "/api/v3/work_packages/1290"
title : Root node of hierarchy
- href : "/api/v3/work_packages/1291"
title : Intermediate node of hierarchy
- href : "/api/v3/work_packages/1298"
title : nisi eligendi officiis eos delectus quis voluptas dolores
timeEntries:
href : "/work_packages/1528/time_entries"
type : text/html
@ -520,10 +520,10 @@ example:
raw : Develop super cool OpenProject API.
html : "<p>Develop super cool OpenProject API.</p>"
scheduleManually : false
startDate :
dueDate :
derivedStartDate :
derivedDueDate :
startDate:
dueDate:
derivedStartDate:
derivedDueDate:
estimatedTime : PT2H
derivedEstimatedTime : PT10H
percentageDone : 0