policies_dummy_list
GET/policies/dummy/
Dummy Viewset
Request
Query Parameters
created date-time
execution_logging boolean
last_updated date-time
name string
ordering string
Which field to use when ordering the results.
page integer
A page number within the paginated result set.
page_size integer
Number of results to return per page.
policy_uuid uuid
result boolean
search string
A search term.
wait_max integer
wait_min integer
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
pagination
object
required
next numberrequired
previous numberrequired
count numberrequired
current numberrequired
total_pages numberrequired
start_index numberrequired
end_index numberrequired
results
object[]
required
pk uuidrequired
name stringrequired
execution_logging boolean
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
component stringrequired
Get object component so that we know how to edit the object
verbose_name stringrequired
Return object's verbose_name
verbose_name_plural stringrequired
Return object's plural verbose_name
meta_model_name stringrequired
Return internal model name
bound_to integerrequired
Return objects policy is bound to
result boolean
wait_min integer
Possible values: >= -2147483648
and <= 2147483647
wait_max integer
Possible values: >= -2147483648
and <= 2147483647
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"execution_logging": true,
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"bound_to": 0,
"result": true,
"wait_min": 0,
"wait_max": 0
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...