Zum Inhalt springen
Leadtime
Deutsch
Esc
↑↓navigieren↵öffnen⌘Jvorschau

Move a project documentation node

Moves one page or folder relative to a validated destination neighbor. The server computes and saves the complete sibling order atomically.

POST/projects/documentation/{id}/move
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstring<uuid>required

Project documentation page or folder UUID. This parameter does not accept a project short identifier.

Request body
requiredapplication/json
afterNodeIdstring

Destination sibling that must precede the moved node. Omit both neighbors to move to the end.

beforeNodeIdstring

Destination sibling that must follow the moved node. Use beforeNodeId or afterNodeId, not both.

parentIdstring<uuid> | null

Destination folder ID. Omit or set null to move the node to the project root.

Responses
200
successbooleanrequired

Operation success flag

400

Invalid node identifier, parent, neighbor, page parent, cross-project move, or cycle.

errorstring | object

HTTP error name or a structured HTTP exception response.

Show properties
One of:
string
string
object
object
messagestring | string[] | objectrequired

Error message, validation message list, or request-field validation message map.

Show properties
One of:
string
string
string[]
Array of string
string
object
object
statusCodenumberrequired

HTTP status code for this response.

401

Unauthorized - Invalid or missing authentication token

403

Forbidden - Insufficient API scopes or permissions

404

The node or destination node does not exist or is not accessible.

errorstring | object

HTTP error name or a structured HTTP exception response.

Show properties
One of:
string
string
object
object
messagestring | string[] | objectrequired

Error message, validation message list, or request-field validation message map.

Show properties
One of:
string
string
string[]
Array of string
string
object
object
statusCodenumberrequired

HTTP status code for this response.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST "https://leadtime.app/api/public/projects/documentation/550e8400-e29b-41d4-a716-446655440000/move" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "afterNodeId": "string",
  "beforeNodeId": "string",
  "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43"
}'
Response
{
  "success": true
}