List authorized direct and derived Project or Package resources

GET/v1/resource-locations/contents/{containerType}/{containerId}

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
containerTypepathproject | resource_packageYes
containerIdpathstringYes
Query parameters
NameLocationTypeRequiredDescription
resourceTypequerystringNo
cursorquerystringNoOpaque continuation bound to organization, container and filter. Can follow an empty page.
limitqueryintegerNo

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
dataobject[]Yes
data[].resourceTypestringYes
data[].resourceIdstringYes
data[].namestringYesHuman-readable name.
data[].descriptionstringYesHuman-readable description.
data[].kindstringYes
data[].creatorIdstringYes
data[].createdAtstringYesISO 8601 timestamp.
data[].updatedAtstringYesISO 8601 timestamp.
data[].locationsobject[]Yes
data[].locations[].containerTypeproject | resource_packageYes
data[].locations[].containerIdstringYes
data[].locations[].accessreference | viewYesReference leaves access unchanged. View requires sharing authority and review. Packages require view.
data[].locations[].idstringYesUnique identifier.
data[].locations[].namestringYesHuman-readable name.
data[].locations[].addedAtstringYes
data[].locations[].directbooleanYes
data[].locations[].canRemovebooleanYes
data[].locations[].viaobjectNo
data[].locations[].via.packageIdstringYes
data[].locations[].via.packageNamestringYes
nextCursorstringYes
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.
List authorized direct and derived Project or Package resources
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow