Skip to content

Commit db21561

Browse files
Update OpenAPI 3.0 Descriptions
1 parent 9110306 commit db21561

16 files changed

+1576
-0
lines changed

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

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10858,6 +10858,100 @@
1085810858
}
1085910859
}
1086010860
},
10861+
"/orgs/{org}/attestations/digest/{subject_digest}": {
10862+
"delete": {
10863+
"summary": "Delete attestations by subject digest",
10864+
"description": "Delete an artifact attestation by subject digest.",
10865+
"tags": [
10866+
"orgs"
10867+
],
10868+
"operationId": "orgs/delete-attestations-by-subject-digest",
10869+
"externalDocs": {
10870+
"description": "API method documentation",
10871+
"url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest"
10872+
},
10873+
"parameters": [
10874+
{
10875+
"$ref": "#/components/parameters/org"
10876+
},
10877+
{
10878+
"name": "subject_digest",
10879+
"description": "Subject Digest",
10880+
"in": "path",
10881+
"required": true,
10882+
"schema": {
10883+
"type": "string"
10884+
},
10885+
"x-multi-segment": true
10886+
}
10887+
],
10888+
"responses": {
10889+
"200": {
10890+
"description": "Response"
10891+
},
10892+
"204": {
10893+
"description": "Response"
10894+
},
10895+
"404": {
10896+
"$ref": "#/components/responses/not_found"
10897+
}
10898+
},
10899+
"x-github": {
10900+
"githubCloudOnly": false,
10901+
"enabledForGitHubApps": true,
10902+
"category": "orgs",
10903+
"subcategory": "attestations"
10904+
}
10905+
}
10906+
},
10907+
"/orgs/{org}/attestations/{attestation_id}": {
10908+
"delete": {
10909+
"summary": "Delete attestations by ID",
10910+
"description": "Delete an artifact attestation by unique ID that is associated with a repository owned by an org.",
10911+
"tags": [
10912+
"orgs"
10913+
],
10914+
"operationId": "orgs/delete-attestations-by-id",
10915+
"externalDocs": {
10916+
"description": "API method documentation",
10917+
"url": "https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id"
10918+
},
10919+
"parameters": [
10920+
{
10921+
"$ref": "#/components/parameters/org"
10922+
},
10923+
{
10924+
"name": "attestation_id",
10925+
"description": "Attestation ID",
10926+
"in": "path",
10927+
"required": true,
10928+
"schema": {
10929+
"type": "integer"
10930+
}
10931+
}
10932+
],
10933+
"responses": {
10934+
"200": {
10935+
"description": "Response"
10936+
},
10937+
"204": {
10938+
"description": "Response"
10939+
},
10940+
"403": {
10941+
"$ref": "#/components/responses/forbidden"
10942+
},
10943+
"404": {
10944+
"$ref": "#/components/responses/not_found"
10945+
}
10946+
},
10947+
"x-github": {
10948+
"githubCloudOnly": false,
10949+
"enabledForGitHubApps": true,
10950+
"category": "orgs",
10951+
"subcategory": "attestations"
10952+
}
10953+
}
10954+
},
1086110955
"/orgs/{org}/attestations/{subject_digest}": {
1086210956
"get": {
1086310957
"summary": "List attestations",

descriptions/api.github.com/api.github.com.2022-11-28.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7892,6 +7892,70 @@ paths:
78927892
enabledForGitHubApps: true
78937893
category: orgs
78947894
subcategory: orgs
7895+
"/orgs/{org}/attestations/digest/{subject_digest}":
7896+
delete:
7897+
summary: Delete attestations by subject digest
7898+
description: Delete an artifact attestation by subject digest.
7899+
tags:
7900+
- orgs
7901+
operationId: orgs/delete-attestations-by-subject-digest
7902+
externalDocs:
7903+
description: API method documentation
7904+
url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest
7905+
parameters:
7906+
- "$ref": "#/components/parameters/org"
7907+
- name: subject_digest
7908+
description: Subject Digest
7909+
in: path
7910+
required: true
7911+
schema:
7912+
type: string
7913+
x-multi-segment: true
7914+
responses:
7915+
'200':
7916+
description: Response
7917+
'204':
7918+
description: Response
7919+
'404':
7920+
"$ref": "#/components/responses/not_found"
7921+
x-github:
7922+
githubCloudOnly: false
7923+
enabledForGitHubApps: true
7924+
category: orgs
7925+
subcategory: attestations
7926+
"/orgs/{org}/attestations/{attestation_id}":
7927+
delete:
7928+
summary: Delete attestations by ID
7929+
description: Delete an artifact attestation by unique ID that is associated
7930+
with a repository owned by an org.
7931+
tags:
7932+
- orgs
7933+
operationId: orgs/delete-attestations-by-id
7934+
externalDocs:
7935+
description: API method documentation
7936+
url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id
7937+
parameters:
7938+
- "$ref": "#/components/parameters/org"
7939+
- name: attestation_id
7940+
description: Attestation ID
7941+
in: path
7942+
required: true
7943+
schema:
7944+
type: integer
7945+
responses:
7946+
'200':
7947+
description: Response
7948+
'204':
7949+
description: Response
7950+
'403':
7951+
"$ref": "#/components/responses/forbidden"
7952+
'404':
7953+
"$ref": "#/components/responses/not_found"
7954+
x-github:
7955+
githubCloudOnly: false
7956+
enabledForGitHubApps: true
7957+
category: orgs
7958+
subcategory: attestations
78957959
"/orgs/{org}/attestations/{subject_digest}":
78967960
get:
78977961
summary: List attestations

0 commit comments

Comments
 (0)