Skip to main content

Get schema for resource.

GET 

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

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

  • views - list of views that can be used for the resource. But only views for general purpose (without object pk) are returned.
  • actions - list of actions that can be used for the resource. But only actions for general purpose (without 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 list resource (without pk) are returned.

Request​

Responses​

Resource detail schema response.