Content
Updated by Frank Michler about 7 years ago
In the Documentation on http://docs.openproject.org/apiv3-doc/\#work-packages
is the following imho incorrect example:
{
"lockVersion": 13,
"subject": "Lorem"
"parentId": "42"
}
Maybe this was true in an older version? In the current version (7.2.3) this doesn’t do anything.
## Correction:
If you want to change the parent id you need the following code:
{
"lockVersion": 13,
"_links": {"parent": {"href": "/api/v3/work_packages/42"}}
}
I’m not sure if this is the right place to report this. But I didn’t find information about where to report documentation errors. If there is another way intended to report - please tell me.
is the following imho incorrect example:
{
"lockVersion": 13,
"subject": "Lorem"
"parentId": "42"
}
Maybe this was true in an older version? In the current version (7.2.3) this doesn’t do anything.
## Correction:
If you want to change the parent id you need the following code:
{
"lockVersion": 13,
"_links": {"parent": {"href": "/api/v3/work_packages/42"}}
}
I’m not sure if this is the right place to report this. But I didn’t find information about where to report documentation errors. If there is another way intended to report - please tell me.