Create an approval.
Documentation Index
Fetch the complete documentation index at: https://kosli-mintlify-f3f70bb3.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Create approval for an artifact.
The sha256 fingerprint of the artifact that is approved
^[a-f0-9]{64}$Description for the approval
^[a-f0-9]{40}$Environment the approval is valid for
The oldest commit
^[a-f0-9]{40}$List of approvals
Successful Response
Create approval for an artifact.
{
"approvals": [
{
"approval_url": "https://example.com",
"approved_by": "bob",
"comment": "I like this",
"state": "APPROVED"
}
],
"artifact_fingerprint": "73d75bf7cac2f24845deeb51e05babd2514e91eb4fdd2352fbc2fcf267ff21fb",
"description": "Approved since it is good",
"environment": "production",
"oldest_commit": "7e8a2cc65e4679bb7bea3605f9245f2214aad585",
"src_commit_list": [
"602ed54b6dec955d348201fa411faa3f92dc8bc7",
"af2705a9da720cbf1b166c668d5ed17fa371af0d"
]
}