Create Section Placement
/sections/{section_ref}/placements Repositions a canonical section and returns the updated section representation.
Conventions
Authentication
All endpoints require a Bearer token. Pass it in the Authorization header as Bearer <token>. Tokens are issued from the API settings page in your workspace.
Base URL
All paths are relative to https://api.allsign.app. The spec includes full paths; strip the base when constructing requests.
Versioning
The current version is 0.1.0. Breaking changes are documented in the Changelog and announced before taking effect.
Specification
The API follows OpenAPI Specification 3.x. All documentation on this page is generated directly from the spec.
Example
curl "https://api.allsign.app/sections/{section_ref}/placements" \-X POST \-H "Authorization: Bearer {token}" \-H "Content-Type: application/json" \--data-raw '{}'
Request
Request Path
section_refPublic section reference.
Request Body
{
"after_ref": "00000000-0000-4000-8000-000000000000",
"before_ref": "00000000-0000-4000-8000-000000000000",
"direction": "up",
"target_root": "",
"target_section_ref": "00000000-0000-4000-8000-000000000000"
}after_ref
before_ref
direction
target_root
target_section_ref
Responses
200 OK
Repositioned section representation.
{
"data": {
"section": {
"description": "",
"name": "",
"position": "",
"ref": "00000000-0000-4000-8000-000000000000",
"terms": [
{
"description": "",
"has_review_history": true,
"locked": true,
"name": "",
"negotiable": true,
"pending_counter_proposal": true,
"position": "",
"priority": "",
"ref": "00000000-0000-4000-8000-000000000000"
}
]
}
}
}data
data.sectionCanonical section resource.
data.section.description
data.section.name
data.section.position
data.section.refPublic stable resource reference.
data.section.terms
data.section.terms[].description
data.section.terms[].has_review_history
data.section.terms[].locked
data.section.terms[].name
data.section.terms[].negotiable
data.section.terms[].pending_counter_proposal
data.section.terms[].position
data.section.terms[].priority
data.section.terms[].refPublic stable resource reference.
400 Bad Request
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
401 Unauthorized
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
404 Not Found
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
422 Unprocessable Entity
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields