Chelabase
ManagementBranches

Acknowledge a branch's review

POST
/v1/databases/{id}/branches/{branch_id}/review/acknowledge

Stores the current review as acknowledged: its hash becomes the branch's review_acknowledged_hash, and its items stop being new. hash must be the current review's.

Authorization

bearer
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Database id

Formatuuid
branch_id*string

Branch id

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST …/review/acknowledge.

hash*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08/branches/497f6eca-6276-4993-bfeb-53cbbbba6f08/review/acknowledge" \  -H "Content-Type: application/json" \  -d '{    "hash": "string"  }'
{  "acknowledged_hash": "string",  "hash": "string",  "items": [    {      "database": "string",      "digest": "string",      "function": "string",      "identity": "string",      "key": "string",      "kind": "function",      "name": "string",      "new": true,      "opaque_body": true,      "owner": "string",      "reasons": [        {          "kind": "security_definer",          "via": "string"        }      ],      "schema": "string"    }  ]}