Skip to content

Commit 1a77af2

Browse files
Update OpenAPI 3.1 Descriptions
1 parent 45124e4 commit 1a77af2

16 files changed

+1164
-0
lines changed

descriptions-next/api.github.com/api.github.com.2022-11-28.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12816,6 +12816,77 @@
1281612816
}
1281712817
}
1281812818
},
12819+
"/orgs/{org}/attestations/repositories": {
12820+
"get": {
12821+
"summary": "List attestation repositories",
12822+
"description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID",
12823+
"tags": [
12824+
"orgs"
12825+
],
12826+
"operationId": "orgs/list-attestation-repositories",
12827+
"externalDocs": {
12828+
"description": "API method documentation",
12829+
"url": "https://docs.github.com/rest/orgs/orgs#list-attestation-repositories"
12830+
},
12831+
"parameters": [
12832+
{
12833+
"$ref": "#/components/parameters/per-page"
12834+
},
12835+
{
12836+
"$ref": "#/components/parameters/pagination-before"
12837+
},
12838+
{
12839+
"$ref": "#/components/parameters/pagination-after"
12840+
},
12841+
{
12842+
"$ref": "#/components/parameters/org"
12843+
},
12844+
{
12845+
"name": "predicate_type",
12846+
"description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.",
12847+
"in": "query",
12848+
"required": false,
12849+
"schema": {
12850+
"type": "string"
12851+
}
12852+
}
12853+
],
12854+
"responses": {
12855+
"200": {
12856+
"description": "Response",
12857+
"content": {
12858+
"application/json": {
12859+
"schema": {
12860+
"type": "array",
12861+
"items": {
12862+
"type": "object",
12863+
"properties": {
12864+
"id": {
12865+
"type": "integer"
12866+
},
12867+
"name": {
12868+
"type": "string"
12869+
}
12870+
}
12871+
}
12872+
},
12873+
"examples": {
12874+
"default": {
12875+
"$ref": "#/components/examples/list-attestation-repositories"
12876+
}
12877+
}
12878+
}
12879+
}
12880+
}
12881+
},
12882+
"x-github": {
12883+
"githubCloudOnly": false,
12884+
"enabledForGitHubApps": true,
12885+
"category": "orgs",
12886+
"subcategory": "orgs"
12887+
}
12888+
}
12889+
},
1281912890
"/orgs/{org}/attestations/{attestation_id}": {
1282012891
"delete": {
1282112892
"summary": "Delete attestations by ID",
@@ -291971,6 +292042,18 @@
291971292042
]
291972292043
}
291973292044
},
292045+
"list-attestation-repositories": {
292046+
"value": [
292047+
{
292048+
"id": 123,
292049+
"name": "foo"
292050+
},
292051+
{
292052+
"id": 456,
292053+
"name": "bar"
292054+
}
292055+
]
292056+
},
291974292057
"list-attestations": {
291975292058
"value": {
291976292059
"attestations": [

0 commit comments

Comments
 (0)