Skip to content

Commit

Permalink
feat: POST /repos/{owner}/{repo}/dependency-graph/snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Jun 20, 2022
1 parent 58766c2 commit bcbf0a1
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"description": "Shared TypeScript definitions for Octokit projects",
"dependencies": {
"@octokit/openapi-types": "^12.1.0"
"@octokit/openapi-types": "^12.2.0"
},
"scripts": {
"build": "pika build",
Expand Down Expand Up @@ -96,7 +96,7 @@
]
},
"octokit": {
"openapi-version": "5.12.0"
"openapi-version": "5.13.0"
},
"renovate": {
"extends": [
Expand Down
93 changes: 93 additions & 0 deletions scripts/update-endpoints/generated/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -4613,6 +4613,99 @@
"previews": [],
"renamed": null
},
{
"method": "POST",
"url": "/repos/{owner}/{repo}/dependency-graph/snapshots",
"documentationUrl": "https://docs.github.com/rest/reference/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository",
"parameters": [
{ "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
{ "alias": null, "deprecated": null, "in": "PATH", "name": "repo" },
{ "alias": null, "deprecated": null, "in": "BODY", "name": "version" },
{ "alias": null, "deprecated": null, "in": "BODY", "name": "job" },
{ "alias": null, "deprecated": null, "in": "BODY", "name": "job.id" },
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "job.correlator"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "job.html_url"
},
{ "alias": null, "deprecated": null, "in": "BODY", "name": "sha" },
{ "alias": null, "deprecated": null, "in": "BODY", "name": "ref" },
{ "alias": null, "deprecated": null, "in": "BODY", "name": "detector" },
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "detector.name"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "detector.version"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "detector.url"
},
{ "alias": null, "deprecated": null, "in": "BODY", "name": "metadata" },
{ "alias": null, "deprecated": null, "in": "BODY", "name": "metadata.*" },
{ "alias": null, "deprecated": null, "in": "BODY", "name": "manifests" },
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "manifests.*"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "manifests.*.name"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "manifests.*.file"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "manifests.*.file.source_location"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "manifests.*.metadata"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "manifests.*.metadata.*"
},
{
"alias": null,
"deprecated": null,
"in": "BODY",
"name": "manifests.*.resolved"
},
{ "alias": null, "deprecated": null, "in": "BODY", "name": "scanned" }
],
"previews": [],
"renamed": null
},
{
"method": "GET",
"url": "/repos/{owner}/{repo}/dependency-graph/compare/{basehead}",
Expand Down
7 changes: 7 additions & 0 deletions src/generated/Endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4725,6 +4725,13 @@ export interface Endpoints {
"/repos/{owner}/{repo}/commits/{commit_sha}/comments",
"post"
>;
/**
* @see https://docs.github.com/rest/reference/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository
*/
"POST /repos/{owner}/{repo}/dependency-graph/snapshots": Operation<
"/repos/{owner}/{repo}/dependency-graph/snapshots",
"post"
>;
/**
* @see https://docs.github.com/rest/reference/repos#create-a-deployment
*/
Expand Down

0 comments on commit bcbf0a1

Please sign in to comment.