Skip to content

Resource.get

GET /{namespace}/resources/{id}

Returns one Resource by id.

Mode
read

Get returns one Resource by id. It is inherited: every Noun has get, list, create, update and delete.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Resource.
atstringA time or Version name: the record as it stood then. Unset: as it stands now.

Outputs

OutputTypeRequiredDescription
resourceResourcerequiredThe Resource.

Effects

FactValue
Action classNone: a read
Modestry, do (default): a read runs at once
IdempotentYes: a read changes nothing
UndoNothing to undo: a read changes nothing
EmitsNo Event: a read changes nothing

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

When it waits

Never: a read runs at once.