Read a resource at a commit
Read the identity and version of a resource at one immutable commit. When the commit does not exist, the response is CommitNotFound. When the resource is not live at the commit, the response is ResourceNotFound. You must have permission to read the project state.
bearerAuthAuthorizationBearer <token>project_id*stringOwning project identifier. Nonempty, at most 128 UTF-8 bytes, with no control characters. Project creation belongs to the project service.
commit_id*stringImmutable UUIDv7 project commit identity.
uuidresource_id*stringStable UUIDv4 identity allocated by a resource service.
uuidSuccess
application/json- response
descriptor*Immutable registration metadata. namespaceRoot, when present, is an owning resource root containing every binding. namespaceManaged declares producer-owned canonical bindings that cannot be renamed, removed, or aliased. False must be supplied explicitly.
versionId*catalog.VersionIdImmutable UUIDv7 resource version allocated by its owning service.
uuidcurl -X GET 'https://api.spiraldb.dev/api/catalog/projects/string/commits/497f6eca-6276-4993-bfeb-53cbbbba6f08/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "descriptor": { "kind": "string", "namespaceManaged": true, "namespaceRoot": "cfa7f0de-65e7-43ae-ae5e-e42145401b8a", "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6", "service": "string" }, "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7"}