Skip to content
Navigation

Count objects per definition in a space

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 }] }.

GET
https://api.cloudraker.com/spaces/{spaceId}/objects
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Returns

200

Per-definition object counts.

JSON
  • counts
    array of
    object
    required
    • definitionId
      string
      required
    • count
      number
      required

      Live (non-deleted) objects in the space.

404

Missing space:read.

Type to search…

↑↓ navigate↵ selectEsc close