reposCreateAttestation
Create an attestation
POST /repos/{owner}/{repo}/attestations HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"bundle": {
"description": "The attestation's Sigstore Bundle.\nRefer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information.",
"required": true,
"location": "body",
"type": "object"
}
}Response Schema
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The ID of the attestation."
}
}
}