actionsGetCustomOidcSubClaimForRepo
Get the customization template for an OIDC subject claim for a repository
GET /repos/{owner}/{repo}/actions/oidc/customization/sub 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"
}
}Response Schema
{
"title": "Actions OIDC subject customization for a repository",
"description": "Actions OIDC subject customization for a repository",
"type": "object",
"properties": {
"use_default": {
"description": "Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored.",
"type": "boolean"
},
"include_claim_keys": {
"description": "Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"use_default"
]
}