Skip to content

The caller's answering setting: whether its transfers and reservations are answered with their decision, and the wait (REQ-CS-9).

GET
/v1/principals/self/answering
curl --request GET \
--url https://example.com/v1/principals/self/answering \
--header 'Authorization: Bearer <token>'

The caller’s answering setting as it now stands (REQ-CS-9).

Media typeapplication/json

A principal’s answering setting, as it stands (REQ-CS-9).

object
answer
required
One of:

Acknowledged at Received; the decision follows by notification and query. The default.

string
Allowed value: acknowledged
principal
required

The principal it applies to.

string
set_at

When it was set. Absent for the default.

integer | null format: uint64
set_by

Who set it. Absent for the default, which nobody set.

string | null
wait_ms
required

How long a decided reply waits for the decision, in milliseconds.

integer format: uint64
Example
{
"answer": "acknowledged"
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}
Retry-After
integer

On ERR-DecisionUnavailable (503): seconds to wait before retrying with the same client key (DEC-27 (g)).