Move a request on the roadmap
PUThttps://app.notert.io/api/v1/requests/{id}/roadmap-position
Moves a request's card on the roadmap as the team drags it: to the top of a column, or right after another request GET /roadmap lists there, in its own column to reorder it or in another to change its status too. A new column tells the request's followers and emails the person it is from, as a status change does. Its sub-requests keep their own statuses; in the completed column, the answer says how many of them on boards the token reaches are still open, so you can move those too. Sending the same move again leaves it in the same place and tells no one twice. A request merged into another, removed by a moderator or on a board the token doesn't reach is NOT_FOUND, and a request to follow that isn't a card in that column is CONFLICT.
A token with requests:manage. How to send one
Request
curl -X PUT https://app.notert.io/api/v1/requests/8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40/roadmap-position \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"status": "planned",
"afterId": "5b1e9d3a-7c2f-4a6e-8d0b-3f5a7c9e1b24"
}'Response 200
{
"id": "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40",
"status": "planned",
"openSubRequests": 2
}Path parameters
idstringRequiredThe request's id. Where an endpoint takes one, its key as its page shows it, such as REQ-44, works too.
At most 64 characters.
Body
statusstringRequiredThe column to put it in, by its status: planned, in_progress or completed. Its own column reorders it there.
One ofplannedin_progresscompletedafterIdstring or nullThe request it goes right after, a card GET /roadmap lists in that column. Null or left out, it goes to the top.
At most 64 characters.
Response 200
idstringThe request's id. Where an endpoint takes one, its key as its page shows it, such as REQ-44, works too.
statusstringThe column the request is in now.
One ofplannedin_progresscompletedopenSubRequestsintegerSet once it is completed or closed: how many of its sub-requests are still open, which keep their own statuses. Left out when it couldn't be read just now; the move stands either way.
Errors
- 400
BAD_REQUESTInput validation failed. - 400
FOLLOWS_ITSELFA request can't follow itself. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't change or delete requests, their status or their place on the roadmap. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 403
NO_SEATThis workspace's plan has no seat for you. - 403
WORKSPACE_SUSPENDEDThis workspace is suspended. - 404
NOT_FOUNDNot Found. - 409
CHANGED_MEANWHILESomething changed meanwhile. Try again. - 409
CONFLICTafterId isn't a card in that column. Read the column with GET /roadmap and name one there, or send null to put it at the top. - 409
MERGEDThe request was merged into another, which holds its votes, comments and status now. Send this to that one. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.