|
12816 | 12816 | } |
12817 | 12817 | } |
12818 | 12818 | }, |
| 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 | + }, |
12819 | 12890 | "/orgs/{org}/attestations/{attestation_id}": { |
12820 | 12891 | "delete": { |
12821 | 12892 | "summary": "Delete attestations by ID", |
@@ -291971,6 +292042,18 @@ |
291971 | 292042 | ] |
291972 | 292043 | } |
291973 | 292044 | }, |
| 292045 | + "list-attestation-repositories": { |
| 292046 | + "value": [ |
| 292047 | + { |
| 292048 | + "id": 123, |
| 292049 | + "name": "foo" |
| 292050 | + }, |
| 292051 | + { |
| 292052 | + "id": 456, |
| 292053 | + "name": "bar" |
| 292054 | + } |
| 292055 | + ] |
| 292056 | + }, |
291974 | 292057 | "list-attestations": { |
291975 | 292058 | "value": { |
291976 | 292059 | "attestations": [ |
|
0 commit comments