curl --request GET \
--url https://local.withsutro.com/applications/{applicationId}/models/{modelId} \
--header 'Authorization: Bearer <token>' \
--header 'x-sutro-api-client: <api-key>'{
"id": "<string>",
"name": "<string>",
"fields": [
{
"id": "<string>",
"name": "<string>",
"relationshipOwner": true,
"min": 123,
"max": 123,
"to": "<string>",
"accessControl": {
"rules": [
{
"access": "allow",
"criteria": "<string>"
}
],
"defaultAccess": "allow"
},
"computed": "<string>",
"defaultValue": "<unknown>",
"enum": [
"<string>"
]
}
],
"accessControl": {
"rules": [
{
"access": "allow",
"criteria": "<string>"
}
],
"defaultAccess": "allow"
}
}curl --request GET \
--url https://local.withsutro.com/applications/{applicationId}/models/{modelId} \
--header 'Authorization: Bearer <token>' \
--header 'x-sutro-api-client: <api-key>'{
"id": "<string>",
"name": "<string>",
"fields": [
{
"id": "<string>",
"name": "<string>",
"relationshipOwner": true,
"min": 123,
"max": 123,
"to": "<string>",
"accessControl": {
"rules": [
{
"access": "allow",
"criteria": "<string>"
}
],
"defaultAccess": "allow"
},
"computed": "<string>",
"defaultValue": "<unknown>",
"enum": [
"<string>"
]
}
],
"accessControl": {
"rules": [
{
"access": "allow",
"criteria": "<string>"
}
],
"defaultAccess": "allow"
}
}Builder authentication and authorization
A unique identifier for the API Client making a request
The requested model
The unique identifier for the model, e.g. urn:sutro:model:supportRequest. Must start with "urn:sutro:model:".
The name of the model, e.g. Support Request
"Support Request"
Show child attributes
Show child attributes
Was this page helpful?