From 3631d451dab254873110805a4a41949304201dcf Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Wed, 6 Mar 2024 06:47:11 -0500 Subject: [PATCH] Update OpenAPI Description (#49523) Co-authored-by: hubwriter --- .../fine-grained-pat-permissions.json | 40 ++-- .../data/fpt-2022-11-28/fine-grained-pat.json | 20 +- .../server-to-server-permissions.json | 40 ++-- .../fpt-2022-11-28/server-to-server-rest.json | 20 +- .../fpt-2022-11-28/user-to-server-rest.json | 20 +- .../fine-grained-pat-permissions.json | 40 ++-- .../ghec-2022-11-28/fine-grained-pat.json | 20 +- .../server-to-server-permissions.json | 40 ++-- .../server-to-server-rest.json | 20 +- .../ghec-2022-11-28/user-to-server-rest.json | 20 +- .../fine-grained-pat-permissions.json | 40 ++-- .../fine-grained-pat.json | 20 +- .../server-to-server-permissions.json | 40 ++-- .../server-to-server-rest.json | 20 +- .../user-to-server-rest.json | 20 +- .../fine-grained-pat-permissions.json | 40 ++-- .../fine-grained-pat.json | 20 +- .../server-to-server-permissions.json | 40 ++-- .../server-to-server-rest.json | 20 +- .../user-to-server-rest.json | 20 +- .../fine-grained-pat-permissions.json | 40 ++-- .../fine-grained-pat.json | 20 +- .../server-to-server-permissions.json | 40 ++-- .../server-to-server-rest.json | 20 +- .../user-to-server-rest.json | 20 +- .../fine-grained-pat-permissions.json | 40 ++-- .../data/ghes-3.8/fine-grained-pat.json | 20 +- .../server-to-server-permissions.json | 40 ++-- .../data/ghes-3.8/server-to-server-rest.json | 20 +- .../data/ghes-3.8/user-to-server-rest.json | 20 +- .../fine-grained-pat-permissions.json | 40 ++-- .../ghes-3.9-2022-11-28/fine-grained-pat.json | 20 +- .../server-to-server-permissions.json | 40 ++-- .../server-to-server-rest.json | 20 +- .../user-to-server-rest.json | 20 +- src/github-apps/lib/config.json | 2 +- src/rest/data/fpt-2022-11-28/schema.json | 203 +++++++++++++----- src/rest/data/ghec-2022-11-28/schema.json | 203 +++++++++++++----- .../data/ghes-3.10-2022-11-28/schema.json | 203 +++++++++++++----- .../data/ghes-3.11-2022-11-28/schema.json | 203 +++++++++++++----- .../data/ghes-3.12-2022-11-28/schema.json | 203 +++++++++++++----- src/rest/data/ghes-3.8/schema.json | 203 +++++++++++++----- src/rest/data/ghes-3.9-2022-11-28/schema.json | 203 +++++++++++++----- src/rest/lib/config.json | 2 +- src/webhooks/lib/config.json | 2 +- 45 files changed, 1557 insertions(+), 850 deletions(-) diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index 4d273224d1..5ff3e6a888 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -4607,7 +4607,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -4616,7 +4616,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -4625,7 +4625,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -4634,7 +4634,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -4643,7 +4643,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -4652,7 +4652,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -4661,7 +4661,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -4670,7 +4670,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -4679,7 +4679,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -4688,7 +4688,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } @@ -6590,7 +6590,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -6599,7 +6599,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -6608,7 +6608,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -6617,7 +6617,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -6626,7 +6626,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" } @@ -6695,7 +6695,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -6704,7 +6704,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -6713,7 +6713,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -6722,7 +6722,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -6731,7 +6731,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index 6e4b34831a..7fda109421 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -694,61 +694,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index 1f2ce53103..f7962ccfe9 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -5596,7 +5596,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -5607,7 +5607,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -5618,7 +5618,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -5629,7 +5629,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -5640,7 +5640,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -5651,7 +5651,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -5662,7 +5662,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -5673,7 +5673,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -5684,7 +5684,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -5695,7 +5695,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8009,7 +8009,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8020,7 +8020,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8031,7 +8031,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8042,7 +8042,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8053,7 +8053,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8136,7 +8136,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8147,7 +8147,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8158,7 +8158,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8169,7 +8169,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8180,7 +8180,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index 741b3c1135..b4bda8112c 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -700,61 +700,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index 6e4b34831a..7fda109421 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -694,61 +694,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index 5820d29c00..94546a48e0 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -5273,7 +5273,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -5282,7 +5282,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -5291,7 +5291,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -5300,7 +5300,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -5309,7 +5309,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -5318,7 +5318,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -5327,7 +5327,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -5336,7 +5336,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -5345,7 +5345,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -5354,7 +5354,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } @@ -7274,7 +7274,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -7283,7 +7283,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -7292,7 +7292,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -7301,7 +7301,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -7310,7 +7310,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" } @@ -7379,7 +7379,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -7388,7 +7388,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -7397,7 +7397,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -7406,7 +7406,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -7415,7 +7415,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json index c5e3f2a13d..f77ab3733d 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json @@ -784,61 +784,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index f6ed62870f..d587bf6c2b 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -6406,7 +6406,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6417,7 +6417,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6428,7 +6428,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6439,7 +6439,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6450,7 +6450,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6461,7 +6461,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6472,7 +6472,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6483,7 +6483,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6494,7 +6494,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6505,7 +6505,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8841,7 +8841,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8852,7 +8852,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8863,7 +8863,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8874,7 +8874,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8885,7 +8885,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8968,7 +8968,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -8979,7 +8979,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -8990,7 +8990,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -9001,7 +9001,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -9012,7 +9012,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index 7300e54616..5e569e0371 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -790,61 +790,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json index c5e3f2a13d..f77ab3733d 100644 --- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json @@ -784,61 +784,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json index fee83e91d6..7983e065a6 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat-permissions.json @@ -3893,7 +3893,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -3902,7 +3902,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -3911,7 +3911,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -3920,7 +3920,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -3929,7 +3929,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -3938,7 +3938,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -3947,7 +3947,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -3956,7 +3956,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -3965,7 +3965,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -3974,7 +3974,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } @@ -5750,7 +5750,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -5759,7 +5759,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -5768,7 +5768,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -5777,7 +5777,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -5786,7 +5786,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" } @@ -5855,7 +5855,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -5864,7 +5864,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -5873,7 +5873,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -5882,7 +5882,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -5891,7 +5891,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json index 2eb6fd4a01..36a29a6744 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/fine-grained-pat.json @@ -778,61 +778,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json index b3bc8033ea..3cbf031a6a 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-permissions.json @@ -4734,7 +4734,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4745,7 +4745,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4756,7 +4756,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4767,7 +4767,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4778,7 +4778,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4789,7 +4789,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4800,7 +4800,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4811,7 +4811,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4822,7 +4822,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4833,7 +4833,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6993,7 +6993,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7004,7 +7004,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7015,7 +7015,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7026,7 +7026,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7037,7 +7037,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7120,7 +7120,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7131,7 +7131,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7142,7 +7142,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7153,7 +7153,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7164,7 +7164,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json index 107a406472..055466a830 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/server-to-server-rest.json @@ -784,61 +784,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json index 2eb6fd4a01..36a29a6744 100644 --- a/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.10-2022-11-28/user-to-server-rest.json @@ -778,61 +778,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json index 8bac0e111e..e3f9991c2e 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat-permissions.json @@ -3974,7 +3974,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -3983,7 +3983,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -3992,7 +3992,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -4001,7 +4001,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -4010,7 +4010,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -4019,7 +4019,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -4028,7 +4028,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -4037,7 +4037,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -4046,7 +4046,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -4055,7 +4055,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } @@ -5858,7 +5858,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -5867,7 +5867,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -5876,7 +5876,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -5885,7 +5885,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -5894,7 +5894,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" } @@ -5963,7 +5963,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -5972,7 +5972,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -5981,7 +5981,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -5990,7 +5990,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -5999,7 +5999,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json index 8bec61e807..aec0643a0f 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/fine-grained-pat.json @@ -778,61 +778,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json index ccc470c9a4..8120c1f04f 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-permissions.json @@ -4833,7 +4833,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4844,7 +4844,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4855,7 +4855,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4866,7 +4866,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4877,7 +4877,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4888,7 +4888,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4899,7 +4899,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4910,7 +4910,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4921,7 +4921,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4932,7 +4932,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7125,7 +7125,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7136,7 +7136,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7147,7 +7147,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7158,7 +7158,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7169,7 +7169,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7252,7 +7252,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7263,7 +7263,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7274,7 +7274,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7285,7 +7285,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7296,7 +7296,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json index 05f053ddf9..0d06410590 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/server-to-server-rest.json @@ -784,61 +784,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json index 8bec61e807..aec0643a0f 100644 --- a/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.11-2022-11-28/user-to-server-rest.json @@ -778,61 +778,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json index ee65878864..732e1bb4e2 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat-permissions.json @@ -4019,7 +4019,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -4028,7 +4028,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -4037,7 +4037,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -4046,7 +4046,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -4055,7 +4055,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -4064,7 +4064,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -4073,7 +4073,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -4082,7 +4082,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -4091,7 +4091,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -4100,7 +4100,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } @@ -5903,7 +5903,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -5912,7 +5912,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -5921,7 +5921,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -5930,7 +5930,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -5939,7 +5939,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" } @@ -6008,7 +6008,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -6017,7 +6017,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -6026,7 +6026,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -6035,7 +6035,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -6044,7 +6044,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json index 2a475fad5a..a0cda8f335 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/fine-grained-pat.json @@ -784,61 +784,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json index b367c65b8d..498b6a705d 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-permissions.json @@ -4888,7 +4888,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4899,7 +4899,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4910,7 +4910,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4921,7 +4921,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4932,7 +4932,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4943,7 +4943,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4954,7 +4954,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4965,7 +4965,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4976,7 +4976,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4987,7 +4987,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7180,7 +7180,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7191,7 +7191,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7202,7 +7202,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7213,7 +7213,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7224,7 +7224,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7307,7 +7307,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7318,7 +7318,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7329,7 +7329,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -7340,7 +7340,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -7351,7 +7351,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json index cc83b10b49..beea4a29d2 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/server-to-server-rest.json @@ -790,61 +790,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json index 2a475fad5a..a0cda8f335 100644 --- a/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.12-2022-11-28/user-to-server-rest.json @@ -784,61 +784,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json index f50a15b6c6..1994b99151 100644 --- a/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.8/fine-grained-pat-permissions.json @@ -3593,7 +3593,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -3602,7 +3602,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -3611,7 +3611,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -3620,7 +3620,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -3629,7 +3629,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -3638,7 +3638,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -3647,7 +3647,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -3656,7 +3656,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -3665,7 +3665,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -3674,7 +3674,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } @@ -5441,7 +5441,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -5450,7 +5450,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -5459,7 +5459,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -5468,7 +5468,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -5477,7 +5477,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" } @@ -5537,7 +5537,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -5546,7 +5546,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -5555,7 +5555,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -5564,7 +5564,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -5573,7 +5573,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } diff --git a/src/github-apps/data/ghes-3.8/fine-grained-pat.json b/src/github-apps/data/ghes-3.8/fine-grained-pat.json index 4ec61fa9b5..f9351eb84b 100644 --- a/src/github-apps/data/ghes-3.8/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.8/fine-grained-pat.json @@ -754,61 +754,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.8/server-to-server-permissions.json b/src/github-apps/data/ghes-3.8/server-to-server-permissions.json index 3f4a7dc89c..8158cb2b0e 100644 --- a/src/github-apps/data/ghes-3.8/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.8/server-to-server-permissions.json @@ -4359,7 +4359,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4370,7 +4370,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4381,7 +4381,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4392,7 +4392,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4403,7 +4403,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4414,7 +4414,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4425,7 +4425,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4436,7 +4436,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4447,7 +4447,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4458,7 +4458,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6607,7 +6607,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6618,7 +6618,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6629,7 +6629,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6640,7 +6640,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6651,7 +6651,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6723,7 +6723,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6734,7 +6734,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6745,7 +6745,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6756,7 +6756,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6767,7 +6767,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, diff --git a/src/github-apps/data/ghes-3.8/server-to-server-rest.json b/src/github-apps/data/ghes-3.8/server-to-server-rest.json index e0d567ef3d..e1c6e608d2 100644 --- a/src/github-apps/data/ghes-3.8/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.8/server-to-server-rest.json @@ -754,61 +754,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.8/user-to-server-rest.json b/src/github-apps/data/ghes-3.8/user-to-server-rest.json index 4ec61fa9b5..f9351eb84b 100644 --- a/src/github-apps/data/ghes-3.8/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.8/user-to-server-rest.json @@ -754,61 +754,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json index 8ea11c175a..aff41f73e9 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat-permissions.json @@ -3737,7 +3737,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -3746,7 +3746,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -3755,7 +3755,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -3764,7 +3764,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -3773,7 +3773,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -3782,7 +3782,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -3791,7 +3791,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -3800,7 +3800,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -3809,7 +3809,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -3818,7 +3818,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } @@ -5594,7 +5594,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "additional-permissions": true, "access": "read" }, @@ -5603,7 +5603,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "additional-permissions": true, "access": "read" }, @@ -5612,7 +5612,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "read" }, @@ -5621,7 +5621,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" }, @@ -5630,7 +5630,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "additional-permissions": true, "access": "write" } @@ -5699,7 +5699,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "read" }, @@ -5708,7 +5708,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "additional-permissions": true, "access": "write" }, @@ -5717,7 +5717,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "read" }, @@ -5726,7 +5726,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" }, @@ -5735,7 +5735,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "additional-permissions": true, "access": "write" } diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json index dffd2e6080..a2bb715029 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/fine-grained-pat.json @@ -766,61 +766,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json index 99c81eb17f..5b9c17e953 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-permissions.json @@ -4535,7 +4535,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4546,7 +4546,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4557,7 +4557,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4568,7 +4568,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4579,7 +4579,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4590,7 +4590,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4601,7 +4601,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4612,7 +4612,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -4623,7 +4623,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -4634,7 +4634,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6794,7 +6794,7 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6805,7 +6805,7 @@ "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6816,7 +6816,7 @@ "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6827,7 +6827,7 @@ "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6838,7 +6838,7 @@ "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6921,7 +6921,7 @@ "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6932,7 +6932,7 @@ "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6943,7 +6943,7 @@ "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "read", "user-to-server": true, "server-to-server": true, @@ -6954,7 +6954,7 @@ "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, @@ -6965,7 +6965,7 @@ "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "access": "write", "user-to-server": true, "server-to-server": true, diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json index 5fca9b09e7..e8f9513ba2 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/server-to-server-rest.json @@ -766,61 +766,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json index dffd2e6080..a2bb715029 100644 --- a/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.9-2022-11-28/user-to-server-rest.json @@ -766,61 +766,61 @@ "slug": "list-environment-secrets", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets" }, { "slug": "get-an-environment-public-key", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key" }, { "slug": "get-an-environment-secret", "subcategory": "secrets", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "create-or-update-an-environment-secret", "subcategory": "secrets", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "delete-an-environment-secret", "subcategory": "secrets", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}" }, { "slug": "list-environment-variables", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "create-an-environment-variable", "subcategory": "variables", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables" }, { "slug": "get-an-environment-variable", "subcategory": "variables", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "update-an-environment-variable", "subcategory": "variables", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" }, { "slug": "delete-an-environment-variable", "subcategory": "variables", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}" } ], "activity": [ diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 65c3491673..ae22c3d37b 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "6ef668ab586c0bc12407d4c8a0f913fa077bfe67" + "sha": "781caf1eba21abd494b83607fca81134a6f1f233" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index ebfc9c838e..48255a2279 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -7197,18 +7197,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "title": "List environment secrets", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -7259,7 +7268,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -7339,18 +7349,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "title": "Get an environment public key", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -7383,7 +7402,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -7459,18 +7479,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Get an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -7512,7 +7541,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -7568,18 +7598,27 @@ { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Create or update an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -7641,7 +7680,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -7671,7 +7711,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -7698,18 +7739,27 @@ { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Delete an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -7751,7 +7801,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -17713,18 +17764,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "List environment variables", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -17775,7 +17835,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -17872,18 +17933,27 @@ { "serverUrl": "https://api.github.com", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "Create an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -17936,7 +18006,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -17967,18 +18038,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Get an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -18020,7 +18100,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "name": "NAME" } @@ -18092,18 +18173,27 @@ { "serverUrl": "https://api.github.com", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Update an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -18163,7 +18253,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } @@ -18186,18 +18277,27 @@ { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Delete an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -18239,7 +18339,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 7ac971025b..26ee040ca6 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -8229,18 +8229,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "title": "List environment secrets", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8291,7 +8300,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8371,18 +8381,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "title": "Get an environment public key", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8415,7 +8434,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8491,18 +8511,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Get an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8544,7 +8573,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8600,18 +8630,27 @@ { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Create or update an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8673,7 +8712,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8703,7 +8743,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8730,18 +8771,27 @@ { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Delete an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8783,7 +8833,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -26653,18 +26704,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "List environment variables", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26715,7 +26775,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -26812,18 +26873,27 @@ { "serverUrl": "https://api.github.com", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "Create an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26876,7 +26946,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -26907,18 +26978,27 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Get an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26960,7 +27040,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "name": "NAME" } @@ -27032,18 +27113,27 @@ { "serverUrl": "https://api.github.com", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Update an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27103,7 +27193,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } @@ -27126,18 +27217,27 @@ { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Delete an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27179,7 +27279,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index 1677679d40..34bb65ade5 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -8457,18 +8457,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "title": "List environment secrets", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8519,7 +8528,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8599,18 +8609,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "title": "Get an environment public key", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8643,7 +8662,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8719,18 +8739,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Get an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8772,7 +8801,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8828,18 +8858,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Create or update an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8901,7 +8940,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8931,7 +8971,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8958,18 +8999,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Delete an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -9011,7 +9061,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -26863,18 +26914,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "List environment variables", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26925,7 +26985,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -27022,18 +27083,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "Create an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27086,7 +27156,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -27117,18 +27188,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Get an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27170,7 +27250,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "name": "NAME" } @@ -27242,18 +27323,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Update an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27313,7 +27403,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } @@ -27336,18 +27427,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Delete an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27389,7 +27489,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 60353e0c64..79a5c7dd3d 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -8457,18 +8457,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "title": "List environment secrets", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8519,7 +8528,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8599,18 +8609,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "title": "Get an environment public key", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8643,7 +8662,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8719,18 +8739,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Get an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8772,7 +8801,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8828,18 +8858,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Create or update an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8901,7 +8940,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8931,7 +8971,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8958,18 +8999,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Delete an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -9011,7 +9061,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -26887,18 +26938,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "List environment variables", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26949,7 +27009,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -27046,18 +27107,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "Create an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27110,7 +27180,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -27141,18 +27212,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Get an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27194,7 +27274,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "name": "NAME" } @@ -27266,18 +27347,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Update an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27337,7 +27427,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } @@ -27360,18 +27451,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Delete an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27413,7 +27513,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index 3a3bc21e8f..7df7306334 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -8457,18 +8457,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "title": "List environment secrets", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8519,7 +8528,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8599,18 +8609,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "title": "Get an environment public key", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8643,7 +8662,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8719,18 +8739,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Get an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8772,7 +8801,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8828,18 +8858,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Create or update an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8901,7 +8940,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8931,7 +8971,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8958,18 +8999,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Delete an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -9011,7 +9061,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -26887,18 +26938,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "List environment variables", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26949,7 +27009,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -27046,18 +27107,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "Create an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27110,7 +27180,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -27141,18 +27212,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Get an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27194,7 +27274,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "name": "NAME" } @@ -27266,18 +27347,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Update an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27337,7 +27427,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } @@ -27360,18 +27451,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Delete an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -27413,7 +27513,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } diff --git a/src/rest/data/ghes-3.8/schema.json b/src/rest/data/ghes-3.8/schema.json index 6e7cce06e7..f99553ee2c 100644 --- a/src/rest/data/ghes-3.8/schema.json +++ b/src/rest/data/ghes-3.8/schema.json @@ -8258,18 +8258,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "title": "List environment secrets", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8320,7 +8329,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8400,18 +8410,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "title": "Get an environment public key", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8444,7 +8463,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8520,18 +8540,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Get an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8573,7 +8602,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8629,18 +8659,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Create or update an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8702,7 +8741,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8732,7 +8772,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8759,18 +8800,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Delete an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8812,7 +8862,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -25688,18 +25739,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "List environment variables", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -25750,7 +25810,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -25847,18 +25908,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "Create an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -25911,7 +25981,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -25942,18 +26013,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Get an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -25995,7 +26075,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "name": "NAME" } @@ -26067,18 +26148,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Update an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26138,7 +26228,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } @@ -26161,18 +26252,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Delete an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26214,7 +26314,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index 7abcc61376..c9f2835d61 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -8443,18 +8443,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets", "title": "List environment secrets", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8505,7 +8514,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8585,18 +8595,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "title": "Get an environment public key", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8629,7 +8648,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -8705,18 +8725,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Get an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8758,7 +8787,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8814,18 +8844,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "put", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Create or update an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8887,7 +8926,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8917,7 +8957,8 @@ "key_id": "012345678912345678" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -8944,18 +8985,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "title": "Delete an environment secret", "category": "actions", "subcategory": "secrets", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -8997,7 +9047,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "secret_name": "SECRET_NAME" } @@ -26119,18 +26170,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "List environment variables", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26181,7 +26241,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -26278,18 +26339,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "post", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables", "title": "Create an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26342,7 +26412,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME" } }, @@ -26373,18 +26444,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "get", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Get an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26426,7 +26506,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "environment_name": "ENVIRONMENT_NAME", "name": "NAME" } @@ -26498,18 +26579,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "patch", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Update an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26569,7 +26659,8 @@ "value": "octocat" }, "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } @@ -26592,18 +26683,27 @@ { "serverUrl": "http(s)://HOSTNAME/api/v3", "verb": "delete", - "requestPath": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "requestPath": "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "title": "Delete an environment variable", "category": "actions", "subcategory": "variables", "parameters": [ { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", + "name": "owner", + "description": "

The account owner of the repository. The name is not case sensitive.

", "in": "path", "required": true, "schema": { - "type": "integer" + "type": "string" + } + }, + { + "name": "repo", + "description": "

The name of the repository without the .git extension. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { @@ -26645,7 +26745,8 @@ "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "parameters": { - "repository_id": "REPOSITORY_ID", + "owner": "OWNER", + "repo": "REPO", "name": "NAME", "environment_name": "ENVIRONMENT_NAME" } diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index c07aef1c1b..a1bdf1437b 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -44,5 +44,5 @@ ] } }, - "sha": "6ef668ab586c0bc12407d4c8a0f913fa077bfe67" + "sha": "781caf1eba21abd494b83607fca81134a6f1f233" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index f743c7193f..c4f665d23c 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "6ef668ab586c0bc12407d4c8a0f913fa077bfe67" + "sha": "781caf1eba21abd494b83607fca81134a6f1f233" } \ No newline at end of file