Retrieve an asset ruleset
GET/rules/asset/:id
Retrieve an asset ruleset
Request
Path Parameters
id int64required
Header Parameters
Authorization string
X-Forwarded-Proto string
X-Forwarded-Host string
Responses
- default
default response
- application/json
- Schema
- Example (from schema)
Schema
id int64
version int64
createdOn date-time
lastModified date-time
name stringrequired
Possible values: >= 3 characters
and <= 255 characters
enabled boolean
rules string
lang stringrequired
Possible values: [JAVASCRIPT
, GROOVY
, JSON
, FLOW
]
meta
object
status string
Possible values: [READY
, DEPLOYED
, COMPILATION_ERROR
, VALIDITY_PERIOD_ERROR
, EXECUTION_ERROR
, LOOP_ERROR
, DISABLED
, PAUSED
, EXPIRED
, REMOVED
, EMPTY
]
error string
assetId string
accessPublicRead boolean
realm string
{
"id": 0,
"version": 0,
"createdOn": "2024-07-29T15:51:28.071Z",
"lastModified": "2024-07-29T15:51:28.071Z",
"name": "string",
"enabled": true,
"rules": "string",
"lang": "JAVASCRIPT",
"meta": {},
"status": "READY",
"error": "string",
"assetId": "string",
"accessPublicRead": true,
"realm": "string"
}
Loading...