Get the assessor data model
get
https://{your_site_interface}/determinations-server/batch/12.2.26/policy-models/{policy-model-name}/data-model
This operation will provide details of the data model, including the named attributes and relationships, for the specified policy model
Request
Path Parameters
-
policy-model-name(required): string
Name of the policy model
Query Parameters
-
expand: string
Comma separated list of named resources to expand, or "all" to expand all
-
fields: string
Comma separated list of fields to be returned
-
links: string
Comma separated list of links to be returned, or "none" to omit links
There's no request body for this operation.
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The request was successfully completed.
Root Schema : dataModel
Type:
Show Source
object
-
properties: object
dataModelProperties
Additional Properties Allowed:
true
Nested Schema : dataModelProperties
Type:
object
Additional Properties Allowed:
true