Test your website performance for free
Test your website performance

Get an object

Fetches an object’s details.

Params

  • tenant_id – The ID of the tenant.
  • revision_id – The ID of the revision.
  • working_copy_id – The ID of the working copy.
  • obj_id – The ID of the CMS object.

Response

The details of the CMS object.

Examples

With binary objects, their blob would show up as:

Error codes

  • precondition_not_met.obj_not_found
  • precondition_not_met.revision_not_found
  • precondition_not_met.workspace_not_found

Remarks

  • Attributes are returned in the format "attr_name": attr_value. The names of internal attributes start with an underscore.
  • The _widget_pool attribute contains all the widgets used on a page. Attributes of the widgetlist type reference widgets in the _widget_pool.
  • The values of attributes referring to a user (e.g. _created_by) depend on the user management system involved.
  • The file name part of a blob’s id may include escaped characters. After unescaping, apply URL encoding: encodeURIComponent(unescape(id))