Reposition a folder
Changed onReorders a folder among the other folders in its project. Pass move_before_id and/or move_after_id — the IDs of the folders to position it relative to. When both are provided, the folder is placed between them.
{
"data": {
"type": "folders",
"attributes": { "move_after_id": 5521 }
}
}
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}/reposition
- Authnone declared
Path parameters
The numeric ID of the folder.
Request body
Example request
{
"data": {
"type": "folders",
"attributes": {
"move_after_id": 5521
}
}
}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
- 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
- info
added the non-success response with the status
- info
- 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