Skip to content

Read the publish capability catalog

PubNio API capabilities.get: read the publish capability catalog. Request fields, examples in five clients, errors, and idempotency.

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: PublishCapabilities with providers, 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 get
async () => {
  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

Type to search…

↑↓ navigate↵ selectEsc close