Inspect visible locations without changing ownership or execution context

GET/v1/resource-locations/{resourceType}/{resourceId}

Organization-scoped PostgreSQL control plane. Requires resources:read plus resource and destination authorization. No execution or credential grant. Inaccessible resources return 404; stale previews return 409; unavailable storage returns 503.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
resourceTypepathstringYes
resourceIdpathstringYes
Query parameters
None.

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Authorized Locations result. Only visible rows are returned; continue nextCursor even after an empty page.application/json
FieldTypeRequiredDescription
resourceobjectYes
resource.resourceTypestringYes
resource.resourceIdstringYes
revisionstringYes
locationsobject[]Yes
locations[].containerTypeproject | resource_packageYes
locations[].containerIdstringYes
locations[].accessreference | viewYesReference leaves access unchanged. View requires sharing authority and review. Packages require view.
locations[].idstringYesUnique identifier.
locations[].namestringYesHuman-readable name.
locations[].addedAtstringYes
locations[].directbooleanYes
locations[].canRemovebooleanYes
locations[].viaobjectNo
locations[].via.packageIdstringYes
locations[].via.packageNamestringYes
canEditbooleanYes
reasonstringNo
capabilitiesobjectYes
capabilities.projectsbooleanYes
capabilities.packagesbooleanYes
capabilities.shareViewbooleanYes
400Invalid input (400), authentication (401), denied action (403), unavailable resource (404), stale review or managed resource (409), internal failure (500), or PostgreSQL unavailable (503). No inaccessible resource identity is disclosed.application/json
FieldTypeRequiredDescription
errorstringYes
codestringNo
messagestringYesMessage text.
401Invalid input (400), authentication (401), denied action (403), unavailable resource (404), stale review or managed resource (409), internal failure (500), or PostgreSQL unavailable (503). No inaccessible resource identity is disclosed.application/json
FieldTypeRequiredDescription
errorstringYes
codestringNo
messagestringYesMessage text.
403Invalid input (400), authentication (401), denied action (403), unavailable resource (404), stale review or managed resource (409), internal failure (500), or PostgreSQL unavailable (503). No inaccessible resource identity is disclosed.application/json
FieldTypeRequiredDescription
errorstringYes
codestringNo
messagestringYesMessage text.
404Invalid input (400), authentication (401), denied action (403), unavailable resource (404), stale review or managed resource (409), internal failure (500), or PostgreSQL unavailable (503). No inaccessible resource identity is disclosed.application/json
FieldTypeRequiredDescription
errorstringYes
codestringNo
messagestringYesMessage text.
409Invalid input (400), authentication (401), denied action (403), unavailable resource (404), stale review or managed resource (409), internal failure (500), or PostgreSQL unavailable (503). No inaccessible resource identity is disclosed.application/json
FieldTypeRequiredDescription
errorstringYes
codestringNo
messagestringYesMessage text.
500Invalid input (400), authentication (401), denied action (403), unavailable resource (404), stale review or managed resource (409), internal failure (500), or PostgreSQL unavailable (503). No inaccessible resource identity is disclosed.application/json
FieldTypeRequiredDescription
errorstringYes
codestringNo
messagestringYesMessage text.
503Invalid input (400), authentication (401), denied action (403), unavailable resource (404), stale review or managed resource (409), internal failure (500), or PostgreSQL unavailable (503). No inaccessible resource identity is disclosed.application/json
FieldTypeRequiredDescription
errorstringYes
codestringNo
messagestringYesMessage text.
Inspect visible locations without changing ownership or execution context
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow