Skip to main content

Get schema for object

GET 

/:api_prefix/:service_name/admin/:resource_name/:record_pk/schema

Returns schema of the resource detail. The schema has tree parts:

  • views - list of views that can be used for the resource. But only views for detail resource (with object pk) are returned.
  • actions - list of actions that can be used for the resource. But only actions for detail resource (with object pk) are returned.
  • endpoints - map of endpoints that can be used for the resource according to HTTP method. Every endpoint contains schema of fields and filters which can be used for the endpoint. Only endpoints that are supported by the detail resource (with pk) are returned.

Request​

Responses​

Resource detail schema response.