get_rediscovery
const url = 'https://example.com/api/v1/nodes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rediscover/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/nodes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rediscover/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Node id
The id POST …/rediscover returned
Responses
Section titled “Responses”Where the re-read is, and — once the device answered — the node beside what it now says
What Nodes ▸ Rediscover shows.
object
Present exactly when state is answered.
object
A vendor or model row. found is null when nothing could be derived — Apply never blanks the
node’s value.
object
How one row of the comparison reads.
The profile row. found_id is chosen by the classification rules from the device’s
sysObjectID; with no sysObjectID no profile is proposed (undetermined).
object
The rule that chose found_id; null ⇒ the device fell through to “Generic SNMP”, or no
profile was suggested at all (the device gave no sysObjectID).
How one row of the comparison reads.
A person fixed this node’s profile (ADR-140); the profile row reads locked when it differs.
What the device reported. Apply stores the first two with the accepted changes.
A vendor or model row. found is null when nothing could be derived — Apply never blanks the
node’s value.
object
How one row of the comparison reads.
waiting and reading say nothing about the device yet — never “nothing changed”.
Example
{ "comparison": { "model": { "verdict": "same" }, "profile": { "verdict": "same" }, "vendor": { "verdict": "same" } }, "state": "waiting"}No valid bearer token
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Role lacks ManageConfig
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}No such device node the caller can see, or (scan_not_found) no such rediscovery of this node on this core
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}This deployment has no write side (skeleton mode)
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}