curl --request GET \
--url https://local.withsutro.com/applications/{applicationId}/models \
--header 'Authorization: Bearer <token>' \
--header 'x-sutro-api-client: <api-key>'{
"models": [
{
"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 \
--header 'Authorization: Bearer <token>' \
--header 'x-sutro-api-client: <api-key>'{
"models": [
{
"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
List of models for the application
Show child attributes
Was this page helpful?