Read the publish capability catalog with GET /api/v1/capabilities. Requires an API key with the read scope or a signed-in user.
Request
Derived from the code-owned provider catalog. Returns providers, account kinds, per-placement media rules, required scopes, and documented limits. Read this once instead of learning a rule from a failed post.
Response
- HTTP 200:
PublishCapabilitieswithproviders,accountKinds,media,limits.
The OpenAPI document has each field’s type.
Examples
const rules = await workspace.capabilities.get();rules = workspace.capabilities.get()curl "https://pubnio.com/api/v1/capabilities" \
-H "Authorization: Bearer $PUBNIO_API_KEY"pnio capabilities getasync () => {
const response = await codemode.request({
method: "GET",
path: "/api/v1/capabilities",
});
return response.data;
};Errors
It declares no problem of its own.
It declares the problems most operations declare.
Idempotency
None needed: a read is safe to retry.
Limits
- Field lengths and ranges are in the OpenAPI document.