Skip to navigation

Count objects per definition in a space

View as Markdown

Groups a space’s live (non-deleted) objects by definition — one row per definition that has at least one object in the space (backs the Data tab’s type list). Authorization: requires space:read on :spaceId — a caller who lacks it gets 404 (leak-guard, not 403). Definition ids are not joined against the definitions catalog; archived definitions with leftover objects still appear. Returns { counts: [{ definitionId, count }] }.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired

Response

Per-definition object counts.

countslist of objects

Errors

404
Not Found Error