|
83 | 83 | },
|
84 | 84 | {
|
85 | 85 | "method": "POST",
|
86 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/variables", |
| 86 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/variables", |
87 | 87 | "documentationUrl": "https://docs.github.com/rest/actions/variables#create-an-environment-variable",
|
88 | 88 | "parameters": [
|
89 |
| - { |
90 |
| - "alias": null, |
91 |
| - "deprecated": null, |
92 |
| - "in": "PATH", |
93 |
| - "name": "repository_id" |
94 |
| - }, |
| 89 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 90 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
95 | 91 | {
|
96 | 92 | "alias": null,
|
97 | 93 | "deprecated": null,
|
|
105 | 101 | },
|
106 | 102 | {
|
107 | 103 | "method": "PUT",
|
108 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", |
| 104 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", |
109 | 105 | "documentationUrl": "https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret",
|
110 | 106 | "parameters": [
|
111 |
| - { |
112 |
| - "alias": null, |
113 |
| - "deprecated": null, |
114 |
| - "in": "PATH", |
115 |
| - "name": "repository_id" |
116 |
| - }, |
| 107 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 108 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
117 | 109 | {
|
118 | 110 | "alias": null,
|
119 | 111 | "deprecated": null,
|
|
311 | 303 | },
|
312 | 304 | {
|
313 | 305 | "method": "DELETE",
|
314 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", |
| 306 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", |
315 | 307 | "documentationUrl": "https://docs.github.com/rest/actions/secrets#delete-an-environment-secret",
|
316 | 308 | "parameters": [
|
317 |
| - { |
318 |
| - "alias": null, |
319 |
| - "deprecated": null, |
320 |
| - "in": "PATH", |
321 |
| - "name": "repository_id" |
322 |
| - }, |
| 309 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 310 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
323 | 311 | {
|
324 | 312 | "alias": null,
|
325 | 313 | "deprecated": null,
|
|
332 | 320 | },
|
333 | 321 | {
|
334 | 322 | "method": "DELETE",
|
335 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", |
| 323 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", |
336 | 324 | "documentationUrl": "https://docs.github.com/rest/actions/variables#delete-an-environment-variable",
|
337 | 325 | "parameters": [
|
338 |
| - { |
339 |
| - "alias": null, |
340 |
| - "deprecated": null, |
341 |
| - "in": "PATH", |
342 |
| - "name": "repository_id" |
343 |
| - }, |
| 326 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 327 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
344 | 328 | { "alias": null, "deprecated": null, "in": "PATH", "name": "name" },
|
345 | 329 | {
|
346 | 330 | "alias": null,
|
|
685 | 669 | },
|
686 | 670 | {
|
687 | 671 | "method": "GET",
|
688 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", |
| 672 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", |
689 | 673 | "documentationUrl": "https://docs.github.com/rest/actions/secrets#get-an-environment-public-key",
|
690 | 674 | "parameters": [
|
691 |
| - { |
692 |
| - "alias": null, |
693 |
| - "deprecated": null, |
694 |
| - "in": "PATH", |
695 |
| - "name": "repository_id" |
696 |
| - }, |
| 675 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 676 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
697 | 677 | {
|
698 | 678 | "alias": null,
|
699 | 679 | "deprecated": null,
|
|
705 | 685 | },
|
706 | 686 | {
|
707 | 687 | "method": "GET",
|
708 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", |
| 688 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", |
709 | 689 | "documentationUrl": "https://docs.github.com/rest/actions/secrets#get-an-environment-secret",
|
710 | 690 | "parameters": [
|
711 |
| - { |
712 |
| - "alias": null, |
713 |
| - "deprecated": null, |
714 |
| - "in": "PATH", |
715 |
| - "name": "repository_id" |
716 |
| - }, |
| 691 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 692 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
717 | 693 | {
|
718 | 694 | "alias": null,
|
719 | 695 | "deprecated": null,
|
|
726 | 702 | },
|
727 | 703 | {
|
728 | 704 | "method": "GET",
|
729 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", |
| 705 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", |
730 | 706 | "documentationUrl": "https://docs.github.com/rest/actions/variables#get-an-environment-variable",
|
731 | 707 | "parameters": [
|
732 |
| - { |
733 |
| - "alias": null, |
734 |
| - "deprecated": null, |
735 |
| - "in": "PATH", |
736 |
| - "name": "repository_id" |
737 |
| - }, |
| 708 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 709 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
738 | 710 | {
|
739 | 711 | "alias": null,
|
740 | 712 | "deprecated": null,
|
|
1006 | 978 | },
|
1007 | 979 | {
|
1008 | 980 | "method": "GET",
|
1009 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/secrets", |
| 981 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", |
1010 | 982 | "documentationUrl": "https://docs.github.com/rest/actions/secrets#list-environment-secrets",
|
1011 | 983 | "parameters": [
|
1012 |
| - { |
1013 |
| - "alias": null, |
1014 |
| - "deprecated": null, |
1015 |
| - "in": "PATH", |
1016 |
| - "name": "repository_id" |
1017 |
| - }, |
| 984 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 985 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
1018 | 986 | {
|
1019 | 987 | "alias": null,
|
1020 | 988 | "deprecated": null,
|
|
1028 | 996 | },
|
1029 | 997 | {
|
1030 | 998 | "method": "GET",
|
1031 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/variables", |
| 999 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/variables", |
1032 | 1000 | "documentationUrl": "https://docs.github.com/rest/actions/variables#list-environment-variables",
|
1033 | 1001 | "parameters": [
|
1034 |
| - { |
1035 |
| - "alias": null, |
1036 |
| - "deprecated": null, |
1037 |
| - "in": "PATH", |
1038 |
| - "name": "repository_id" |
1039 |
| - }, |
| 1002 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 1003 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
1040 | 1004 | {
|
1041 | 1005 | "alias": null,
|
1042 | 1006 | "deprecated": null,
|
|
1761 | 1725 | },
|
1762 | 1726 | {
|
1763 | 1727 | "method": "PATCH",
|
1764 |
| - "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", |
| 1728 | + "url": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", |
1765 | 1729 | "documentationUrl": "https://docs.github.com/rest/actions/variables#update-an-environment-variable",
|
1766 | 1730 | "parameters": [
|
1767 |
| - { |
1768 |
| - "alias": null, |
1769 |
| - "deprecated": null, |
1770 |
| - "in": "PATH", |
1771 |
| - "name": "repository_id" |
1772 |
| - }, |
| 1731 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 1732 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
1773 | 1733 | { "alias": null, "deprecated": null, "in": "BODY", "name": "name" },
|
1774 | 1734 | {
|
1775 | 1735 | "alias": null,
|
|
6897 | 6857 | "documentationUrl": "https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository",
|
6898 | 6858 | "parameters": [
|
6899 | 6859 | { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" },
|
6900 |
| - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } |
| 6860 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, |
| 6861 | + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } |
6901 | 6862 | ],
|
6902 | 6863 | "renamed": null
|
6903 | 6864 | },
|
|
10656 | 10617 | ],
|
10657 | 10618 | "renamed": null
|
10658 | 10619 | },
|
| 10620 | + { |
| 10621 | + "method": "GET", |
| 10622 | + "url": "/repos/{owner}/{repo}/private-vulnerability-reporting", |
| 10623 | + "documentationUrl": "https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository", |
| 10624 | + "parameters": [ |
| 10625 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, |
| 10626 | + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } |
| 10627 | + ], |
| 10628 | + "renamed": null |
| 10629 | + }, |
10659 | 10630 | {
|
10660 | 10631 | "method": "GET",
|
10661 | 10632 | "url": "/repos/{owner}/{repo}/vulnerability-alerts",
|
|
0 commit comments