Authorization: Bearer ********************
{
"action":"request_approval",
"notes":"This is checklist approval request"
}
curl --location --request PUT 'https://preprod.api.crego.io/v1/rego/checklists/1e9bcd1a-341f-43e6-92fb-e6fcb094094a/items/0/' \
--header 'Content-Type: application/json' \
--data-raw '{
"action":"request_approval",
"notes":"This is checklist approval request"
}'
{
"id": "string",
"created_at": "string",
"updated_at": "string",
"runner": "string",
"stage": "string",
"template": "string",
"status": "string",
"items": [
{
"title": "string",
"description": "string",
"status": "string",
"required": true,
"checked_by": "string",
"checked_at": "string",
"notes": "string",
"approval_request_id": "string",
"auto_check_result": {
"result": {
"result": true,
"log": [
{
"op": "string",
"input": [
"string"
],
"output": true,
"desc": "string"
}
],
"desc": "string"
},
"timestamp": "string"
}
}
],
"progress": {
"total": 0,
"completed": 0,
"passed": 0,
"failed": 0,
"pending": 0
},
"can_proceed": true
}