Register a new node
Adds a new local or remote node. Only one local node is allowed per instance; attempting to create a second local node returns 409. Remote nodes require an API URL pointing to another Sencho instance and an API token for authentication. Requires node:manage permission. Node type is immutable after creation.
Note: API tokens cannot manage nodes.
Request body
Example request
{
"name": "production-server",
"api_url": "https://sencho.example.com:1852"
}Response
Node created.
Changes
Changed in 2 of the 36 revisions of this API.48
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status403response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status409response-property-enum-value-removed
- ○
removed the
ADMIRAL_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ○
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status403response-property-enum-value-added
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status409response-property-enum-value-added
- ●
added the new
PAID_REQUIREDenum value to thecoderesponse property for the response status500response-property-enum-value-added
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status403response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status409response-property-enum-value-removed
- ○
removed the
PRO_REQUIREDenum value from thecoderesponse property for the response status500response-property-enum-value-removed
- ●