Resolve namespace paths
POST
Resolve a batch of namespace paths at one immutable commit. The response has one result for each path in the request. A request can have at most 1000 paths. You must have permission to read the project state.
bearerAuthheader
AuthorizationBearer <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.
Format
uuidapplication/json- body
Resolve 1 through 1000 absolute paths at one immutable commit, retaining request order and duplicate paths.
paths*array<array<>>Success
application/json- response
commitId*catalog.CommitIdImmutable UUIDv7 project commit identity.
Format
uuidresults*array<>curl -X POST 'https://api.spiraldb.dev/api/catalog/projects/string/commits/497f6eca-6276-4993-bfeb-53cbbbba6f08/namespace/resolve-batch' \ -H 'Content-Type: application/json' \ -d '{ "paths": [ [ "string" ] ]}'{ "commitId": "a1b223ee-0195-4e35-9b2a-72c93f345117", "results": [ { "path": [ "string" ], "resource": { "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" } } ]}