Move a folder
Changed onMoves a folder — and all of its task lists and tasks — to a different project. Provide the target project_id.
When the target project uses a different workflow than the source, a map of workflow status IDs is required: keys are the source workflow's status IDs, values are the target workflow's status IDs. The map must cover every status in the source workflow.
Tasks are reassigned to the target project and their statuses remapped accordingly. Assignees and subscribers who are not members of the target project are removed from the moved tasks.
{
"data": {
"type": "folders",
"attributes": {
"project_id": 31055,
"map": { "101": 205, "102": 206, "103": 207 }
}
}
}
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/folders/{id}/move
- Authnone declared
Path parameters
The numeric ID of the folder.
Request body
Example request
{
"data": {
"type": "folders",
"attributes": {
"project_id": 31055,
"map": {
"101": 205,
"102": 206,
"103": 207
}
}
}
}Response
A single folder resource response.
Example response
{
"data": {
"id": "5522",
"type": "folders",
"attributes": {
"name": "Features",
"position": 1,
"placement": 1000000,
"archived_at": null,
"hidden": false
},
"relationships": {
"project": {
"data": {
"type": "projects",
"id": "6899"
}
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
the
//response's property type changed fromstringto no type, and format fromdate-timeto no format for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - warning
deleted the
headerrequest parameterX-Organization-Id - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status
This list may be incomplete.
- breaking