From bd51d8f3610927737ee7c1b08b06d31181e534ea Mon Sep 17 00:00:00 2001 From: Michael Elrom Date: Wed, 12 Aug 2026 18:52:21 -0400 Subject: [PATCH] feat(github): replace adapter-based project with Integration Model CRUD workflows Trims the curated OpenAPI spec to 248 operations (drops legacy team endpoints, emoji reactions, and granular branch-protection sub-resources), and rebuilds the Studio Project as 251 workflows across 16 folders backed by the GitHub REST API Integration Model, replacing the old 4-workflow GitHub Adapter project. --- GitHub/OpenAPIs/github_rest_api-latest.json | 20690 ++++----- GitHub/README.md | 211 +- GitHub/Studio Projects/GitHub.project.json | 43026 +++++++++++++++++- 3 files changed, 49619 insertions(+), 14308 deletions(-) diff --git a/GitHub/OpenAPIs/github_rest_api-latest.json b/GitHub/OpenAPIs/github_rest_api-latest.json index 59500d8..2617071 100644 --- a/GitHub/OpenAPIs/github_rest_api-latest.json +++ b/GitHub/OpenAPIs/github_rest_api-latest.json @@ -16,21 +16,12 @@ }, "x-github-plan": "ghes", "x-github-release": 3.13, - "x-itential-curated": "Trimmed to 320 of 987 upstream operations covering common CRUD for repository automation: repository contents/files, issues, pull requests, branches, commits, releases/tags, webhooks, collaborators, labels, milestones, comments, environments/deployments, Actions workflows/runs/jobs/artifacts, and org/team membership. Excludes GitHub Enterprise admin, security scanning (Dependabot/code/secret scanning), Packages, Pages, and CI status-check APIs. See the repo README for the full scope and the full spec." + "x-itential-curated": "Trimmed to 248 of 987 upstream operations covering common CRUD for repository automation: repository contents/files, issues, pull requests, branches, commits, releases/tags, webhooks, collaborators, labels, milestones, comments, environments/deployments, Actions workflows/runs/jobs/artifacts, checks, and org/team membership. Excludes GitHub Enterprise admin, security scanning (Dependabot/code/secret scanning), Packages, Pages, legacy `/teams/{team_id}` endpoints (superseded by org+slug equivalents), emoji reactions (thin long tail across many resource types), and the most granular branch-protection sub-resources (enforce_admins, required_signatures, restrictions by app/team/user — core protection CRUD is retained). See the repo README for the full scope and the full spec." }, "servers": [ { - "url": "{protocol}://{hostname}/api/v3", - "variables": { - "hostname": { - "description": "Self-hosted Enterprise Server hostname", - "default": "HOSTNAME" - }, - "protocol": { - "description": "Self-hosted Enterprise Server protocol", - "default": "http" - } - } + "url": "https://HOSTNAME/api/v3", + "description": "Self-hosted Enterprise Server default. Itential Platform Integration Models require a static server URL rather than OpenAPI server variables, so the actual protocol/host/base_path are set per-instance instead \u2014 see the Integration Configuration section in the README." } ], "security": [ @@ -2199,17 +2190,17 @@ } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/orgs/{org}/teams/{team_slug}/external-groups": { "get": { - "summary": "List reactions for a team discussion comment", - "description": "List the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#get-a-discussion-comment).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List a connection between an external group and a team", + "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-comment-in-org", + "operationId": "teams/list-linked-external-idp-groups-to-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -2217,37 +2208,6 @@ }, { "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - }, - { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" } ], "responses": { @@ -2256,42 +2216,34 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } + "$ref": "#/components/schemas/external-groups" }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/external-groups" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "teams", + "subcategory": "external-groups" } }, - "post": { - "summary": "Create reaction for a team discussion comment", - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "patch": { + "summary": "Update the connection between an external group and a team", + "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/create-for-team-discussion-comment-in-org", + "operationId": "teams/link-external-idp-group-to-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -2299,12 +2251,6 @@ }, { "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" } ], "requestBody": { @@ -2314,29 +2260,22 @@ "schema": { "type": "object", "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" + "group_id": { + "type": "integer", + "description": "External Group Id", + "examples": [ + 1 ] } }, "required": [ - "content" + "group_id" ] }, "examples": { "default": { "value": { - "content": "heart" + "group_id": 123 } } } @@ -2345,30 +2284,15 @@ }, "responses": { "200": { - "description": "Response when the reaction type has already been added to this team discussion comment", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, - "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/external-group" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/external-group" } } } @@ -2376,24 +2300,22 @@ } }, "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "teams", + "subcategory": "external-groups" } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": { + }, "delete": { - "summary": "Delete team discussion comment reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "summary": "Remove the connection between an external group and a team", + "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/delete-for-team-discussion-comment", + "operationId": "teams/unlink-external-idp-group-from-team-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#delete-team-discussion-comment-reaction" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team" }, "parameters": [ { @@ -2401,15 +2323,6 @@ }, { "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - }, - { - "$ref": "#/components/parameters/reaction-id" } ], "responses": { @@ -2418,24 +2331,24 @@ } }, "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "teams", + "subcategory": "external-groups" } } }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": { + "/orgs/{org}/teams/{team_slug}/members": { "get": { - "summary": "List reactions for a team discussion", - "description": "List the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List team members", + "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/list-for-team-discussion-in-org", + "operationId": "teams/list-members-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-team-discussion" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#list-team-members" }, "parameters": [ { @@ -2445,25 +2358,18 @@ "$ref": "#/components/parameters/team-slug" }, { - "$ref": "#/components/parameters/discussion-number" - }, - { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion.", + "name": "role", + "description": "Filters members returned by their role in the team.", "in": "query", "required": false, "schema": { "type": "string", "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "member", + "maintainer", + "all" + ], + "default": "all" } }, { @@ -2481,12 +2387,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/simple-user" } }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/simple-user-items" } } } @@ -2501,20 +2407,71 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "teams", + "subcategory": "members" + } + } + }, + "/orgs/{org}/teams/{team_slug}/memberships/{username}": { + "get": { + "summary": "Get team membership for a user", + "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#create-a-team).", + "tags": [ + "teams" + ], + "operationId": "teams/get-membership-for-user-in-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#get-team-membership-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/team-membership" + }, + "examples": { + "response-if-user-is-a-team-maintainer": { + "$ref": "#/components/examples/team-membership-response-if-user-is-a-team-maintainer" + } + } + } + } + }, + "404": { + "description": "if user has no team membership" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "teams", + "subcategory": "members" } }, - "post": { - "summary": "Create reaction for a team discussion", - "description": "Create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "put": { + "summary": "Add or update team membership for a user", + "description": "Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/create-for-team-discussion-in-org", + "operationId": "teams/add-or-update-membership-for-user-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-team-discussion" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#add-or-update-team-membership-for-a-user" }, "parameters": [ { @@ -2524,39 +2481,32 @@ "$ref": "#/components/parameters/team-slug" }, { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/username" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { - "content": { + "role": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the team discussion.", + "description": "The role that this user should have in the team.", "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "member", + "maintainer" + ], + "default": "member" } - }, - "required": [ - "content" - ] + } }, "examples": { "default": { + "summary": "Add or update team membership for an organization member", "value": { - "content": "heart" + "role": "maintainer" } } } @@ -2569,51 +2519,40 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/team-membership" }, "examples": { - "default": { - "$ref": "#/components/examples/reaction" + "response-if-users-membership-with-team-is-now-pending": { + "$ref": "#/components/examples/team-membership-response-if-users-membership-with-team-is-now-pending" } } } } }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } + "403": { + "description": "Forbidden if team synchronization is set up" + }, + "422": { + "description": "Unprocessable Entity if you attempt to add an organization to a team" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" + "enabledForGitHubApps": true, + "category": "teams", + "subcategory": "members" } - } - }, - "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": { + }, "delete": { - "summary": "Delete team discussion reaction", - "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "summary": "Remove team membership for a user", + "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.", "tags": [ - "reactions" + "teams" ], - "operationId": "reactions/delete-for-team-discussion", + "operationId": "teams/remove-membership-for-user-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#delete-team-discussion-reaction" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#remove-team-membership-for-a-user" }, "parameters": [ { @@ -2623,36 +2562,36 @@ "$ref": "#/components/parameters/team-slug" }, { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/reaction-id" + "$ref": "#/components/parameters/username" } ], "responses": { "204": { "description": "Response" + }, + "403": { + "description": "Forbidden if team synchronization is set up" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "teams", + "subcategory": "members" } } }, - "/orgs/{org}/teams/{team_slug}/external-groups": { + "/orgs/{org}/teams/{team_slug}/projects": { "get": { - "summary": "List a connection between an external group and a team", - "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "summary": "List team projects", + "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.", "tags": [ "teams" ], - "operationId": "teams/list-linked-external-idp-groups-to-team-for-org", + "operationId": "teams/list-projects-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-projects" }, "parameters": [ { @@ -2660,6 +2599,12 @@ }, { "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -2668,34 +2613,93 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/external-groups" + "type": "array", + "items": { + "$ref": "#/components/schemas/team-project" + } }, "examples": { "default": { - "$ref": "#/components/examples/external-groups" + "$ref": "#/components/examples/team-project-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "teams", - "subcategory": "external-groups" + "subcategory": "teams" + } + } + }, + "/orgs/{org}/teams/{team_slug}/projects/{project_id}": { + "get": { + "summary": "Check team permissions for a project", + "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", + "tags": [ + "teams" + ], + "operationId": "teams/check-permissions-for-project-in-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/project-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/team-project" + }, + "examples": { + "default": { + "$ref": "#/components/examples/team-project" + } + } + } + } + }, + "404": { + "description": "Not Found if project is not managed by this team" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "teams", + "subcategory": "teams" } }, - "patch": { - "summary": "Update the connection between an external group and a team", - "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.", + "put": { + "summary": "Add or update team project permissions", + "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", "tags": [ "teams" ], - "operationId": "teams/link-external-idp-group-to-team-for-org", + "operationId": "teams/add-or-update-project-permissions-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-project-permissions" }, "parameters": [ { @@ -2703,31 +2707,37 @@ }, { "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/project-id" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "type": "object", + "type": [ + "object", + "null" + ], "properties": { - "group_id": { - "type": "integer", - "description": "External Group Id", - "examples": [ - 1 + "permission": { + "type": "string", + "description": "The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "enum": [ + "read", + "write", + "admin" ] } - }, - "required": [ - "group_id" - ] + } }, "examples": { "default": { + "summary": "Updates the permissions for the team to write for the project", "value": { - "group_id": 123 + "permission": "write" } } } @@ -2735,16 +2745,30 @@ } }, "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden if the project is not owned by the organization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/external-group" + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } }, "examples": { - "default": { - "$ref": "#/components/examples/external-group" + "response-if-the-project-is-not-owned-by-the-organization": { + "value": { + "message": "Must have admin rights to Repository.", + "documentation_url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-project-permissions" + } } } } @@ -2752,22 +2776,22 @@ } }, "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "teams", - "subcategory": "external-groups" + "subcategory": "teams" } }, "delete": { - "summary": "Remove the connection between an external group and a team", - "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "summary": "Remove a project from a team", + "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", "tags": [ "teams" ], - "operationId": "teams/unlink-external-idp-group-from-team-for-org", + "operationId": "teams/remove-project-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-project-from-a-team" }, "parameters": [ { @@ -2775,6 +2799,9 @@ }, { "$ref": "#/components/parameters/team-slug" + }, + { + "$ref": "#/components/parameters/project-id" } ], "responses": { @@ -2783,24 +2810,24 @@ } }, "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, + "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "teams", - "subcategory": "external-groups" + "subcategory": "teams" } } }, - "/orgs/{org}/teams/{team_slug}/members": { + "/orgs/{org}/teams/{team_slug}/repos": { "get": { - "summary": "List team members", - "description": "Team members will include the members of child teams.\n\nTo list members in a team, the team must be visible to the authenticated user.", + "summary": "List team repositories", + "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", "tags": [ "teams" ], - "operationId": "teams/list-members-in-org", + "operationId": "teams/list-repos-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#list-team-members" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-repositories" }, "parameters": [ { @@ -2809,21 +2836,6 @@ { "$ref": "#/components/parameters/team-slug" }, - { - "name": "role", - "description": "Filters members returned by their role in the team.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "member", - "maintainer", - "all" - ], - "default": "all" - } - }, { "$ref": "#/components/parameters/per-page" }, @@ -2839,12 +2851,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/minimal-repository" } }, "examples": { "default": { - "$ref": "#/components/examples/simple-user-items" + "$ref": "#/components/examples/minimal-repository-items" } } } @@ -2860,21 +2872,21 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "teams", - "subcategory": "members" + "subcategory": "teams" } } }, - "/orgs/{org}/teams/{team_slug}/memberships/{username}": { + "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": { "get": { - "summary": "Get team membership for a user", - "description": "Team members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#create-a-team).", + "summary": "Check team permissions for a repository", + "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\nIf the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", "tags": [ "teams" ], - "operationId": "teams/get-membership-for-user-in-org", + "operationId": "teams/check-permissions-for-repo-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#get-team-membership-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-repository" }, "parameters": [ { @@ -2884,46 +2896,52 @@ "$ref": "#/components/parameters/team-slug" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" } ], "responses": { "200": { - "description": "Response", + "description": "Alternative response with repository permissions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-membership" + "$ref": "#/components/schemas/team-repository" }, "examples": { - "response-if-user-is-a-team-maintainer": { - "$ref": "#/components/examples/team-membership-response-if-user-is-a-team-maintainer" + "alternative-response-with-repository-permissions": { + "$ref": "#/components/examples/team-repository-alternative-response-with-repository-permissions" } } } } }, + "204": { + "description": "Response if team has permission for the repository. This is the response when the repository media type hasn't been provded in the Accept header." + }, "404": { - "description": "if user has no team membership" + "description": "Not Found if team does not have permission for the repository" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "teams", - "subcategory": "members" + "subcategory": "teams" } }, "put": { - "summary": "Add or update team membership for a user", - "description": "Adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nAn organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the \"pending\" state until the person accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.", + "summary": "Add or update team repository permissions", + "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".", "tags": [ "teams" ], - "operationId": "teams/add-or-update-membership-for-user-in-org", + "operationId": "teams/add-or-update-repo-permissions-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#add-or-update-team-membership-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-repository-permissions" }, "parameters": [ { @@ -2933,7 +2951,10 @@ "$ref": "#/components/parameters/team-slug" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" } ], "requestBody": { @@ -2943,22 +2964,17 @@ "schema": { "type": "object", "properties": { - "role": { + "permission": { "type": "string", - "description": "The role that this user should have in the team.", - "enum": [ - "member", - "maintainer" - ], - "default": "member" + "description": "The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository." } } }, "examples": { "default": { - "summary": "Add or update team membership for an organization member", + "summary": "Adding a team to an organization repository with the write role", "value": { - "role": "maintainer" + "permission": "push" } } } @@ -2966,45 +2982,27 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/team-membership" - }, - "examples": { - "response-if-users-membership-with-team-is-now-pending": { - "$ref": "#/components/examples/team-membership-response-if-users-membership-with-team-is-now-pending" - } - } - } - } - }, - "403": { - "description": "Forbidden if team synchronization is set up" - }, - "422": { - "description": "Unprocessable Entity if you attempt to add an organization to a team" + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "teams", - "subcategory": "members" + "subcategory": "teams" } }, "delete": { - "summary": "Remove team membership for a user", - "description": "To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.", + "summary": "Remove a repository from a team", + "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", "tags": [ "teams" ], - "operationId": "teams/remove-membership-for-user-in-org", + "operationId": "teams/remove-repo-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#remove-team-membership-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-repository-from-a-team" }, "parameters": [ { @@ -3014,36 +3012,36 @@ "$ref": "#/components/parameters/team-slug" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" } ], "responses": { "204": { "description": "Response" - }, - "403": { - "description": "Forbidden if team synchronization is set up" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "teams", - "subcategory": "members" + "subcategory": "teams" } } }, - "/orgs/{org}/teams/{team_slug}/projects": { + "/orgs/{org}/teams/{team_slug}/teams": { "get": { - "summary": "List team projects", - "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.", + "summary": "List child teams", + "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.", "tags": [ "teams" ], - "operationId": "teams/list-projects-in-org", + "operationId": "teams/list-child-in-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-projects" + "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-child-teams" }, "parameters": [ { @@ -3061,18 +3059,18 @@ ], "responses": { "200": { - "description": "Response", + "description": "if child teams exist", "content": { "application/json": { "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/team-project" + "$ref": "#/components/schemas/team" } }, "examples": { - "default": { - "$ref": "#/components/examples/team-project-items" + "response-if-child-teams-exist": { + "$ref": "#/components/examples/team-items-response-if-child-teams-exist" } } } @@ -3092,27 +3090,24 @@ } } }, - "/orgs/{org}/teams/{team_slug}/projects/{project_id}": { + "/repos/{owner}/{repo}": { "get": { - "summary": "Check team permissions for a project", - "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", + "summary": "Get a repository", + "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n**Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", "tags": [ - "teams" + "repos" ], - "operationId": "teams/check-permissions-for-project-in-org", + "operationId": "repos/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-project" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#get-a-repository" }, "parameters": [ { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/project-id" + "$ref": "#/components/parameters/repo" } ], "responses": { @@ -3121,47 +3116,50 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-project" + "$ref": "#/components/schemas/full-repository" }, "examples": { - "default": { - "$ref": "#/components/examples/team-project" + "default-response": { + "$ref": "#/components/examples/full-repository-default-response" } } } } }, + "403": { + "$ref": "#/components/responses/forbidden" + }, "404": { - "description": "Not Found if project is not managed by this team" + "$ref": "#/components/responses/not_found" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" + "category": "repos", + "subcategory": "repos" } }, - "put": { - "summary": "Add or update team project permissions", - "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", + "patch": { + "summary": "Update a repository", + "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#replace-all-repository-topics) endpoint.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/add-or-update-project-permissions-in-org", + "operationId": "repos/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-project-permissions" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#update-a-repository" }, "parameters": [ { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/project-id" + "$ref": "#/components/parameters/repo" } ], "requestBody": { @@ -3169,305 +3167,448 @@ "content": { "application/json": { "schema": { - "type": [ - "object", - "null" - ], + "type": "object", "properties": { - "permission": { + "name": { "type": "string", - "description": "The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "description": "The name of the repository." + }, + "description": { + "type": "string", + "description": "A short description of the repository." + }, + "homepage": { + "type": "string", + "description": "A URL with more information about the repository." + }, + "private": { + "type": "boolean", + "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-server@3.13/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", + "default": false + }, + "visibility": { + "type": "string", + "description": "The visibility of the repository.", "enum": [ - "read", - "write", - "admin" + "public", + "private", + "internal" ] - } - } - }, - "examples": { - "default": { - "summary": "Updates the permissions for the team to write for the project", - "value": { - "permission": "write" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden if the project is not owned by the organization", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-the-project-is-not-owned-by-the-organization": { - "value": { - "message": "Must have admin rights to Repository.", - "documentation_url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-project-permissions" + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.", + "properties": { + "advanced_security": { + "type": "object", + "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + }, + "secret_scanning": { + "type": "object", + "description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "description": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + } } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" - } - }, - "delete": { - "summary": "Remove a project from a team", - "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", - "tags": [ - "teams" - ], - "operationId": "teams/remove-project-in-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-project-from-a-team" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "204": { - "description": "Response" + }, + "has_issues": { + "type": "boolean", + "description": "Either `true` to enable issues for this repository or `false` to disable them.", + "default": true + }, + "has_projects": { + "type": "boolean", + "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", + "default": true + }, + "has_wiki": { + "type": "boolean", + "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", + "default": true + }, + "is_template": { + "type": "boolean", + "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", + "default": false + }, + "default_branch": { + "type": "string", + "description": "Updates the default branch for this repository." + }, + "allow_squash_merge": { + "type": "boolean", + "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", + "default": true + }, + "allow_merge_commit": { + "type": "boolean", + "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", + "default": true + }, + "allow_rebase_merge": { + "type": "boolean", + "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", + "default": true + }, + "delete_branch_on_merge": { + "type": "boolean", + "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", + "default": false + }, + "allow_update_branch": { + "type": "boolean", + "description": "Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.", + "default": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "archived": { + "type": "boolean", + "description": "Whether to archive this repository. `false` will unarchive a previously archived repository.", + "default": false + }, + "allow_forking": { + "type": "boolean", + "description": "Either `true` to allow private forks, or `false` to prevent private forks.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.", + "default": false + } + } + }, + "examples": { + "default": { + "value": { + "name": "Hello-World", + "description": "This is your first repository", + "homepage": "https://github.com", + "private": true, + "has_issues": true, + "has_projects": true, + "has_wiki": true + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/full-repository" + }, + "examples": { + "default": { + "$ref": "#/components/examples/full-repository" + } + } + } + } + }, + "307": { + "$ref": "#/components/responses/temporary_redirect" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" + "category": "repos", + "subcategory": "repos", + "previews": [ + { + "required": false, + "name": "nebula", + "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.13/rest/repos), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" + }, + { + "required": false, + "name": "baptiste", + "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" + } + ] } - } - }, - "/orgs/{org}/teams/{team_slug}/repos": { - "get": { - "summary": "List team repositories", - "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", + }, + "delete": { + "summary": "Delete a repository", + "description": "Deleting a repository requires admin access.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nOAuth app tokens and personal access tokens (classic) need the `delete_repo` scope to use this endpoint.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/list-repos-in-org", + "operationId": "repos/delete", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-repositories" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#delete-a-repository" }, "parameters": [ { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/repo" } ], "responses": { - "200": { - "description": "Response", + "204": { + "description": "Response" + }, + "403": { + "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/minimal-repository" + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } } }, "examples": { "default": { - "$ref": "#/components/examples/minimal-repository-items" + "value": { + "message": "Organization members cannot delete repositories.", + "documentation_url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#delete-a-repository" + } } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } + }, + "307": { + "$ref": "#/components/responses/temporary_redirect" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" + "category": "repos", + "subcategory": "repos" } } }, - "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": { + "/repos/{owner}/{repo}/actions/artifacts": { "get": { - "summary": "Check team permissions for a repository", - "description": "Checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.\n\nIf a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.\n\nIf the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", + "summary": "List artifacts for a repository", + "description": "Lists all artifacts for a repository.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "teams" + "actions" ], - "operationId": "teams/check-permissions-for-repo-in-org", + "operationId": "actions/list-artifacts-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#list-artifacts-for-a-repository" }, "parameters": [ { - "$ref": "#/components/parameters/org" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/team-slug" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/per-page" }, { - "$ref": "#/components/parameters/repo" + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/artifact-name" } ], "responses": { "200": { - "description": "Alternative response with repository permissions", + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-repository" + "type": "object", + "required": [ + "total_count", + "artifacts" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "artifacts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact" + } + } + } }, "examples": { - "alternative-response-with-repository-permissions": { - "$ref": "#/components/examples/team-repository-alternative-response-with-repository-permissions" + "default": { + "$ref": "#/components/examples/artifact-paginated" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } - }, - "204": { - "description": "Response if team has permission for the repository. This is the response when the repository media type hasn't been provded in the Accept header." - }, - "404": { - "description": "Not Found if team does not have permission for the repository" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" + "category": "actions", + "subcategory": "artifacts" } - }, - "put": { - "summary": "Add or update team repository permissions", - "description": "To add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.\n\nFor more information about the permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\".", + } + }, + "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}": { + "get": { + "summary": "Get an artifact", + "description": "Gets a specific artifact for a workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "teams" + "actions" ], - "operationId": "teams/add-or-update-repo-permissions-in-org", + "operationId": "actions/get-artifact", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-repository-permissions" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#get-an-artifact" }, "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, { "$ref": "#/components/parameters/owner" }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/artifact-id" } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "permission": { - "type": "string", - "description": "The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository." - } - } - }, - "examples": { - "default": { - "summary": "Adding a team to an organization repository with the write role", - "value": { - "permission": "push" + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/artifact" + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact" } } } } } }, - "responses": { - "204": { - "description": "Response" - } - }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" + "category": "actions", + "subcategory": "artifacts" } }, "delete": { - "summary": "Remove a repository from a team", - "description": "If the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.", + "summary": "Delete an artifact", + "description": "Deletes an artifact for a workflow run.\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "teams" + "actions" ], - "operationId": "teams/remove-repo-in-org", + "operationId": "actions/delete-artifact", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-repository-from-a-team" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#delete-an-artifact" }, "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/team-slug" - }, { "$ref": "#/components/parameters/owner" }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/artifact-id" } ], "responses": { @@ -3478,81 +3619,74 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" + "category": "actions", + "subcategory": "artifacts" } } }, - "/orgs/{org}/teams/{team_slug}/teams": { + "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": { "get": { - "summary": "List child teams", - "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.", + "summary": "Download an artifact", + "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "teams" + "actions" ], - "operationId": "teams/list-child-in-org", + "operationId": "actions/download-artifact", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-child-teams" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#download-an-artifact" }, "parameters": [ { - "$ref": "#/components/parameters/org" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/team-slug" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/artifact-id" }, { - "$ref": "#/components/parameters/page" + "name": "archive_format", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { - "200": { - "description": "if child teams exist", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team" - } - }, - "examples": { - "response-if-child-teams-exist": { - "$ref": "#/components/examples/team-items-response-if-child-teams-exist" - } - } - } - }, + "302": { + "description": "Response", "headers": { - "Link": { - "$ref": "#/components/headers/link" + "Location": { + "$ref": "#/components/headers/location" } } + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "teams", - "subcategory": "teams" + "category": "actions", + "subcategory": "artifacts" } } }, - "/repos/{owner}/{repo}": { + "/repos/{owner}/{repo}/actions/jobs/{job_id}": { "get": { - "summary": "Get a repository", - "description": "The `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.\n\n**Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"", + "summary": "Get a job for a workflow run", + "description": "Gets a specific job in a workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/get", + "operationId": "actions/get-job-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#get-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run" }, "parameters": [ { @@ -3560,6 +3694,9 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/job-id" } ], "responses": { @@ -3568,43 +3705,36 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/full-repository" + "$ref": "#/components/schemas/job" }, "examples": { - "default-response": { - "$ref": "#/components/examples/full-repository-default-response" + "default": { + "$ref": "#/components/examples/job" } } } } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "301": { - "$ref": "#/components/responses/moved_permanently" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "actions", + "subcategory": "workflow-jobs" } - }, - "patch": { - "summary": "Update a repository", - "description": "**Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#replace-all-repository-topics) endpoint.", + } + }, + "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs": { + "get": { + "summary": "Download job logs for a workflow run", + "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/update", + "operationId": "actions/download-job-logs-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#update-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run" }, "parameters": [ { @@ -3612,4661 +3742,43 @@ }, { "$ref": "#/components/parameters/repo" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the repository." - }, - "description": { - "type": "string", - "description": "A short description of the repository." - }, - "homepage": { - "type": "string", - "description": "A URL with more information about the repository." - }, - "private": { - "type": "boolean", - "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-server@3.13/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", - "default": false - }, - "visibility": { - "type": "string", - "description": "The visibility of the repository.", - "enum": [ - "public", - "private", - "internal" - ] - }, - "security_and_analysis": { - "type": [ - "object", - "null" - ], - "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.", - "properties": { - "advanced_security": { - "type": "object", - "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"", - "properties": { - "status": { - "type": "string", - "description": "Can be `enabled` or `disabled`." - } - } - }, - "secret_scanning": { - "type": "object", - "description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"", - "properties": { - "status": { - "type": "string", - "description": "Can be `enabled` or `disabled`." - } - } - }, - "secret_scanning_push_protection": { - "type": "object", - "description": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"", - "properties": { - "status": { - "type": "string", - "description": "Can be `enabled` or `disabled`." - } - } - } - } - }, - "has_issues": { - "type": "boolean", - "description": "Either `true` to enable issues for this repository or `false` to disable them.", - "default": true - }, - "has_projects": { - "type": "boolean", - "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", - "default": true - }, - "has_wiki": { - "type": "boolean", - "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", - "default": true - }, - "is_template": { - "type": "boolean", - "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", - "default": false - }, - "default_branch": { - "type": "string", - "description": "Updates the default branch for this repository." - }, - "allow_squash_merge": { - "type": "boolean", - "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", - "default": true - }, - "allow_merge_commit": { - "type": "boolean", - "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", - "default": true - }, - "allow_rebase_merge": { - "type": "boolean", - "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", - "default": true - }, - "delete_branch_on_merge": { - "type": "boolean", - "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", - "default": false - }, - "allow_update_branch": { - "type": "boolean", - "description": "Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.", - "default": false - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "COMMIT_OR_PR_TITLE" - ], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "COMMIT_MESSAGES", - "BLANK" - ], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": [ - "PR_TITLE", - "MERGE_MESSAGE" - ], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": [ - "PR_BODY", - "PR_TITLE", - "BLANK" - ], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "archived": { - "type": "boolean", - "description": "Whether to archive this repository. `false` will unarchive a previously archived repository.", - "default": false - }, - "allow_forking": { - "type": "boolean", - "description": "Either `true` to allow private forks, or `false` to prevent private forks.", - "default": false - }, - "web_commit_signoff_required": { - "type": "boolean", - "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.", - "default": false - } - } - }, - "examples": { - "default": { - "value": { - "name": "Hello-World", - "description": "This is your first repository", - "homepage": "https://github.com", - "private": true, - "has_issues": true, - "has_projects": true, - "has_wiki": true - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/full-repository" - }, - "examples": { - "default": { - "$ref": "#/components/examples/full-repository" - } - } - } - } - }, - "307": { - "$ref": "#/components/responses/temporary_redirect" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos", - "previews": [ - { - "required": false, - "name": "nebula", - "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.13/rest/repos), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" - }, - { - "required": false, - "name": "baptiste", - "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" - } - ] - } - }, - "delete": { - "summary": "Delete a repository", - "description": "Deleting a repository requires admin access.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.\n\nOAuth app tokens and personal access tokens (classic) need the `delete_repo` scope to use this endpoint.", - "tags": [ - "repos" - ], - "operationId": "repos/delete", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#delete-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "default": { - "value": { - "message": "Organization members cannot delete repositories.", - "documentation_url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#delete-a-repository" - } - } - } - } - } - }, - "307": { - "$ref": "#/components/responses/temporary_redirect" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/actions/artifacts": { - "get": { - "summary": "List artifacts for a repository", - "description": "Lists all artifacts for a repository.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/list-artifacts-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#list-artifacts-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/artifact-name" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "artifacts" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "artifacts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/artifact" - } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/artifact-paginated" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "artifacts" - } - } - }, - "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}": { - "get": { - "summary": "Get an artifact", - "description": "Gets a specific artifact for a workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-artifact", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#get-an-artifact" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/artifact-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/artifact" - }, - "examples": { - "default": { - "$ref": "#/components/examples/artifact" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "artifacts" - } - }, - "delete": { - "summary": "Delete an artifact", - "description": "Deletes an artifact for a workflow run.\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/delete-artifact", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#delete-an-artifact" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/artifact-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "artifacts" - } - } - }, - "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": { - "get": { - "summary": "Download an artifact", - "description": "Gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` in\nthe response header to find the URL for the download. The `:archive_format` must be `zip`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/download-artifact", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#download-an-artifact" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/artifact-id" - }, - { - "name": "archive_format", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "302": { - "description": "Response", - "headers": { - "Location": { - "$ref": "#/components/headers/location" - } - } - }, - "410": { - "$ref": "#/components/responses/gone" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "artifacts" - } - } - }, - "/repos/{owner}/{repo}/actions/jobs/{job_id}": { - "get": { - "summary": "Get a job for a workflow run", - "description": "Gets a specific job in a workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-job-for-workflow-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/job-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/job" - }, - "examples": { - "default": { - "$ref": "#/components/examples/job" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-jobs" - } - } - }, - "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs": { - "get": { - "summary": "Download job logs for a workflow run", - "description": "Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Look\nfor `Location:` in the response header to find the URL for the download.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/download-job-logs-for-workflow-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/job-id" - } - ], - "responses": { - "302": { - "description": "Response", - "headers": { - "Location": { - "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/jobs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-jobs" - } - } - }, - "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": { - "post": { - "summary": "Re-run a job from a workflow run", - "description": "Re-run a job and its dependent jobs in a workflow run.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/re-run-job-for-workflow-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/job-id" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": [ - "object", - "null" - ], - "properties": { - "enable_debug_logging": { - "type": "boolean", - "default": false, - "description": "Whether to enable debug logging for the re-run." - } - } - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/empty-object" - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs": { - "get": { - "summary": "List workflow runs for a repository", - "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", - "tags": [ - "actions" - ], - "operationId": "actions/list-workflow-runs-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#list-workflow-runs-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/actor" - }, - { - "$ref": "#/components/parameters/workflow-run-branch" - }, - { - "$ref": "#/components/parameters/event" - }, - { - "$ref": "#/components/parameters/workflow-run-status" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/created" - }, - { - "$ref": "#/components/parameters/exclude-pull-requests" - }, - { - "$ref": "#/components/parameters/workflow-run-check-suite-id" - }, - { - "$ref": "#/components/parameters/workflow-run-head-sha" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "workflow_runs" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "workflow_runs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/workflow-run" - } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-run-paginated" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}": { - "get": { - "summary": "Get a workflow run", - "description": "Gets a specific workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/get-workflow-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - }, - { - "$ref": "#/components/parameters/exclude-pull-requests" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-run" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-run" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - }, - "delete": { - "summary": "Delete a workflow run", - "description": "Deletes a specific workflow run.\n\nAnyone with write access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "operationId": "actions/delete-workflow-run", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#delete-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/approvals": { - "get": { - "summary": "Get the review history for a workflow run", - "description": "Anyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/get-reviews-for-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/environment-approvals" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/environment-approvals-items" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": { - "get": { - "summary": "List workflow run artifacts", - "description": "Lists artifacts for a workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/list-workflow-run-artifacts", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#list-workflow-run-artifacts" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/artifact-name" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "artifacts" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "artifacts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/artifact" - } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/artifact-paginated" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "artifacts" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}": { - "get": { - "summary": "Get a workflow run attempt", - "description": "Gets a specific workflow run attempt.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/get-workflow-run-attempt", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-a-workflow-run-attempt" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - }, - { - "$ref": "#/components/parameters/attempt-number" - }, - { - "$ref": "#/components/parameters/exclude-pull-requests" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-run" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-run" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs": { - "get": { - "summary": "List jobs for a workflow run attempt", - "description": "Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/list-jobs-for-workflow-run-attempt", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - }, - { - "$ref": "#/components/parameters/attempt-number" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "jobs" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/job" - } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/job-paginated" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-jobs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": { - "get": { - "summary": "Download workflow run attempt logs", - "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/download-workflow-run-attempt-logs", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#download-workflow-run-attempt-logs" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - }, - { - "$ref": "#/components/parameters/attempt-number" - } - ], - "responses": { - "302": { - "description": "Response", - "headers": { - "Location": { - "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": { - "post": { - "summary": "Cancel a workflow run", - "description": "Cancels a workflow run using its `id`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/cancel-workflow-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#cancel-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/empty-object" - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "409": { - "$ref": "#/components/responses/conflict" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule": { - "post": { - "summary": "Review custom deployment protection rules for a workflow run", - "description": "Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\n**Note:** GitHub Apps can only review their own custom deployment protection rules.\nTo approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/review-custom-gates-for-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/review-custom-gates-comment-required" - }, - { - "$ref": "#/components/schemas/review-custom-gates-state-required" - } - ] - }, - "examples": { - "default": { - "value": { - "environment_name": "prod-eus", - "state": "approved", - "comment": "All health checks passed." - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "previews": [], - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel": { - "post": { - "summary": "Force cancel a workflow run", - "description": "Cancels a workflow run and bypasses conditions that would otherwise cause a workflow execution to continue, such as an `always()` condition on a job.\nYou should only use this endpoint to cancel a workflow run when the workflow run is not responding to [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel`](/rest/actions/workflow-runs#cancel-a-workflow-run).\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/force-cancel-workflow-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#force-cancel-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/empty-object" - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "409": { - "$ref": "#/components/responses/conflict" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs": { - "get": { - "summary": "List jobs for a workflow run", - "description": "Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/list-jobs-for-workflow-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - }, - { - "name": "filter", - "description": "Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all jobs for a workflow run, including from old executions of the workflow run.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "latest", - "all" - ], - "default": "latest" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "jobs" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "jobs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/job" - } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/job-paginated" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-jobs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/logs": { - "get": { - "summary": "Download workflow run logs", - "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/download-workflow-run-logs", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#download-workflow-run-logs" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "responses": { - "302": { - "description": "Response", - "headers": { - "Location": { - "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - }, - "delete": { - "summary": "Delete workflow run logs", - "description": "Deletes all logs for a workflow run.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/delete-workflow-run-logs", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#delete-workflow-run-logs" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments": { - "get": { - "summary": "Get pending deployments for a workflow run", - "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-pending-deployments-for-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/pending-deployment" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/pending-deployment-items" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - }, - "post": { - "summary": "Review pending deployments for a workflow run", - "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/review-pending-deployments-for-run", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "environment_ids": { - "type": "array", - "description": "The list of environment ids to approve or reject", - "items": { - "type": "integer", - "examples": [ - 161171787 - ] - }, - "examples": [ - 161171787, - 161171795 - ] - }, - "state": { - "type": "string", - "description": "Whether to approve or reject deployment to the specified environments.", - "enum": [ - "approved", - "rejected" - ], - "examples": [ - "approved" - ] - }, - "comment": { - "type": "string", - "description": "A comment to accompany the deployment review", - "examples": [ - "Ship it!" - ] - } - }, - "required": [ - "environment_ids", - "state", - "comment" - ] - }, - "examples": { - "default": { - "value": { - "environment_ids": [ - 161171787 - ], - "state": "approved", - "comment": "Ship it!" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/deployment" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/deployment-items" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun": { - "post": { - "summary": "Re-run a workflow", - "description": "Re-runs your workflow run using its `id`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/re-run-workflow", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#re-run-a-workflow" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": [ - "object", - "null" - ], - "properties": { - "enable_debug_logging": { - "type": "boolean", - "default": false, - "description": "Whether to enable debug logging for the re-run." - } - } - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/empty-object" - }, - "examples": { - "default": { - "value": null - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs": { - "post": { - "summary": "Re-run failed jobs from a workflow run", - "description": "Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/re-run-workflow-failed-jobs", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/run-id" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": [ - "object", - "null" - ], - "properties": { - "enable_debug_logging": { - "type": "boolean", - "default": false, - "description": "Whether to enable debug logging for the re-run." - } - } - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/empty-object" - }, - "examples": { - "default": { - "value": null - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/actions/workflows": { - "get": { - "summary": "List repository workflows", - "description": "Lists the workflows in a repository.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/list-repo-workflows", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#list-repository-workflows" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "workflows" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "workflows": { - "type": "array", - "items": { - "$ref": "#/components/schemas/workflow" - } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-paginated" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" - } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { - "get": { - "summary": "Get a workflow", - "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/get-workflow", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#get-a-workflow" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" - } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { - "put": { - "summary": "Disable a workflow", - "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/disable-workflow", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#disable-a-workflow" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" - } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { - "post": { - "summary": "Create a workflow dispatch event", - "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "operationId": "actions/create-workflow-dispatch", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#create-a-workflow-dispatch-event" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "ref": { - "type": "string", - "description": "The git reference for the workflow. The reference can be a branch or tag name." - }, - "inputs": { - "type": "object", - "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.", - "additionalProperties": true, - "maxProperties": 10 - } - }, - "required": [ - "ref" - ] - }, - "examples": { - "default": { - "value": { - "ref": "topic-branch", - "inputs": { - "name": "Mona the Octocat", - "home": "San Francisco, CA" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" - } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { - "put": { - "summary": "Enable a workflow", - "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/enable-workflow", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#enable-a-workflow" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" - } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { - "get": { - "summary": "List workflow runs for a workflow", - "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", - "tags": [ - "actions" - ], - "operationId": "actions/list-workflow-runs", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" - }, - { - "$ref": "#/components/parameters/actor" - }, - { - "$ref": "#/components/parameters/workflow-run-branch" - }, - { - "$ref": "#/components/parameters/event" - }, - { - "$ref": "#/components/parameters/workflow-run-status" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/created" - }, - { - "$ref": "#/components/parameters/exclude-pull-requests" - }, - { - "$ref": "#/components/parameters/workflow-run-check-suite-id" - }, - { - "$ref": "#/components/parameters/workflow-run-head-sha" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "workflow_runs" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "workflow_runs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/workflow-run" - } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-run-paginated" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" - } - } - }, - "/repos/{owner}/{repo}/branches": { - "get": { - "summary": "List branches", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/list-branches", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branches#list-branches" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "name": "protected", - "description": "Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches.", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/short-branch" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/short-branch-with-protection-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branches" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}": { - "get": { - "summary": "Get a branch", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/get-branch", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branches#get-a-branch" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/branch-with-protection" - }, - "examples": { - "default": { - "$ref": "#/components/examples/branch-get" - } - } - } - } - }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branches" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection": { - "get": { - "summary": "Get branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/get-branch-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-branch-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/branch-protection" - }, - "examples": { - "default": { - "$ref": "#/components/examples/branch-protection" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "put": { - "summary": "Update branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.", - "tags": [ - "repos" - ], - "operationId": "repos/update-branch-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#update-branch-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "required_status_checks": { - "type": [ - "object", - "null" - ], - "description": "Require status checks to pass before merging. Set to `null` to disable.", - "properties": { - "strict": { - "type": "boolean", - "description": "Require branches to be up to date before merging." - }, - "contexts": { - "type": "array", - "deprecated": true, - "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", - "items": { - "type": "string" - } - }, - "checks": { - "type": "array", - "description": "The list of status checks to require in order to merge into this branch.", - "items": { - "type": "object", - "required": [ - "context" - ], - "properties": { - "context": { - "type": "string", - "description": "The name of the required check" - }, - "app_id": { - "type": "integer", - "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." - } - } - } - } - }, - "required": [ - "strict", - "contexts" - ] - }, - "enforce_admins": { - "type": [ - "boolean", - "null" - ], - "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable." - }, - "required_pull_request_reviews": { - "type": [ - "object", - "null" - ], - "description": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.", - "properties": { - "dismissal_restrictions": { - "type": "object", - "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", - "properties": { - "users": { - "type": "array", - "description": "The list of user `login`s with dismissal access", - "items": { - "type": "string" - } - }, - "teams": { - "type": "array", - "description": "The list of team `slug`s with dismissal access", - "items": { - "type": "string" - } - }, - "apps": { - "type": "array", - "description": "The list of app `slug`s with dismissal access", - "items": { - "type": "string" - } - } - } - }, - "dismiss_stale_reviews": { - "type": "boolean", - "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." - }, - "require_code_owner_reviews": { - "type": "boolean", - "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) review them." - }, - "required_approving_review_count": { - "type": "integer", - "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." - }, - "require_last_push_approval": { - "type": "boolean", - "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`.", - "default": false - }, - "bypass_pull_request_allowances": { - "type": "object", - "description": "Allow specific users, teams, or apps to bypass pull request requirements.", - "properties": { - "users": { - "type": "array", - "description": "The list of user `login`s allowed to bypass pull request requirements.", - "items": { - "type": "string" - } - }, - "teams": { - "type": "array", - "description": "The list of team `slug`s allowed to bypass pull request requirements.", - "items": { - "type": "string" - } - }, - "apps": { - "type": "array", - "description": "The list of app `slug`s allowed to bypass pull request requirements.", - "items": { - "type": "string" - } - } - } - } - } - }, - "restrictions": { - "type": [ - "object", - "null" - ], - "description": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.", - "properties": { - "users": { - "type": "array", - "description": "The list of user `login`s with push access", - "items": { - "type": "string" - } - }, - "teams": { - "type": "array", - "description": "The list of team `slug`s with push access", - "items": { - "type": "string" - } - }, - "apps": { - "type": "array", - "description": "The list of app `slug`s with push access", - "items": { - "type": "string" - } - } - }, - "required": [ - "users", - "teams" - ] - }, - "required_linear_history": { - "type": "boolean", - "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation." - }, - "allow_force_pushes": { - "type": [ - "boolean", - "null" - ], - "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"" - }, - "allow_deletions": { - "type": "boolean", - "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation." - }, - "block_creations": { - "type": "boolean", - "description": "If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`." - }, - "required_conversation_resolution": { - "type": "boolean", - "description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`." - }, - "lock_branch": { - "type": "boolean", - "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.", - "default": false - }, - "allow_fork_syncing": { - "type": "boolean", - "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.", - "default": false - } - }, - "required": [ - "required_status_checks", - "enforce_admins", - "required_pull_request_reviews", - "restrictions" - ] - }, - "examples": { - "default": { - "value": { - "required_status_checks": { - "strict": true, - "contexts": [ - "continuous-integration/travis-ci" - ] - }, - "enforce_admins": true, - "required_pull_request_reviews": { - "dismissal_restrictions": { - "users": [ - "octocat" - ], - "teams": [ - "justice-league" - ] - }, - "dismiss_stale_reviews": true, - "require_code_owner_reviews": true, - "required_approving_review_count": 2, - "require_last_push_approval": true, - "bypass_pull_request_allowances": { - "users": [ - "octocat" - ], - "teams": [ - "justice-league" - ] - } - }, - "restrictions": { - "users": [ - "octocat" - ], - "teams": [ - "justice-league" - ], - "apps": [ - "super-ci" - ] - }, - "required_linear_history": true, - "allow_force_pushes": true, - "allow_deletions": true, - "block_creations": true, - "required_conversation_resolution": true, - "lock_branch": true, - "allow_fork_syncing": true - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/protected-branch" - }, - "examples": { - "default": { - "$ref": "#/components/examples/branch-protection-update" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Delete branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-branch-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-branch-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": { - "get": { - "summary": "Get admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/get-admin-branch-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-admin-branch-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/protected-branch-admin-enforced" - }, - "examples": { - "default": { - "$ref": "#/components/examples/protected-branch-admin-enforced-2" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "post": { - "summary": "Set admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nAdding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", - "tags": [ - "repos" - ], - "operationId": "repos/set-admin-branch-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#set-admin-branch-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/protected-branch-admin-enforced" - }, - "examples": { - "default": { - "$ref": "#/components/examples/protected-branch-admin-enforced-2" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Delete admin branch protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoving admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-admin-branch-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-admin-branch-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": { - "get": { - "summary": "Get pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/get-pull-request-review-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-pull-request-review-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/protected-branch-pull-request-review" - }, - "examples": { - "default": { - "$ref": "#/components/examples/protected-branch-pull-request-review" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "patch": { - "summary": "Update pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.", - "tags": [ - "repos" - ], - "operationId": "repos/update-pull-request-review-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#update-pull-request-review-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "dismissal_restrictions": { - "type": "object", - "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", - "properties": { - "users": { - "type": "array", - "description": "The list of user `login`s with dismissal access", - "items": { - "type": "string" - } - }, - "teams": { - "type": "array", - "description": "The list of team `slug`s with dismissal access", - "items": { - "type": "string" - } - }, - "apps": { - "type": "array", - "description": "The list of app `slug`s with dismissal access", - "items": { - "type": "string" - } - } - } - }, - "dismiss_stale_reviews": { - "type": "boolean", - "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." - }, - "require_code_owner_reviews": { - "type": "boolean", - "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) have reviewed." - }, - "required_approving_review_count": { - "type": "integer", - "description": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." - }, - "require_last_push_approval": { - "type": "boolean", - "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`", - "default": false - }, - "bypass_pull_request_allowances": { - "type": "object", - "description": "Allow specific users, teams, or apps to bypass pull request requirements.", - "properties": { - "users": { - "type": "array", - "description": "The list of user `login`s allowed to bypass pull request requirements.", - "items": { - "type": "string" - } - }, - "teams": { - "type": "array", - "description": "The list of team `slug`s allowed to bypass pull request requirements.", - "items": { - "type": "string" - } - }, - "apps": { - "type": "array", - "description": "The list of app `slug`s allowed to bypass pull request requirements.", - "items": { - "type": "string" - } - } - } - } - } - }, - "examples": { - "default": { - "value": { - "dismissal_restrictions": { - "users": [ - "octocat" - ], - "teams": [ - "justice-league" - ], - "apps": [ - "octoapp" - ] - }, - "bypass_pull_request_allowances": { - "users": [ - "octocat" - ], - "teams": [ - "justice-league" - ], - "apps": [ - "octoapp" - ] - }, - "dismiss_stale_reviews": true, - "require_code_owner_reviews": true, - "required_approving_review_count": 2, - "require_last_push_approval": true - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/protected-branch-pull-request-review" - }, - "examples": { - "default": { - "$ref": "#/components/examples/protected-branch-pull-request-review" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Delete pull request review protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-pull-request-review-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-pull-request-review-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": { - "get": { - "summary": "Get commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/enterprise-server@3.13/articles/signing-commits-with-gpg) in GitHub Help.\n\n**Note**: You must enable branch protection to require signed commits.", - "tags": [ - "repos" - ], - "operationId": "repos/get-commit-signature-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-commit-signature-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/protected-branch-admin-enforced" - }, - "examples": { - "default": { - "$ref": "#/components/examples/protected-branch-admin-enforced" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "post": { - "summary": "Create commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.", - "tags": [ - "repos" - ], - "operationId": "repos/create-commit-signature-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#create-commit-signature-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/protected-branch-admin-enforced" - }, - "examples": { - "default": { - "$ref": "#/components/examples/protected-branch-admin-enforced" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Delete commit signature protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nWhen authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-commit-signature-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-commit-signature-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": { - "get": { - "summary": "Get status checks protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/get-status-checks-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-status-checks-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/status-check-policy" - }, - "examples": { - "default": { - "$ref": "#/components/examples/status-check-policy" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "patch": { - "summary": "Update status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.", - "tags": [ - "repos" - ], - "operationId": "repos/update-status-check-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#update-status-check-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "strict": { - "type": "boolean", - "description": "Require branches to be up to date before merging." - }, - "contexts": { - "type": "array", - "deprecated": true, - "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", - "items": { - "type": "string" - } - }, - "checks": { - "type": "array", - "description": "The list of status checks to require in order to merge into this branch.", - "items": { - "type": "object", - "required": [ - "context" - ], - "properties": { - "context": { - "type": "string", - "description": "The name of the required check" - }, - "app_id": { - "type": "integer", - "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." - } - } - } - } - } - }, - "examples": { - "default": { - "value": { - "strict": true, - "contexts": [ - "continuous-integration/travis-ci" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/status-check-policy" - }, - "examples": { - "default": { - "$ref": "#/components/examples/status-check-policy" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Remove status check protection", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/remove-status-check-protection", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#remove-status-check-protection" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": { - "get": { - "summary": "Get all status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/get-all-status-check-contexts", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-all-status-check-contexts" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "examples": { - "default": { - "value": [ - "continuous-integration/travis-ci" - ] - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "post": { - "summary": "Add status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/add-status-check-contexts", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#add-status-check-contexts" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "contexts": { - "type": "array", - "description": "The name of the status checks", - "items": { - "type": "string" - } - } - }, - "required": [ - "contexts" - ], - "example": { - "contexts": [ - "contexts" - ] - } - }, - { - "type": "array", - "description": "The name of the status checks", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example adding status checks to a branch protection rule", - "value": { - "contexts": [ - "continuous-integration/travis-ci", - "continuous-integration/jenkins" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "examples": { - "default": { - "value": [ - "continuous-integration/travis-ci", - "continuous-integration/jenkins" - ] - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "contexts", - "category": "branches", - "subcategory": "branch-protection" - } - }, - "put": { - "summary": "Set status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/set-status-check-contexts", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#set-status-check-contexts" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "contexts": { - "type": "array", - "description": "The name of the status checks", - "items": { - "type": "string" - } - } - }, - "required": [ - "contexts" - ], - "example": { - "contexts": [ - "contexts" - ] - } - }, - { - "type": "array", - "description": "The name of the status checks", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example updating status checks for a branch protection rule", - "value": { - "contexts": [ - "continuous-integration/travis-ci" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "examples": { - "default": { - "value": [ - "continuous-integration/travis-ci" - ] - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "contexts", - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Remove status check contexts", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "tags": [ - "repos" - ], - "operationId": "repos/remove-status-check-contexts", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#remove-status-check-contexts" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "contexts": { - "type": "array", - "description": "The name of the status checks", - "items": { - "type": "string" - } - } - }, - "required": [ - "contexts" - ], - "example": { - "contexts": [ - "contexts" - ] - } - }, - { - "type": "array", - "description": "The name of the status checks", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example removing status checks from a branch protection rule", - "value": { - "contexts": [ - "continuous-integration/jenkins" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "examples": { - "default": { - "value": [ - "continuous-integration/travis-ci" - ] - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "contexts", - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions": { - "get": { - "summary": "Get access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.", - "tags": [ - "repos" - ], - "operationId": "repos/get-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/branch-restriction-policy" - }, - "examples": { - "default": { - "$ref": "#/components/examples/branch-restriction-policy" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Delete access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": { - "get": { - "summary": "Get apps with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the GitHub Apps that have push access to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", - "tags": [ - "repos" - ], - "operationId": "repos/get-apps-with-access-to-protected-branch", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/integration" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/integration-items" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "post": { - "summary": "Add app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", - "tags": [ - "repos" - ], - "operationId": "repos/add-app-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#add-app-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "apps": { - "type": "array", - "description": "The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.", - "items": { - "type": "string" - } - } - }, - "required": [ - "apps" - ], - "example": { - "apps": [ - "my-app" - ] - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "value": { - "apps": [ - "octoapp" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/integration" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/integration-items" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "apps", - "category": "branches", - "subcategory": "branch-protection" - } - }, - "put": { - "summary": "Set app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", - "tags": [ - "repos" - ], - "operationId": "repos/set-app-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#set-app-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "apps": { - "type": "array", - "description": "The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.", - "items": { - "type": "string" - } - } - }, - "required": [ - "apps" - ], - "example": { - "apps": [ - "my-app" - ] - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "value": { - "apps": [ - "octoapp" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/integration" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/integration-items" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "apps", - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Remove app access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch.", - "tags": [ - "repos" - ], - "operationId": "repos/remove-app-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#remove-app-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "apps": { - "type": "array", - "description": "The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.", - "items": { - "type": "string" - } - } - }, - "required": [ - "apps" - ], - "example": { - "apps": [ - "my-app" - ] - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "value": { - "apps": [ - "my-app" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/integration" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/integration-items" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "apps", - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": { - "get": { - "summary": "Get teams with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the teams who have push access to this branch. The list includes child teams.", - "tags": [ - "repos" - ], - "operationId": "repos/get-teams-with-access-to-protected-branch", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-items" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" - } - }, - "post": { - "summary": "Add team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified teams push access for this branch. You can also give push access to child teams.", - "tags": [ - "repos" - ], - "operationId": "repos/add-team-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#add-team-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "teams": { - "type": "array", - "description": "The slug values for teams", - "items": { - "type": "string" - } - } - }, - "required": [ - "teams" - ], - "example": { - "teams": [ - "my-team" - ] - } - }, - { - "type": "array", - "description": "The slug values for teams", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example adding a team in a branch protection rule", - "value": { - "teams": [ - "justice-league" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-items" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "teams", - "category": "branches", - "subcategory": "branch-protection" - } - }, - "put": { - "summary": "Set team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.", - "tags": [ - "repos" - ], - "operationId": "repos/set-team-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#set-team-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "teams": { - "type": "array", - "description": "The slug values for teams", - "items": { - "type": "string" - } - } - }, - "required": [ - "teams" - ], - "example": { - "teams": [ - "justice-league" - ] - } - }, - { - "type": "array", - "description": "The slug values for teams", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example replacing a team in a branch protection rule", - "value": { - "teams": [ - "justice-league" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-items" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "teams", - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Remove team access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a team to push to this branch. You can also remove push access for child teams.", - "tags": [ - "repos" - ], - "operationId": "repos/remove-team-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#remove-team-access-restrictions" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "teams": { - "type": "array", - "description": "The slug values for teams", - "items": { - "type": "string" - } - } - }, - "required": [ - "teams" - ], - "example": { - "teams": [ - "my-team" - ] - } - }, - { - "type": "array", - "description": "The slug values for teams", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example removing a team in a branch protection rule", - "value": { - "teams": [ - "octocats" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-items" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "teams", - "category": "branches", - "subcategory": "branch-protection" - } - } - }, - "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": { - "get": { - "summary": "Get users with access to the protected branch", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists the people who have push access to this branch.", - "tags": [ - "repos" - ], - "operationId": "repos/get-users-with-access-to-protected-branch", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/branch" + }, + { + "$ref": "#/components/parameters/job-id" } ], "responses": { - "200": { + "302": { "description": "Response", - "content": { - "application/json": { + "headers": { + "Location": { + "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/jobs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/simple-user" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/simple-user-items" - } + "type": "string" } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branch-protection" + "category": "actions", + "subcategory": "workflow-jobs" } - }, + } + }, + "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": { "post": { - "summary": "Add user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nGrants the specified people push access for this branch.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + "summary": "Re-run a job from a workflow run", + "description": "Re-run a job and its dependent jobs in a workflow run.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/add-user-access-restrictions", + "operationId": "actions/re-run-job-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#add-user-access-restrictions" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run" }, "parameters": [ { @@ -8276,7 +3788,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/branch" + "$ref": "#/components/parameters/job-id" } ], "requestBody": { @@ -8284,89 +3796,65 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "users": { - "type": "array", - "description": "The username for users", - "items": { - "type": "string" - } - } - }, - "required": [ - "users" - ], - "example": { - "users": [ - "mona" - ] - } - }, - { - "type": "array", - "items": { - "type": "string" - } + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." } - ] + } }, "examples": { "default": { - "summary": "Example adding a user in a branch protection rule", - "value": { - "users": [ - "octocat" - ] - } + "value": null } } } } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/simple-user" - } + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/simple-user-items" + "value": null } } } } }, - "422": { - "$ref": "#/components/responses/validation_failed" + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "requestBodyParameterName": "users", - "category": "branches", - "subcategory": "branch-protection" + "category": "actions", + "subcategory": "workflow-runs" } - }, - "put": { - "summary": "Set user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReplaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.\n\n| Type | Description |\n| ------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", + } + }, + "/repos/{owner}/{repo}/actions/runs": { + "get": { + "summary": "List workflow runs for a repository", + "description": "Lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/set-user-access-restrictions", + "operationId": "actions/list-workflow-runs-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#set-user-access-restrictions" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#list-workflow-runs-for-a-repository" }, "parameters": [ { @@ -8376,198 +3864,92 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/branch" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "users": { - "type": "array", - "description": "The username for users", - "items": { - "type": "string" - } - } - }, - "required": [ - "users" - ], - "example": { - "users": [ - "mona" - ] - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example replacing a user in a branch protection rule", - "value": { - "users": [ - "octocat" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/simple-user" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/simple-user-items" - } - } - } - } + "$ref": "#/components/parameters/actor" }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "requestBodyParameterName": "users", - "category": "branches", - "subcategory": "branch-protection" - } - }, - "delete": { - "summary": "Remove user access restrictions", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nRemoves the ability of a user to push to this branch.\n\n| Type | Description |\n| ------- | --------------------------------------------------------------------------------------------------------------------------------------------- |\n| `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. |", - "tags": [ - "repos" - ], - "operationId": "repos/remove-user-access-restrictions", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#remove-user-access-restrictions" - }, - "parameters": [ { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/workflow-run-branch" }, { - "$ref": "#/components/parameters/repo" + "$ref": "#/components/parameters/event" }, { - "$ref": "#/components/parameters/branch" + "$ref": "#/components/parameters/workflow-run-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "users": { - "type": "array", - "description": "The username for users", - "items": { - "type": "string" - } - } - }, - "required": [ - "users" - ], - "example": { - "users": [ - "mona" - ] - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "examples": { - "default": { - "summary": "Example removing a user in a branch protection rule", - "value": { - "users": [ - "octocat" - ] - } - } - } - } - } - }, "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/simple-user" + "type": "object", + "required": [ + "total_count", + "workflow_runs" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflow_runs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow-run" + } + } } }, "examples": { "default": { - "$ref": "#/components/examples/simple-user-items" + "$ref": "#/components/examples/workflow-run-paginated" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "requestBodyParameterName": "users", - "category": "branches", - "subcategory": "branch-protection" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/branches/{branch}/rename": { - "post": { - "summary": "Rename a branch", - "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/renaming-a-branch)\".\n\nThe authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.\n\nIn order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission.", + "/repos/{owner}/{repo}/actions/runs/{run_id}": { + "get": { + "summary": "Get a workflow run", + "description": "Gets a specific workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/rename-branch", + "operationId": "actions/get-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branches#rename-a-branch" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-a-workflow-run" }, "parameters": [ { @@ -8577,80 +3959,46 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/branch" + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "new_name": { - "type": "string", - "description": "The new name of the branch." - } - }, - "required": [ - "new_name" - ] - }, - "examples": { - "default": { - "value": { - "new_name": "my_renamed_branch" - } - } - } - } - } - }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/branch-with-protection" + "$ref": "#/components/schemas/workflow-run" }, "examples": { "default": { - "$ref": "#/components/examples/branch-with-protection" + "$ref": "#/components/examples/workflow-run" } } } } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "branches", - "subcategory": "branches" + "category": "actions", + "subcategory": "workflow-runs" } - } - }, - "/repos/{owner}/{repo}/collaborators": { - "get": { - "summary": "List repository collaborators", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nThe authenticated user must have push access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint.", + }, + "delete": { + "summary": "Delete a workflow run", + "description": "Deletes a specific workflow run.\n\nAnyone with write access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "operationId": "actions/delete-workflow-run", "tags": [ - "repos" + "actions" ], - "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#list-repository-collaborators" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#delete-a-workflow-run" }, "parameters": [ { @@ -8660,41 +4008,43 @@ "$ref": "#/components/parameters/repo" }, { - "name": "affiliation", - "description": "Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` means all collaborators with permissions to an organization-owned repository, regardless of organization membership status. `all` means all collaborators the authenticated user can see.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "outside", - "direct", - "all" - ], - "default": "all" - } - }, + "$ref": "#/components/parameters/run-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/approvals": { + "get": { + "summary": "Get the review history for a workflow run", + "description": "Anyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "tags": [ + "actions" + ], + "operationId": "actions/get-reviews-for-run", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run" + }, + "parameters": [ { - "name": "permission", - "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "pull", - "triage", - "push", - "maintain", - "admin" - ] - } + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/run-id" } ], "responses": { @@ -8705,45 +4055,37 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/collaborator" + "$ref": "#/components/schemas/environment-approvals" } }, "examples": { "default": { - "$ref": "#/components/examples/collaborator-items" + "$ref": "#/components/examples/environment-approvals-items" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "collaborators" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/collaborators/{username}": { + "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": { "get": { - "summary": "Check if a user is a repository collaborator", - "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nThe authenticated user must have push access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint.", + "summary": "List workflow run artifacts", + "description": "Lists artifacts for a workflow run.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/check-collaborator", + "operationId": "actions/list-workflow-run-artifacts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/artifacts#list-workflow-run-artifacts" }, "parameters": [ { @@ -8753,100 +4095,74 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "204": { - "description": "Response if user is a collaborator" + "$ref": "#/components/parameters/run-id" }, - "404": { - "description": "Not Found if user is not a collaborator" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "collaborators" - } - }, - "put": { - "summary": "Add a repository collaborator", - "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nAdding an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.", - "tags": [ - "repos" - ], - "operationId": "repos/add-collaborator", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#add-a-repository-collaborator" - }, - "parameters": [ { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/per-page" }, { - "$ref": "#/components/parameters/repo" + "$ref": "#/components/parameters/page" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/artifact-name" } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "permission": { - "type": "string", - "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**", - "default": "push" + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "artifacts" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "artifacts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact" + } + } } - } - }, - "examples": { - "new-invitation-is-created": { - "summary": "Add a collaborator with triage permissions", - "value": { - "permission": "triage" + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact-paginated" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } } }, - "responses": { - "204": { - "description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "403": { - "$ref": "#/components/responses/forbidden" - } - }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "collaborators" + "category": "actions", + "subcategory": "artifacts" } - }, - "delete": { - "summary": "Remove a repository collaborator", - "description": "Removes a collaborator from a repository.\n\nTo use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.\n\nThis endpoint also:\n- Cancels any outstanding invitations\n- Unasigns the user from any issues\n- Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.\n- Unstars the repository\n- Updates access permissions to packages\n\nRemoving a user as a collaborator has the following effects on forks:\n - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.\n - If the user had their own fork of the repository, the fork will be deleted.\n - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.\n\n**Note**: A user can still have access to the repository through organization permissions like base repository permissions.\n\nAlthough the API responds immediately, the additional permission updates might take some extra time to complete in the background.\n\nFor more information on fork permissions, see \"[About permissions and visibility of forks](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)\".", + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}": { + "get": { + "summary": "Get a workflow run attempt", + "description": "Gets a specific workflow run attempt.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/remove-collaborator", + "operationId": "actions/get-workflow-run-attempt", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#remove-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-a-workflow-run-attempt" }, "parameters": [ { @@ -8856,39 +4172,51 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/attempt-number" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" } ], "responses": { - "204": { - "description": "No Content when collaborator was removed from the repository." - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "403": { - "$ref": "#/components/responses/forbidden" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow-run" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run" + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "collaborators" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/collaborators/{username}/permission": { + "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs": { "get": { - "summary": "Get repository permissions for a user", - "description": "Checks the repository permission of a collaborator. The possible repository\npermissions are `admin`, `write`, `read`, and `none`.\n\n*Note*: The `permission` attribute provides the legacy base roles of `admin`, `write`, `read`, and `none`, where the\n`maintain` role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role assigned to the\ncollaborator, see the `role_name` attribute, which will provide the full role name, including custom roles. The\n`permissions` hash can also be used to determine which base level of access the collaborator has to the repository.", + "summary": "List jobs for a workflow run attempt", + "description": "Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/get-collaborator-permission-level", + "operationId": "actions/list-jobs-for-workflow-run-attempt", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt" }, "parameters": [ { @@ -8898,23 +4226,52 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/run-id" + }, + { + "$ref": "#/components/parameters/attempt-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { "200": { - "description": "if user has admin permissions", + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/repository-collaborator-permission" + "type": "object", + "required": [ + "total_count", + "jobs" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/job" + } + } + } }, "examples": { - "response-if-user-has-admin-permissions": { - "$ref": "#/components/examples/repository-collaborator-permission-response-if-user-has-admin-permissions" + "default": { + "$ref": "#/components/examples/job-paginated" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } }, "404": { @@ -8924,22 +4281,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "collaborators" + "category": "actions", + "subcategory": "workflow-jobs" } } }, - "/repos/{owner}/{repo}/comments": { + "/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": { "get": { - "summary": "List commit comments for a repository", - "description": "Lists the commit comments for a specified repository. Comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Download workflow run attempt logs", + "description": "Gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after\n1 minute. Look for `Location:` in the response header to find the URL for the download.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/list-commit-comments-for-repo", + "operationId": "actions/download-workflow-run-attempt-logs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#download-workflow-run-attempt-logs" }, "parameters": [ { @@ -8949,56 +4306,44 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/run-id" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/attempt-number" } ], "responses": { - "200": { + "302": { "description": "Response", - "content": { - "application/json": { + "headers": { + "Location": { + "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/commit-comment" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/commit-comment-items" - } + "type": "string" } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "comments" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/comments/{comment_id}": { - "get": { - "summary": "Get a commit comment", - "description": "Gets a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": { + "post": { + "summary": "Cancel a workflow run", + "description": "Cancels a workflow run using its `id`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/get-commit-comment", + "operationId": "actions/cancel-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#get-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#cancel-a-workflow-run" }, "parameters": [ { @@ -9008,46 +4353,48 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/run-id" } ], "responses": { - "200": { + "202": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/commit-comment" + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/commit-comment" + "value": null } } } } }, - "404": { - "$ref": "#/components/responses/not_found" + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "comments" + "category": "actions", + "subcategory": "workflow-runs" } - }, - "patch": { - "summary": "Update a commit comment", - "description": "Updates the contents of a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule": { + "post": { + "summary": "Review custom deployment protection rules for a workflow run", + "description": "Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\n**Note:** GitHub Apps can only review their own custom deployment protection rules.\nTo approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/update-commit-comment", + "operationId": "actions/review-custom-gates-for-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#update-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run" }, "parameters": [ { @@ -9057,7 +4404,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/run-id" } ], "requestBody": { @@ -9065,64 +4412,52 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "The contents of the comment" - } - }, - "required": [ - "body" - ] - }, - "examples": { - "default": { - "value": { - "body": "Nice change" + "anyOf": [ + { + "$ref": "#/components/schemas/review-custom-gates-comment-required" + }, + { + "$ref": "#/components/schemas/review-custom-gates-state-required" } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/commit-comment" - }, - "examples": { - "default": { - "$ref": "#/components/examples/commit-comment-2" + ] + }, + "examples": { + "default": { + "value": { + "environment_name": "prod-eus", + "state": "approved", + "comment": "All health checks passed." } } } } - }, - "404": { - "$ref": "#/components/responses/not_found" + } + }, + "responses": { + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "comments" + "previews": [], + "category": "actions", + "subcategory": "workflow-runs" } - }, - "delete": { - "summary": "Delete a commit comment", - "description": "", + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel": { + "post": { + "summary": "Force cancel a workflow run", + "description": "Cancels a workflow run and bypasses conditions that would otherwise cause a workflow execution to continue, such as an `always()` condition on a job.\nYou should only use this endpoint to cancel a workflow run when the workflow run is not responding to [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel`](/rest/actions/workflow-runs#cancel-a-workflow-run).\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/delete-commit-comment", + "operationId": "actions/force-cancel-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#delete-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#force-cancel-a-workflow-run" }, "parameters": [ { @@ -9132,36 +4467,48 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/run-id" } ], "responses": { - "204": { - "description": "Response" + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } }, - "404": { - "$ref": "#/components/responses/not_found" + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "comments" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/comments/{comment_id}/reactions": { + "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs": { "get": { - "summary": "List reactions for a commit comment", - "description": "List the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.13/rest/commits/comments#get-a-commit-comment).", + "summary": "List jobs for a workflow run", + "description": "Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "reactions" + "actions" ], - "operationId": "reactions/list-for-commit-comment", + "operationId": "actions/list-jobs-for-workflow-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run" }, "parameters": [ { @@ -9171,25 +4518,20 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/run-id" }, { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment.", + "name": "filter", + "description": "Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all jobs for a workflow run, including from old executions of the workflow run.", "in": "query", "required": false, "schema": { "type": "string", "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "latest", + "all" + ], + "default": "latest" } }, { @@ -9205,14 +4547,26 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" + "type": "object", + "required": [ + "total_count", + "jobs" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/job" + } + } } }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/job-paginated" } } } @@ -9222,28 +4576,27 @@ "$ref": "#/components/headers/link" } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "actions", + "subcategory": "workflow-jobs" } - }, - "post": { - "summary": "Create reaction for a commit comment", - "description": "Create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.13/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.", + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/logs": { + "get": { + "summary": "Download workflow run logs", + "description": "Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for\n`Location:` in the response header to find the URL for the download.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "reactions" + "actions" ], - "operationId": "reactions/create-for-commit-comment", + "operationId": "actions/download-workflow-run-logs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#download-workflow-run-logs" }, "parameters": [ { @@ -9253,99 +4606,39 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/run-id" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the commit comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - "required": [ - "content" - ] - }, - "examples": { - "default": { - "value": { - "content": "heart" - } - } - } - } - } - }, "responses": { - "200": { - "description": "Reaction exists", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, - "201": { - "description": "Reaction created", - "content": { - "application/json": { + "302": { + "description": "Response", + "headers": { + "Location": { + "example": "https://pipelines.actions.githubusercontent.com/ab1f3cCFPB34Nd6imvFxpGZH5hNlDp2wijMwl2gDoO0bcrrlJj/_apis/pipelines/1/runs/19/signedlogcontent?urlExpires=2020-01-22T22%3A44%3A54.1389777Z&urlSigningMethod=HMACV1&urlSignature=2TUDfIg4fm36OJmfPy6km5QD5DLCOkBVzvhWZM8B%2BUY%3D", "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } + "type": "string" } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "actions", + "subcategory": "workflow-runs" } - } - }, - "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}": { + }, "delete": { - "summary": "Delete a commit comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.13/rest/commits/comments#get-a-commit-comment).", + "summary": "Delete workflow run logs", + "description": "Deletes all logs for a workflow run.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "reactions" + "actions" ], - "operationId": "reactions/delete-for-commit-comment", + "operationId": "actions/delete-workflow-run-logs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#delete-a-commit-comment-reaction" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#delete-workflow-run-logs" }, "parameters": [ { @@ -9355,105 +4648,49 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" - }, - { - "$ref": "#/components/parameters/reaction-id" + "$ref": "#/components/parameters/run-id" } ], "responses": { "204": { "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/commits": { + "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments": { "get": { - "summary": "List commits", - "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "summary": "Get pending deployments for a workflow run", + "description": "Get all deployment environments for a workflow run that are waiting for protection rules to pass.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/list-commits", + "operationId": "actions/get-pending-deployments-for-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "name": "sha", - "description": "SHA or branch to start listing commits from. Default: the repository\u2019s default branch (usually `main`).", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "path", - "description": "Only commits containing this file path will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "author", - "description": "GitHub username or email address to use to filter by commit author.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "committer", - "description": "GitHub username or email address to use to filter by commit committer.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "since", - "description": "Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run" + }, + "parameters": [ { - "name": "until", - "description": "Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/run-id" } ], "responses": { @@ -9464,54 +4701,35 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/commit" + "$ref": "#/components/schemas/pending-deployment" } }, "examples": { "default": { - "$ref": "#/components/examples/commit-items" + "$ref": "#/components/examples/pending-deployment-items" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "409": { - "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "commits" + "category": "actions", + "subcategory": "workflow-runs" } - } - }, - "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": { - "get": { - "summary": "List branches for HEAD commit", - "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.", + }, + "post": { + "summary": "Review pending deployments for a workflow run", + "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/list-branches-for-head-commit", + "operationId": "actions/review-pending-deployments-for-run", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-branches-for-head-commit" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run" }, "parameters": [ { @@ -9521,9 +4739,69 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/commit-sha" + "$ref": "#/components/parameters/run-id" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "environment_ids": { + "type": "array", + "description": "The list of environment ids to approve or reject", + "items": { + "type": "integer", + "examples": [ + 161171787 + ] + }, + "examples": [ + 161171787, + 161171795 + ] + }, + "state": { + "type": "string", + "description": "Whether to approve or reject deployment to the specified environments.", + "enum": [ + "approved", + "rejected" + ], + "examples": [ + "approved" + ] + }, + "comment": { + "type": "string", + "description": "A comment to accompany the deployment review", + "examples": [ + "Ship it!" + ] + } + }, + "required": [ + "environment_ids", + "state", + "comment" + ] + }, + "examples": { + "default": { + "value": { + "environment_ids": [ + 161171787 + ], + "state": "approved", + "comment": "Ship it!" + } + } + } + } + } + }, "responses": { "200": { "description": "Response", @@ -9532,43 +4810,37 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/branch-short" + "$ref": "#/components/schemas/deployment" } }, "examples": { "default": { - "$ref": "#/components/examples/branch-short-items" + "$ref": "#/components/examples/deployment-items" } } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "409": { - "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "commits" + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/commits/{commit_sha}/comments": { - "get": { - "summary": "List commit comments", - "description": "Lists the comments for a specified commit.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun": { + "post": { + "summary": "Re-run a workflow", + "description": "Re-runs your workflow run using its `id`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/list-comments-for-commit", + "operationId": "actions/re-run-workflow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#list-commit-comments" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#re-run-a-workflow" }, "parameters": [ { @@ -9578,57 +4850,70 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/commit-sha" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/run-id" } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." + } + } + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/commit-comment" - } + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/commit-comment-items" + "value": null } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "comments" + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflow-runs" } - }, + } + }, + "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs": { "post": { - "summary": "Create a commit comment", - "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Re-run failed jobs from a workflow run", + "description": "Re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/create-commit-comment", + "operationId": "actions/re-run-workflow-failed-jobs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#create-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run" }, "parameters": [ { @@ -9638,45 +4923,29 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/commit-sha" + "$ref": "#/components/parameters/run-id" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "type": "object", + "type": [ + "object", + "null" + ], "properties": { - "body": { - "type": "string", - "description": "The contents of the comment." - }, - "path": { - "type": "string", - "description": "Relative path of the file to comment on." - }, - "position": { - "type": "integer", - "description": "Line index in the diff to comment on." - }, - "line": { - "type": "integer", - "description": "**Deprecated**. Use **position** parameter instead. Line number in the file to comment on." + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." } - }, - "required": [ - "body" - ] + } }, "examples": { "default": { - "value": { - "body": "Great stuff", - "path": "file1.txt", - "position": 4, - "line": 1 - } + "value": null } } } @@ -9688,51 +4957,36 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/commit-comment" + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/commit-comment" + "value": null } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/comments/1", - "schema": { - "type": "string" - } - } } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "comments" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { + "/repos/{owner}/{repo}/actions/workflows": { "get": { - "summary": "List pull requests associated with a commit", - "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "summary": "List repository workflows", + "description": "Lists the workflows in a repository.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/list-pull-requests-associated-with-commit", + "operationId": "actions/list-repo-workflows", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#list-repository-workflows" }, "parameters": [ { @@ -9741,9 +4995,6 @@ { "$ref": "#/components/parameters/repo" }, - { - "$ref": "#/components/parameters/commit-sha" - }, { "$ref": "#/components/parameters/per-page" }, @@ -9757,14 +5008,26 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/pull-request-simple" + "type": "object", + "required": [ + "total_count", + "workflows" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflows": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow" + } + } } }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-simple-items" + "$ref": "#/components/examples/workflow-paginated" } } } @@ -9774,30 +5037,27 @@ "$ref": "#/components/headers/link" } } - }, - "409": { - "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "commits" + "category": "actions", + "subcategory": "workflows" } } }, - "/repos/{owner}/{repo}/commits/{ref}": { + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { "get": { - "summary": "Get a commit", - "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\" Pagination query parameters are not supported for these media types.\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "summary": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "repos" + "actions" ], - "operationId": "repos/get-commit", + "operationId": "actions/get-workflow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#get-a-commit" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#get-a-workflow" }, "parameters": [ { @@ -9807,13 +5067,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/commit-ref" + "$ref": "#/components/parameters/workflow-id" } ], "responses": { @@ -9822,51 +5076,36 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/commit" + "$ref": "#/components/schemas/workflow" }, "examples": { "default": { - "$ref": "#/components/examples/commit" + "$ref": "#/components/examples/workflow" } } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - }, - "409": { - "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "commits" + "category": "actions", + "subcategory": "workflows" } } }, - "/repos/{owner}/{repo}/commits/{ref}/check-runs": { - "get": { - "summary": "List check runs for a Git reference", - "description": "Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nIf there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-server@3.13/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-server@3.13/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.", + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { + "put": { + "summary": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "checks" + "actions" ], - "operationId": "checks/list-for-ref", + "operationId": "actions/disable-workflow", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/checks/runs#list-check-runs-for-a-git-reference" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#disable-a-workflow" }, "parameters": [ { @@ -9876,99 +5115,141 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/commit-ref" - }, - { - "$ref": "#/components/parameters/check-name" - }, - { - "$ref": "#/components/parameters/status" - }, - { - "name": "filter", - "description": "Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "latest", - "all" - ], - "default": "latest" - } - }, + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { + "post": { + "summary": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "operationId": "actions/create-workflow-dispatch", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#create-a-workflow-dispatch-event" + }, + "parameters": [ { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/repo" }, { - "name": "app_id", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } + "$ref": "#/components/parameters/workflow-id" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "check_runs" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "check_runs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/check-run" - } - } + "204": { + "description": "Response" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The git reference for the workflow. The reference can be a branch or tag name." + }, + "inputs": { + "type": "object", + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "additionalProperties": true, + "maxProperties": 10 } }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-paginated" + "required": [ + "ref" + ] + }, + "examples": { + "default": { + "value": { + "ref": "topic-branch", + "inputs": { + "name": "Mona the Octocat", + "home": "San Francisco, CA" + } } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "checks", - "subcategory": "runs" + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { + "put": { + "summary": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/enable-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflows#enable-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" } } }, - "/repos/{owner}/{repo}/commits/{ref}/check-suites": { + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { "get": { - "summary": "List check suites for a Git reference", - "description": "Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.", + "summary": "List workflow runs for a workflow", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "checks" + "actions" ], - "operationId": "checks/list-suites-for-ref", + "operationId": "actions/list-workflow-runs", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/checks/suites#list-check-suites-for-a-git-reference" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" }, "parameters": [ { @@ -9978,26 +5259,37 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/commit-ref" + "$ref": "#/components/parameters/workflow-id" }, { - "name": "app_id", - "description": "Filters check suites by GitHub App `id`.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - }, - "example": 1 + "$ref": "#/components/parameters/actor" }, { - "$ref": "#/components/parameters/check-name" + "$ref": "#/components/parameters/workflow-run-branch" + }, + { + "$ref": "#/components/parameters/event" + }, + { + "$ref": "#/components/parameters/workflow-run-status" }, { "$ref": "#/components/parameters/per-page" }, { "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" } ], "responses": { @@ -10009,23 +5301,23 @@ "type": "object", "required": [ "total_count", - "check_suites" + "workflow_runs" ], "properties": { "total_count": { "type": "integer" }, - "check_suites": { + "workflow_runs": { "type": "array", "items": { - "$ref": "#/components/schemas/check-suite" + "$ref": "#/components/schemas/workflow-run" } } } }, "examples": { "default": { - "$ref": "#/components/examples/check-suite-paginated" + "$ref": "#/components/examples/workflow-run-paginated" } } } @@ -10040,22 +5332,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "checks", - "subcategory": "suites" + "category": "actions", + "subcategory": "workflow-runs" } } }, - "/repos/{owner}/{repo}/commits/{ref}/status": { + "/repos/{owner}/{repo}/branches": { "get": { - "summary": "Get the combined status for a specific reference", - "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`", + "summary": "List branches", + "description": "", "tags": [ "repos" ], - "operationId": "repos/get-combined-status-for-ref", + "operationId": "repos/list-branches", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branches#list-branches" }, "parameters": [ { @@ -10065,65 +5357,14 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/commit-ref" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-commit-status" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-commit-status" - } - } - } + "name": "protected", + "description": "Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches.", + "in": "query", + "required": false, + "schema": { + "type": "boolean" } }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "statuses" - } - } - }, - "/repos/{owner}/{repo}/commits/{ref}/statuses": { - "get": { - "summary": "List commit statuses for a reference", - "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.", - "tags": [ - "repos" - ], - "operationId": "repos/list-commit-statuses-for-ref", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/statuses#list-commit-statuses-for-a-reference" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/commit-ref" - }, { "$ref": "#/components/parameters/per-page" }, @@ -10139,12 +5380,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/status" + "$ref": "#/components/schemas/short-branch" } }, "examples": { "default": { - "$ref": "#/components/examples/status-items" + "$ref": "#/components/examples/short-branch-with-protection-items" } } } @@ -10155,29 +5396,29 @@ } } }, - "301": { - "$ref": "#/components/responses/moved_permanently" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "statuses" + "category": "branches", + "subcategory": "branches" } } }, - "/repos/{owner}/{repo}/compare/{basehead}": { + "/repos/{owner}/{repo}/branches/{branch}": { "get": { - "summary": "Compare two commits", - "description": "Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see \"[Understanding connections between repositories](https://docs.github.com/enterprise-server@3.13/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories).\"\n\nThis endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.\n\nThe API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\nWhen calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:\n\n- The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.\n- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.\n\nFor more information on working with pagination, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api).\"\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "summary": "Get a branch", + "description": "", "tags": [ "repos" ], - "operationId": "repos/compare-commits", + "operationId": "repos/get-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#compare-two-commits" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branches#get-a-branch" }, "parameters": [ { @@ -10187,20 +5428,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "name": "basehead", - "description": "The base branch and head branch to compare. This parameter expects the format `BASE...HEAD`. Both must be branch names in `repo`. To compare with a branch that exists in a different repository in the same network as `repo`, the `basehead` parameter expects the format `USERNAME:BASE...USERNAME:HEAD`.", - "in": "path", - "required": true, - "x-multi-segment": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/branch" } ], "responses": { @@ -10209,45 +5437,42 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/commit-comparison" + "$ref": "#/components/schemas/branch-with-protection" }, "examples": { "default": { - "$ref": "#/components/examples/commit-comparison" + "$ref": "#/components/examples/branch-get" } } } } }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, "404": { "$ref": "#/components/responses/not_found" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "commits", - "subcategory": "commits" + "category": "branches", + "subcategory": "branches" } } }, - "/repos/{owner}/{repo}/contents/{path}": { + "/repos/{owner}/{repo}/branches/{branch}/protection": { "get": { - "summary": "Get repository content", - "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.\n- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).\n- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.\n\nIf the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.\n\nIf the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\n**Notes**:\n\n- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.13/rest/git/trees#get-a-tree).\n- This API has an upper limit of 1,000 files for a directory. If you need to retrieve\nmore files, use the [Git Trees API](https://docs.github.com/enterprise-server@3.13/rest/git/trees#get-a-tree).\n- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.\n- If the requested file's size is:\n - 1 MB or smaller: All features of this endpoint are supported.\n - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty\nstring and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n - Greater than 100 MB: This endpoint is not supported.", + "summary": "Get branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/get-content", + "operationId": "repos/get-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/contents#get-repository-content" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-branch-protection" }, "parameters": [ { @@ -10257,71 +5482,20 @@ "$ref": "#/components/parameters/repo" }, { - "name": "path", - "description": "path parameter", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "x-multi-segment": true - }, - { - "name": "ref", - "description": "The name of the commit/branch/tag. Default: the repository\u2019s default branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/vnd.github.object": { - "schema": { - "$ref": "#/components/schemas/content-tree" - }, - "examples": { - "response-if-content-is-a-file": { - "$ref": "#/components/examples/content-file-response-if-content-is-a-file" - }, - "response-if-content-is-a-directory": { - "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" - } - } - }, + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { "application/json": { "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/content-directory" - }, - { - "$ref": "#/components/schemas/content-file" - }, - { - "$ref": "#/components/schemas/content-symlink" - }, - { - "$ref": "#/components/schemas/content-submodule" - } - ] + "$ref": "#/components/schemas/branch-protection" }, "examples": { - "response-if-content-is-a-file": { - "$ref": "#/components/examples/content-file-response-if-content-is-a-file" - }, - "response-if-content-is-a-directory": { - "$ref": "#/components/examples/content-file-response-if-content-is-a-directory" - }, - "response-if-content-is-a-symlink": { - "$ref": "#/components/examples/content-file-response-if-content-is-a-symlink" - }, - "response-if-content-is-a-submodule": { - "$ref": "#/components/examples/content-file-response-if-content-is-a-submodule" + "default": { + "$ref": "#/components/examples/branch-protection" } } } @@ -10329,34 +5503,25 @@ }, "404": { "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "302": { - "$ref": "#/components/responses/found" - }, - "304": { - "$ref": "#/components/responses/not_modified" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "contents" + "category": "branches", + "subcategory": "branch-protection" } }, "put": { - "summary": "Create or update file contents", - "description": "Creates a new file or replaces an existing file in a repository.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.13/rest/repos/contents/#delete-a-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory.", + "summary": "Update branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nProtecting a branch requires admin or owner permissions to the repository.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.\n\n**Note**: The list of users, apps, and teams in total is limited to 100 items.", "tags": [ "repos" ], - "operationId": "repos/create-or-update-file-contents", + "operationId": "repos/update-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/contents#create-or-update-file-contents" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#update-branch-protection" }, "parameters": [ { @@ -10366,14 +5531,7 @@ "$ref": "#/components/parameters/repo" }, { - "name": "path", - "description": "path parameter", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "x-multi-segment": true + "$ref": "#/components/parameters/branch" } ], "requestBody": { @@ -10383,98 +5541,263 @@ "schema": { "type": "object", "properties": { - "message": { - "type": "string", - "description": "The commit message." - }, - "content": { - "type": "string", - "description": "The new file content, using Base64 encoding." - }, - "sha": { - "type": "string", - "description": "**Required if you are updating a file**. The blob SHA of the file being replaced." - }, - "branch": { - "type": "string", - "description": "The branch name. Default: the repository\u2019s default branch." - }, - "committer": { - "type": "object", - "description": "The person that committed the file. Default: the authenticated user.", + "required_status_checks": { + "type": [ + "object", + "null" + ], + "description": "Require status checks to pass before merging. Set to `null` to disable.", "properties": { - "name": { - "type": "string", - "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + "strict": { + "type": "boolean", + "description": "Require branches to be up to date before merging." }, - "email": { - "type": "string", - "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + "contexts": { + "type": "array", + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + } }, - "date": { - "type": "string", - "examples": [ - "\"2013-01-05T13:13:22+05:00\"" - ] + "checks": { + "type": "array", + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "type": "object", + "required": [ + "context" + ], + "properties": { + "context": { + "type": "string", + "description": "The name of the required check" + }, + "app_id": { + "type": "integer", + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." + } + } + } } }, "required": [ - "name", - "email" + "strict", + "contexts" ] }, - "author": { - "type": "object", - "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", + "enforce_admins": { + "type": [ + "boolean", + "null" + ], + "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable." + }, + "required_pull_request_reviews": { + "type": [ + "object", + "null" + ], + "description": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.", "properties": { - "name": { - "type": "string", - "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + "dismissal_restrictions": { + "type": "object", + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + } + } + } }, - "email": { - "type": "string", - "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + "dismiss_stale_reviews": { + "type": "boolean", + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." }, - "date": { - "type": "string", - "examples": [ - "\"2013-01-15T17:13:22+05:00\"" - ] + "require_code_owner_reviews": { + "type": "boolean", + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) review them." + }, + "required_approving_review_count": { + "type": "integer", + "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." + }, + "require_last_push_approval": { + "type": "boolean", + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`.", + "default": false + }, + "bypass_pull_request_allowances": { + "type": "object", + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + } + } + } + } + }, + "restrictions": { + "type": [ + "object", + "null" + ], + "description": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with push access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with push access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with push access", + "items": { + "type": "string" + } } }, "required": [ - "name", - "email" + "users", + "teams" ] + }, + "required_linear_history": { + "type": "boolean", + "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation." + }, + "allow_force_pushes": { + "type": [ + "boolean", + "null" + ], + "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"" + }, + "allow_deletions": { + "type": "boolean", + "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation." + }, + "block_creations": { + "type": "boolean", + "description": "If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`." + }, + "required_conversation_resolution": { + "type": "boolean", + "description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`." + }, + "lock_branch": { + "type": "boolean", + "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.", + "default": false + }, + "allow_fork_syncing": { + "type": "boolean", + "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.", + "default": false } }, "required": [ - "message", - "content" + "required_status_checks", + "enforce_admins", + "required_pull_request_reviews", + "restrictions" ] }, "examples": { - "example-for-creating-a-file": { - "summary": "Example for creating a file", + "default": { "value": { - "message": "my commit message", - "committer": { - "name": "Monalisa Octocat", - "email": "octocat@github.com" + "required_status_checks": { + "strict": true, + "contexts": [ + "continuous-integration/travis-ci" + ] }, - "content": "bXkgbmV3IGZpbGUgY29udGVudHM=" - } - }, - "example-for-updating-a-file": { - "summary": "Example for updating a file", - "value": { - "message": "a new commit message", - "committer": { - "name": "Monalisa Octocat", - "email": "octocat@github.com" + "enforce_admins": true, + "required_pull_request_reviews": { + "dismissal_restrictions": { + "users": [ + "octocat" + ], + "teams": [ + "justice-league" + ] + }, + "dismiss_stale_reviews": true, + "require_code_owner_reviews": true, + "required_approving_review_count": 2, + "require_last_push_approval": true, + "bypass_pull_request_allowances": { + "users": [ + "octocat" + ], + "teams": [ + "justice-league" + ] + } }, - "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz", - "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3" + "restrictions": { + "users": [ + "octocat" + ], + "teams": [ + "justice-league" + ], + "apps": [ + "super-ci" + ] + }, + "required_linear_history": true, + "allow_force_pushes": true, + "allow_deletions": true, + "block_creations": true, + "required_conversation_resolution": true, + "lock_branch": true, + "allow_fork_syncing": true } } } @@ -10487,193 +5810,82 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/file-commit" - }, - "examples": { - "example-for-updating-a-file": { - "$ref": "#/components/examples/file-commit-example-for-updating-a-file" - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/file-commit" + "$ref": "#/components/schemas/protected-branch" }, "examples": { - "example-for-creating-a-file": { - "$ref": "#/components/examples/file-commit-example-for-creating-a-file" + "default": { + "$ref": "#/components/examples/branch-protection-update" } } } } }, - "404": { - "$ref": "#/components/responses/not_found" + "403": { + "$ref": "#/components/responses/forbidden" }, "422": { - "$ref": "#/components/responses/validation_failed" + "$ref": "#/components/responses/validation_failed_simple" }, - "409": { - "$ref": "#/components/responses/conflict" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "contents" + "category": "branches", + "subcategory": "branch-protection" } }, "delete": { - "summary": "Delete a file", - "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.13/rest/repos/contents/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.", + "summary": "Delete branch protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/delete-file", + "operationId": "repos/delete-branch-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/contents#delete-a-file" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "name": "path", - "description": "path parameter", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "x-multi-segment": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "The commit message." - }, - "sha": { - "type": "string", - "description": "The blob SHA of the file being deleted." - }, - "branch": { - "type": "string", - "description": "The branch name. Default: the repository\u2019s default branch" - }, - "committer": { - "type": "object", - "description": "object containing information about the committer.", - "properties": { - "name": { - "type": "string", - "description": "The name of the author (or committer) of the commit" - }, - "email": { - "type": "string", - "description": "The email of the author (or committer) of the commit" - } - } - }, - "author": { - "type": "object", - "description": "object containing information about the author.", - "properties": { - "name": { - "type": "string", - "description": "The name of the author (or committer) of the commit" - }, - "email": { - "type": "string", - "description": "The email of the author (or committer) of the commit" - } - } - } - }, - "required": [ - "message", - "sha" - ] - }, - "examples": { - "default": { - "value": { - "message": "my commit message", - "committer": { - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "sha": "329688480d39049927147c162b9d2deaf885005f" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/file-commit" - }, - "examples": { - "default": { - "$ref": "#/components/examples/file-commit" - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-branch-protection" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "404": { - "$ref": "#/components/responses/not_found" + { + "$ref": "#/components/parameters/repo" }, - "409": { - "$ref": "#/components/responses/conflict" + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "contents" + "category": "branches", + "subcategory": "branch-protection" } } }, - "/repos/{owner}/{repo}/deployments": { + "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": { "get": { - "summary": "List deployments", - "description": "Simple filtering of deployments is available via query parameters:", + "summary": "Get pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/list-deployments", + "operationId": "repos/get-pull-request-review-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#list-deployments" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-pull-request-review-protection" }, "parameters": [ { @@ -10683,53 +5895,7 @@ "$ref": "#/components/parameters/repo" }, { - "name": "sha", - "description": "The SHA recorded at creation time.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "none" - } - }, - { - "name": "ref", - "description": "The name of the ref. This can be a branch, tag, or SHA.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "none" - } - }, - { - "name": "task", - "description": "The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "none" - } - }, - { - "name": "environment", - "description": "The name of the environment that was deployed to (e.g., `staging` or `production`).", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ], - "default": "none" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/branch" } ], "responses": { @@ -10738,42 +5904,34 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/deployment" - } + "$ref": "#/components/schemas/protected-branch-pull-request-review" }, "examples": { "default": { - "$ref": "#/components/examples/deployment-items" + "$ref": "#/components/examples/protected-branch-pull-request-review" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "deployments" + "category": "branches", + "subcategory": "branch-protection" } }, - "post": { - "summary": "Create a deployment", - "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nMerged branch response:\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\nMerge conflict response:\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nFailed commit status checks:\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", + "patch": { + "summary": "Update pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.\n\n**Note**: Passing new arrays of `users` and `teams` replaces their previous values.", "tags": [ "repos" ], - "operationId": "repos/create-deployment", + "operationId": "repos/update-pull-request-review-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#create-a-deployment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#update-pull-request-review-protection" }, "parameters": [ { @@ -10781,215 +5939,163 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { - "ref": { - "type": "string", - "description": "The ref to deploy. This can be a branch, tag, or SHA." - }, - "task": { - "type": "string", - "description": "Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).", - "default": "deploy" - }, - "auto_merge": { - "type": "boolean", - "description": "Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.", - "default": true - }, - "required_contexts": { - "type": "array", - "description": "The [status](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", - "items": { - "type": "string" - } - }, - "payload": { - "oneOf": [ - { - "type": "object", - "additionalProperties": true + "dismissal_restrictions": { + "type": "object", + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + } }, - { - "type": "string", - "description": "JSON payload with extra information about the deployment.", - "default": "" + "teams": { + "type": "array", + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + } } - ] - }, - "environment": { - "type": "string", - "description": "Name for the target deployment environment (e.g., `production`, `staging`, `qa`).", - "default": "production" + } }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Short description of the deployment.", - "default": "" + "dismiss_stale_reviews": { + "type": "boolean", + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." }, - "transient_environment": { + "require_code_owner_reviews": { "type": "boolean", - "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`", - "default": false + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) have reviewed." }, - "production_environment": { + "required_approving_review_count": { + "type": "integer", + "description": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." + }, + "require_last_push_approval": { "type": "boolean", - "description": "Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise." - } - }, - "required": [ - "ref" - ] - }, - "examples": { - "simple-example": { - "summary": "Simple example", - "value": { - "ref": "topic-branch", - "payload": "{ \"deploy\": \"migrate\" }", - "description": "Deploy request from hubot" - } - }, - "advanced-example": { - "summary": "Advanced example", - "value": { - "ref": "topic-branch", - "auto_merge": false, - "payload": "{ \"deploy\": \"migrate\" }", - "description": "Deploy request from hubot", - "required_contexts": [ - "ci/janky", - "security/brakeman" - ] - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/deployment" - }, - "examples": { - "simple-example": { - "$ref": "#/components/examples/deployment-simple-example" - } - } - } - } - }, - "202": { - "description": "Merged branch response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`", + "default": false + }, + "bypass_pull_request_allowances": { + "type": "object", + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + } } } - }, - "examples": { - "merged-branch-response": { - "value": { - "message": "Auto-merged master into topic-branch on deployment." - } + } + }, + "examples": { + "default": { + "value": { + "dismissal_restrictions": { + "users": [ + "octocat" + ], + "teams": [ + "justice-league" + ], + "apps": [ + "octoapp" + ] + }, + "bypass_pull_request_allowances": { + "users": [ + "octocat" + ], + "teams": [ + "justice-league" + ], + "apps": [ + "octoapp" + ] + }, + "dismiss_stale_reviews": true, + "require_code_owner_reviews": true, + "required_approving_review_count": 2, + "require_last_push_approval": true } } } } - }, - "409": { - "description": "Conflict when there is a merge conflict or the commit's status checks failed" - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "deployments" - } - } - }, - "/repos/{owner}/{repo}/deployments/{deployment_id}": { - "get": { - "summary": "Get a deployment", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/get-deployment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#get-a-deployment" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/deployment-id" - } - ], "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment" + "$ref": "#/components/schemas/protected-branch-pull-request-review" }, "examples": { "default": { - "$ref": "#/components/examples/deployment" + "$ref": "#/components/examples/protected-branch-pull-request-review" } } } } }, - "404": { - "$ref": "#/components/responses/not_found" + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "deployments" + "category": "branches", + "subcategory": "branch-protection" } }, "delete": { - "summary": "Delete a deployment", - "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#create-a-deployment-status).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", + "summary": "Delete pull request review protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/delete-deployment", + "operationId": "repos/delete-pull-request-review-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#delete-a-deployment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-pull-request-review-protection" }, "parameters": [ { @@ -10999,7 +6105,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/deployment-id" + "$ref": "#/components/parameters/branch" } ], "responses": { @@ -11008,30 +6114,27 @@ }, "404": { "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "deployments" + "category": "branches", + "subcategory": "branch-protection" } } }, - "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses": { + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": { "get": { - "summary": "List deployment statuses", - "description": "Users with pull access can view deployment statuses for a deployment:", + "summary": "Get status checks protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/list-deployment-statuses", + "operationId": "repos/get-status-checks-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#list-deployment-statuses" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-status-checks-protection" }, "parameters": [ { @@ -11041,13 +6144,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/deployment-id" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/branch" } ], "responses": { @@ -11056,22 +6153,14 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/deployment-status" - } + "$ref": "#/components/schemas/status-check-policy" }, "examples": { "default": { - "$ref": "#/components/examples/deployment-status-items" + "$ref": "#/components/examples/status-check-policy" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } }, "404": { @@ -11081,20 +6170,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "statuses" + "category": "branches", + "subcategory": "branch-protection" } }, - "post": { - "summary": "Create a deployment status", - "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint.", + "patch": { + "summary": "Update status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nUpdating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.", "tags": [ "repos" ], - "operationId": "repos/create-deployment-status", + "operationId": "repos/update-status-check-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#create-a-deployment-status" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#update-status-check-protection" }, "parameters": [ { @@ -11104,69 +6193,57 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/deployment-id" + "$ref": "#/components/parameters/branch" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { - "state": { - "type": "string", - "description": "The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub.", - "enum": [ - "error", - "failure", - "inactive", - "in_progress", - "queued", - "pending", - "success" - ] - }, - "target_url": { - "type": "string", - "description": "The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`.", - "default": "" - }, - "log_url": { - "type": "string", - "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"`", - "default": "" - }, - "description": { - "type": "string", - "description": "A short description of the status. The maximum description length is 140 characters.", - "default": "" - }, - "environment": { - "type": "string", - "description": "Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used." + "strict": { + "type": "boolean", + "description": "Require branches to be up to date before merging." }, - "environment_url": { - "type": "string", - "description": "Sets the URL for accessing your environment. Default: `\"\"`", - "default": "" + "contexts": { + "type": "array", + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + } }, - "auto_inactive": { - "type": "boolean", - "description": "Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true`" + "checks": { + "type": "array", + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "type": "object", + "required": [ + "context" + ], + "properties": { + "context": { + "type": "string", + "description": "The name of the required check" + }, + "app_id": { + "type": "integer", + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." + } + } + } } - }, - "required": [ - "state" - ] + } }, - "examples": { - "default": { - "value": { - "environment": "production", - "state": "success", - "log_url": "https://example.com/deployment/42/output", - "description": "Deployment finished successfully." + "examples": { + "default": { + "value": { + "strict": true, + "contexts": [ + "continuous-integration/travis-ci" + ] } } } @@ -11174,29 +6251,24 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-status" + "$ref": "#/components/schemas/status-check-policy" }, "examples": { "default": { - "$ref": "#/components/examples/deployment-status" + "$ref": "#/components/examples/status-check-policy" } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1", - "schema": { - "type": "string" - } - } } }, + "404": { + "$ref": "#/components/responses/not_found" + }, "422": { "$ref": "#/components/responses/validation_failed" } @@ -11204,22 +6276,56 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "statuses" + "category": "branches", + "subcategory": "branch-protection" + } + }, + "delete": { + "summary": "Remove status check protection", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", + "tags": [ + "repos" + ], + "operationId": "repos/remove-status-check-protection", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#remove-status-check-protection" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/branch" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "branches", + "subcategory": "branch-protection" } } }, - "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": { + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": { "get": { - "summary": "Get a deployment status", - "description": "Users with pull access can view a deployment status for a deployment:", + "summary": "Get all status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/get-deployment-status", + "operationId": "repos/get-all-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#get-a-deployment-status" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-all-status-check-contexts" }, "parameters": [ { @@ -11229,15 +6335,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/deployment-id" - }, - { - "name": "status_id", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } + "$ref": "#/components/parameters/branch" } ], "responses": { @@ -11246,11 +6344,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-status" + "type": "array", + "items": { + "type": "string" + } }, "examples": { "default": { - "$ref": "#/components/examples/deployment-status" + "value": [ + "continuous-integration/travis-ci" + ] } } } @@ -11263,22 +6366,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "statuses" + "category": "branches", + "subcategory": "branch-protection" } - } - }, - "/repos/{owner}/{repo}/environments": { - "get": { - "summary": "List environments", - "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + }, + "post": { + "summary": "Add status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/get-all-environments", + "operationId": "repos/add-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#list-environments" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#add-status-check-contexts" }, "parameters": [ { @@ -11288,63 +6389,108 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/branch" } ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + }, + "examples": { + "default": { + "summary": "Example adding status checks to a branch protection rule", + "value": { + "contexts": [ + "continuous-integration/travis-ci", + "continuous-integration/jenkins" + ] + } + } + } + } + } + }, "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "total_count": { - "description": "The number of environments in this repository", - "type": "integer", - "examples": [ - 5 - ] - }, - "environments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/environment" - } - } + "type": "array", + "items": { + "type": "string" } }, "examples": { "default": { - "$ref": "#/components/examples/environments" + "value": [ + "continuous-integration/travis-ci", + "continuous-integration/jenkins" + ] } } } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "environments" + "requestBodyParameterName": "contexts", + "category": "branches", + "subcategory": "branch-protection" } - } - }, - "/repos/{owner}/{repo}/environments/{environment_name}": { - "get": { - "summary": "Get an environment", - "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + }, + "put": { + "summary": "Set status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/get-environment", + "operationId": "repos/set-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#get-an-environment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#set-status-check-contexts" }, "parameters": [ { @@ -11354,43 +6500,103 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/branch" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + }, + "examples": { + "default": { + "summary": "Example updating status checks for a branch protection rule", + "value": { + "contexts": [ + "continuous-integration/travis-ci" + ] + } + } + } + } } - ], + }, "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/environment" + "type": "array", + "items": { + "type": "string" + } }, "examples": { "default": { - "$ref": "#/components/examples/environment" + "value": [ + "continuous-integration/travis-ci" + ] } } } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "environments" + "requestBodyParameterName": "contexts", + "category": "branches", + "subcategory": "branch-protection" } }, - "put": { - "summary": "Create or update an environment", - "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[GitHub Actions secrets](/rest/actions/secrets).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "delete": { + "summary": "Remove status check contexts", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", "tags": [ "repos" ], - "operationId": "repos/create-or-update-environment", + "operationId": "repos/remove-status-check-contexts", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#create-or-update-an-environment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#remove-status-check-contexts" }, "parameters": [ { @@ -11400,72 +6606,50 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/branch" } ], "requestBody": { - "required": false, "content": { "application/json": { "schema": { - "type": [ - "object", - "null" - ], - "properties": { - "wait_timer": { - "$ref": "#/components/schemas/wait-timer" - }, - "prevent_self_review": { - "$ref": "#/components/schemas/prevent-self-review" - }, - "reviewers": { - "type": [ - "array", - "null" - ], - "description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", - "items": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/deployment-reviewer-type" - }, - "id": { - "type": "integer", - "description": "The id of the user or team who can review the deployment", - "examples": [ - 4532992 - ] + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" } } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] } }, - "deployment_branch_policy": { - "$ref": "#/components/schemas/deployment-branch-policy-settings" + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } } - }, - "additionalProperties": false + ] }, "examples": { "default": { + "summary": "Example removing status checks from a branch protection rule", "value": { - "wait_timer": 30, - "prevent_self_review": false, - "reviewers": [ - { - "type": "User", - "id": 1 - }, - { - "type": "Team", - "id": 1 - } - ], - "deployment_branch_policy": { - "protected_branches": false, - "custom_branch_policies": true - } + "contexts": [ + "continuous-integration/jenkins" + ] } } } @@ -11478,44 +6662,48 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/environment" + "type": "array", + "items": { + "type": "string" + } }, "examples": { "default": { - "$ref": "#/components/examples/environment" + "value": [ + "continuous-integration/travis-ci" + ] } } } } }, + "404": { + "$ref": "#/components/responses/not_found" + }, "422": { - "description": "Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` are set to the same value", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "environments" + "requestBodyParameterName": "contexts", + "category": "branches", + "subcategory": "branch-protection" } - }, - "delete": { - "summary": "Delete an environment", - "description": "OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + } + }, + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions": { + "get": { + "summary": "Get access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists who has access to this protected branch.\n\n**Note**: Users, apps, and teams `restrictions` are only available for organization-owned repositories.", "tags": [ "repos" ], - "operationId": "repos/delete-an-environment", + "operationId": "repos/get-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#delete-an-environment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#get-access-restrictions" }, "parameters": [ { @@ -11525,33 +6713,46 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/branch" } ], "responses": { - "204": { - "description": "Default response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/branch-restriction-policy" + }, + "examples": { + "default": { + "$ref": "#/components/examples/branch-restriction-policy" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "environments" + "category": "branches", + "subcategory": "branch-protection" } - } - }, - "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": { - "get": { - "summary": "List deployment branch policies", - "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + }, + "delete": { + "summary": "Delete access restrictions", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nDisables the ability to restrict who can push to this branch.", "tags": [ "repos" ], - "operationId": "repos/list-deployment-branch-policies", + "operationId": "repos/delete-access-restrictions", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#list-deployment-branch-policies" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection#delete-access-restrictions" }, "parameters": [ { @@ -11561,68 +6762,33 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/branch" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_count": { - "description": "The number of deployment branch policies for the environment.", - "type": "integer", - "examples": [ - 2 - ] - }, - "branch_policies": { - "type": "array", - "items": { - "$ref": "#/components/schemas/deployment-branch-policy" - } - } - }, - "required": [ - "total_count", - "branch_policies" - ] - }, - "examples": { - "default": { - "$ref": "#/components/examples/deployment-branch-policies-list" - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "branch-policies" + "category": "branches", + "subcategory": "branch-protection" } - }, + } + }, + "/repos/{owner}/{repo}/branches/{branch}/rename": { "post": { - "summary": "Create a deployment branch policy", - "description": "Creates a deployment branch or tag policy for an environment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "summary": "Rename a branch", + "description": "Renames a branch in a repository.\n\n**Note:** Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see \"[Renaming a branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/renaming-a-branch)\".\n\nThe authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.\n\nIn order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission.", "tags": [ "repos" ], - "operationId": "repos/create-deployment-branch-policy", + "operationId": "repos/rename-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#create-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/branches/branches#rename-a-branch" }, "parameters": [ { @@ -11632,7 +6798,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/branch" } ], "requestBody": { @@ -11640,27 +6806,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-branch-policy-name-pattern-with-type" - }, - "examples": { - "example-wildcard": { - "summary": "Example of a wildcard name pattern", - "value": { - "name": "release/*" - } - }, - "example-single-branch": { - "summary": "Example of a single branch name pattern", - "value": { - "name": "main", - "type": "branch" + "type": "object", + "properties": { + "new_name": { + "type": "string", + "description": "The new name of the branch." } }, - "example-single-tag": { - "summary": "Example of a single tag name pattern", + "required": [ + "new_name" + ] + }, + "examples": { + "default": { "value": { - "name": "v1", - "type": "tag" + "new_name": "my_renamed_branch" } } } @@ -11668,53 +6828,50 @@ } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-branch-policy" + "$ref": "#/components/schemas/branch-with-protection" }, "examples": { - "example-wildcard": { - "$ref": "#/components/examples/deployment-branch-policy-wildcard" - }, - "example-single-branch": { - "$ref": "#/components/examples/deployment-branch-policy-single-branch" - }, - "example-single-tag": { - "$ref": "#/components/examples/deployment-branch-policy-single-tag" + "default": { + "$ref": "#/components/examples/branch-with-protection" } } } } }, + "403": { + "$ref": "#/components/responses/forbidden" + }, "404": { - "description": "Not Found or `deployment_branch_policy.custom_branch_policies` property for the environment is set to false" + "$ref": "#/components/responses/not_found" }, - "303": { - "description": "Response if the same branch name pattern already exists" + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "branch-policies" + "category": "branches", + "subcategory": "branches" } } }, - "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": { + "/repos/{owner}/{repo}/collaborators": { "get": { - "summary": "Get a deployment branch policy", - "description": "Gets a deployment branch or tag policy for an environment.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "summary": "List repository collaborators", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\nOrganization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.\n\nTeam members will include the members of child teams.\n\nThe authenticated user must have push access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint.", "tags": [ "repos" ], - "operationId": "repos/get-deployment-branch-policy", + "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#get-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -11724,10 +6881,41 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "name": "affiliation", + "description": "Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` means all collaborators with permissions to an organization-owned repository, regardless of organization membership status. `all` means all collaborators the authenticated user can see.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "outside", + "direct", + "all" + ], + "default": "all" + } }, { - "$ref": "#/components/parameters/branch-policy-id" + "name": "permission", + "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -11736,34 +6924,47 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-branch-policy" + "type": "array", + "items": { + "$ref": "#/components/schemas/collaborator" + } }, "examples": { "default": { - "$ref": "#/components/examples/deployment-branch-policy-wildcard" + "$ref": "#/components/examples/collaborator-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "branch-policies" + "category": "collaborators", + "subcategory": "collaborators" } - }, - "put": { - "summary": "Update a deployment branch policy", - "description": "Updates a deployment branch or tag policy for an environment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + } + }, + "/repos/{owner}/{repo}/collaborators/{username}": { + "get": { + "summary": "Check if a user is a repository collaborator", + "description": "For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.\n\nTeam members will include the members of child teams.\n\nThe authenticated user must have push access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint.", "tags": [ "repos" ], - "operationId": "repos/update-deployment-branch-policy", + "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#update-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -11773,23 +6974,65 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/username" + } + ], + "responses": { + "204": { + "description": "Response if user is a collaborator" + }, + "404": { + "description": "Not Found if user is not a collaborator" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "collaborators", + "subcategory": "collaborators" + } + }, + "put": { + "summary": "Add a repository collaborator", + "description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nAdding an outside collaborator may be restricted by enterprise administrators. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories).\"\n\nFor more information on permission levels, see \"[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)\". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:\n\n```\nCannot assign {member} permission of {role name}\n```\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"\n\n**Updating an existing collaborator's permission level**\n\nThe endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed.", + "tags": [ + "repos" + ], + "operationId": "repos/add-collaborator", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#add-a-repository-collaborator" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/branch-policy-id" + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/username" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-branch-policy-name-pattern" + "type": "object", + "properties": { + "permission": { + "type": "string", + "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**", + "default": "push" + } + } }, "examples": { - "default": { + "new-invitation-is-created": { + "summary": "Add a collaborator with triage permissions", "value": { - "name": "release/*" + "permission": "triage" } } } @@ -11797,39 +7040,34 @@ } }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/deployment-branch-policy" - }, - "examples": { - "default": { - "$ref": "#/components/examples/deployment-branch-policy-wildcard" - } - } - } - } + "204": { + "description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "branch-policies" + "category": "collaborators", + "subcategory": "collaborators" } }, "delete": { - "summary": "Delete a deployment branch policy", - "description": "Deletes a deployment branch or tag policy for an environment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "summary": "Remove a repository collaborator", + "description": "Removes a collaborator from a repository.\n\nTo use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.\n\nThis endpoint also:\n- Cancels any outstanding invitations\n- Unasigns the user from any issues\n- Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.\n- Unstars the repository\n- Updates access permissions to packages\n\nRemoving a user as a collaborator has the following effects on forks:\n - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork.\n - If the user had their own fork of the repository, the fork will be deleted.\n - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.\n\n**Note**: A user can still have access to the repository through organization permissions like base repository permissions.\n\nAlthough the API responds immediately, the additional permission updates might take some extra time to complete in the background.\n\nFor more information on fork permissions, see \"[About permissions and visibility of forks](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)\".", "tags": [ "repos" ], - "operationId": "repos/delete-deployment-branch-policy", + "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#delete-a-deployment-branch-policy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -11839,266 +7077,198 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" - }, - { - "$ref": "#/components/parameters/branch-policy-id" + "$ref": "#/components/parameters/username" } ], "responses": { "204": { - "description": "Response" + "description": "No Content when collaborator was removed from the repository." + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "branch-policies" + "category": "collaborators", + "subcategory": "collaborators" } } }, - "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": { + "/repos/{owner}/{repo}/collaborators/{username}/permission": { "get": { - "summary": "Get all deployment protection rules for an environment", - "description": "Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "summary": "Get repository permissions for a user", + "description": "Checks the repository permission of a collaborator. The possible repository\npermissions are `admin`, `write`, `read`, and `none`.\n\n*Note*: The `permission` attribute provides the legacy base roles of `admin`, `write`, `read`, and `none`, where the\n`maintain` role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role assigned to the\ncollaborator, see the `role_name` attribute, which will provide the full role name, including custom roles. The\n`permissions` hash can also be used to determine which base level of access the collaborator has to the repository.", "tags": [ "repos" ], - "operationId": "repos/get-all-deployment-protection-rules", + "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/owner" }, { "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/username" } ], "responses": { "200": { - "description": "List of deployment protection rules", + "description": "if user has admin permissions", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "total_count": { - "description": "The number of enabled custom deployment protection rules for this environment", - "type": "integer", - "examples": [ - 10 - ] - }, - "custom_deployment_protection_rules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/deployment-protection-rule" - } - } - }, - "example": { - "$ref": "#/components/examples/deployment-protection-rules" - } + "$ref": "#/components/schemas/repository-collaborator-permission" }, "examples": { - "default": { - "value": { - "total_count": 2, - "custom_deployment_protection_rules": [ - { - "id": 3, - "node_id": "IEH37kRlcGxveW1lbnRTdGF0ddiv", - "enabled": true, - "app": { - "id": 1, - "node_id": "GHT58kRlcGxveW1lbnRTdTY!bbcy", - "slug": "a-custom-app", - "integration_url": "https://api.github.com/apps/a-custom-app" - } - }, - { - "id": 4, - "node_id": "MDE2OkRlcGxveW1lbnRTdHJ41128", - "enabled": true, - "app": { - "id": 1, - "node_id": "UHVE67RlcGxveW1lbnRTdTY!jfeuy", - "slug": "another-custom-app", - "integration_url": "https://api.github.com/apps/another-custom-app" - } - } - ] - } + "response-if-user-has-admin-permissions": { + "$ref": "#/components/examples/repository-collaborator-permission-response-if-user-has-admin-permissions" } } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "protection-rules" + "category": "collaborators", + "subcategory": "collaborators" } - }, - "post": { - "summary": "Create a custom deployment protection rule on an environment", - "description": "Enable a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + } + }, + "/repos/{owner}/{repo}/comments": { + "get": { + "summary": "List commit comments for a repository", + "description": "Lists the commit comments for a specified repository. Comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], - "operationId": "repos/create-deployment-protection-rule", + "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/owner" }, { "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "integration_id": { - "type": "integer", - "description": "The ID of the custom app that will be enabled on the environment." - } - } - }, - "examples": { - "default": { - "value": { - "integration_id": 5 - } - } - } - } - }, - "required": true - }, "responses": { - "201": { - "description": "The enabled custom deployment protection rule", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-protection-rule" + "type": "array", + "items": { + "$ref": "#/components/schemas/commit-comment" + } }, "examples": { "default": { - "$ref": "#/components/examples/deployment-protection-rule" + "$ref": "#/components/examples/commit-comment-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "protection-rules" + "category": "commits", + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps": { + "/repos/{owner}/{repo}/comments/{comment_id}": { "get": { - "summary": "List custom deployment rule integrations available for an environment", - "description": "Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.\n\nFor more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see \"[GET an app](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "summary": "Get a commit comment", + "description": "Gets a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], - "operationId": "repos/list-custom-deployment-rule-integrations", + "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#get-a-commit-comment" }, "parameters": [ - { - "$ref": "#/components/parameters/environment-name" - }, - { - "$ref": "#/components/parameters/repo" - }, { "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/comment-id" } ], "responses": { "200": { - "description": "A list of custom deployment rule integrations available for this environment.", + "description": "Response", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "total_count": { - "description": "The total number of custom deployment protection rule integrations available for this environment.", - "type": "integer", - "examples": [ - 35 - ] - }, - "available_custom_deployment_protection_rule_integrations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/custom-deployment-rule-app" - } - } - } + "$ref": "#/components/schemas/commit-comment" }, "examples": { "default": { - "$ref": "#/components/examples/custom-deployment-protection-rule-apps" + "$ref": "#/components/examples/commit-comment" } } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "protection-rules" + "category": "commits", + "subcategory": "comments" } - } - }, - "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": { - "get": { - "summary": "Get a custom deployment protection rule", - "description": "Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + }, + "patch": { + "summary": "Update a commit comment", + "description": "Updates the contents of a specified commit comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "repos" ], - "operationId": "repos/get-custom-deployment-protection-rule", + "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -12108,85 +7278,111 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" - }, - { - "$ref": "#/components/parameters/protection-rule-id" + "$ref": "#/components/parameters/comment-id" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment" + } + }, + "required": [ + "body" + ] + }, + "examples": { + "default": { + "value": { + "body": "Nice change" + } + } + } + } + } + }, "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/deployment-protection-rule" + "$ref": "#/components/schemas/commit-comment" }, "examples": { "default": { - "$ref": "#/components/examples/deployment-protection-rule" + "$ref": "#/components/examples/commit-comment-2" } } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "protection-rules" + "category": "commits", + "subcategory": "comments" } }, "delete": { - "summary": "Disable a custom protection rule for an environment", - "description": "Disables a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "summary": "Delete a commit comment", + "description": "", "tags": [ "repos" ], - "operationId": "repos/disable-deployment-protection-rule", + "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/owner" }, { "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/protection-rule-id" + "$ref": "#/components/parameters/comment-id" } ], "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "deployments", - "subcategory": "protection-rules" + "category": "commits", + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/environments/{environment_name}/secrets": { + "/repos/{owner}/{repo}/commits": { "get": { - "summary": "List environment secrets", - "description": "Lists all secrets available in an environment without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "summary": "List commits", + "description": "**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", "tags": [ - "actions" + "repos" ], - "operationId": "actions/list-environment-secrets", + "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#list-environment-secrets" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits" }, "parameters": [ { @@ -12196,7 +7392,60 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "name": "sha", + "description": "SHA or branch to start listing commits from. Default: the repository\u2019s default branch (usually `main`).", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "path", + "description": "Only commits containing this file path will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "author", + "description": "GitHub username or email address to use to filter by commit author.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "committer", + "description": "GitHub username or email address to use to filter by commit committer.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "since", + "description": "Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "until", + "description": "Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } }, { "$ref": "#/components/parameters/per-page" @@ -12211,26 +7460,14 @@ "content": { "application/json": { "schema": { - "type": "object", - "required": [ - "total_count", - "secrets" - ], - "properties": { - "total_count": { - "type": "integer" - }, - "secrets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/actions-secret" - } - } + "type": "array", + "items": { + "$ref": "#/components/schemas/commit" } }, "examples": { "default": { - "$ref": "#/components/examples/actions-secret-paginated" + "$ref": "#/components/examples/commit-items" } } } @@ -12240,27 +7477,39 @@ "$ref": "#/components/headers/link" } } + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "secrets" + "category": "commits", + "subcategory": "commits" } } }, - "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key": { + "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": { "get": { - "summary": "Get an environment public key", - "description": "Get the public key for an environment, which you need to encrypt environment\nsecrets. You need to encrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "summary": "List branches for HEAD commit", + "description": "Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nReturns all branches where the given commit SHA is the HEAD, or latest commit for the branch.", "tags": [ - "actions" + "repos" ], - "operationId": "actions/get-environment-public-key", + "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -12270,7 +7519,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/commit-sha" } ], "responses": { @@ -12279,36 +7528,45 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/actions-public-key" + "type": "array", + "items": { + "$ref": "#/components/schemas/branch-short" + } }, "examples": { "default": { - "$ref": "#/components/examples/actions-public-key" + "$ref": "#/components/examples/branch-short-items" } } } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "secrets" + "category": "commits", + "subcategory": "commits" } } }, - "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": { + "/repos/{owner}/{repo}/commits/{commit_sha}/comments": { "get": { - "summary": "Get an environment secret", - "description": "Gets a single environment secret without revealing its encrypted value.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "summary": "List commit comments", + "description": "Lists the comments for a specified commit.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "actions" + "repos" ], - "operationId": "actions/get-environment-secret", + "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-secret" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -12318,10 +7576,13 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/commit-sha" }, { - "$ref": "#/components/parameters/secret-name" + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -12330,34 +7591,42 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/actions-secret" + "type": "array", + "items": { + "$ref": "#/components/schemas/commit-comment" + } }, "examples": { "default": { - "$ref": "#/components/examples/actions-secret" + "$ref": "#/components/examples/commit-comment-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "secrets" + "category": "commits", + "subcategory": "comments" } }, - "put": { - "summary": "Create or update an environment secret", - "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "post": { + "summary": "Create a commit comment", + "description": "Create a comment for a commit using its `:commit_sha`.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "actions" + "repos" ], - "operationId": "actions/create-or-update-environment-secret", + "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#create-or-update-an-environment-secret" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -12367,10 +7636,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" - }, - { - "$ref": "#/components/parameters/secret-name" + "$ref": "#/components/parameters/commit-sha" } ], "requestBody": { @@ -12380,69 +7646,156 @@ "schema": { "type": "object", "properties": { - "encrypted_value": { + "body": { "type": "string", - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key) endpoint.", - "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + "description": "The contents of the comment." }, - "key_id": { + "path": { "type": "string", - "description": "ID of the key you used to encrypt the secret." + "description": "Relative path of the file to comment on." + }, + "position": { + "type": "integer", + "description": "Line index in the diff to comment on." + }, + "line": { + "type": "integer", + "description": "**Deprecated**. Use **position** parameter instead. Line number in the file to comment on." } }, "required": [ - "encrypted_value", - "key_id" + "body" ] }, "examples": { "default": { "value": { - "encrypted_value": "c2VjcmV0", - "key_id": "012345678912345678" + "body": "Great stuff", + "path": "file1.txt", + "position": 4, + "line": 1 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/commit-comment" + }, + "examples": { + "default": { + "$ref": "#/components/examples/commit-comment" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/comments/1", + "schema": { + "type": "string" + } + } } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" } }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "commits", + "subcategory": "comments" + } + } + }, + "/repos/{owner}/{repo}/commits/{commit_sha}/pulls": { + "get": { + "summary": "List pull requests associated with a commit", + "description": "Lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.\n\nTo list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.", + "tags": [ + "repos" + ], + "operationId": "repos/list-pull-requests-associated-with-commit", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-pull-requests-associated-with-a-commit" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/commit-sha" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], "responses": { - "201": { - "description": "Response when creating a secret", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/empty-object" + "type": "array", + "items": { + "$ref": "#/components/schemas/pull-request-simple" + } }, "examples": { "default": { - "value": null + "$ref": "#/components/examples/pull-request-simple-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } }, - "204": { - "description": "Response when updating a secret" + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "secrets" + "category": "commits", + "subcategory": "commits" } - }, - "delete": { - "summary": "Delete an environment secret", - "description": "Deletes a secret in an environment using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + } + }, + "/repos/{owner}/{repo}/commits/{ref}": { + "get": { + "summary": "Get a commit", + "description": "Returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.\n\n**Note:** If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\" Pagination query parameters are not supported for these media types.\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.\n- **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", "tags": [ - "actions" + "repos" ], - "operationId": "actions/delete-environment-secret", + "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#delete-an-environment-secret" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -12452,36 +7805,66 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/page" }, { - "$ref": "#/components/parameters/secret-name" + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/commit-ref" } ], "responses": { - "204": { - "description": "Default response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/commit" + }, + "examples": { + "default": { + "$ref": "#/components/examples/commit" + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "secrets" + "category": "commits", + "subcategory": "commits" } } }, - "/repos/{owner}/{repo}/environments/{environment_name}/variables": { + "/repos/{owner}/{repo}/commits/{ref}/check-runs": { "get": { - "summary": "List environment variables", - "description": "Lists all environment variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "summary": "List check runs for a Git reference", + "description": "Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nIf there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-server@3.13/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-server@3.13/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.", "tags": [ - "actions" + "checks" ], - "operationId": "actions/list-environment-variables", + "operationId": "checks/list-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#list-environment-variables" + "url": "https://docs.github.com/enterprise-server@3.13/rest/checks/runs#list-check-runs-for-a-git-reference" }, "parameters": [ { @@ -12491,13 +7874,41 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/commit-ref" }, { - "$ref": "#/components/parameters/variables-per-page" + "$ref": "#/components/parameters/check-name" + }, + { + "$ref": "#/components/parameters/status" + }, + { + "name": "filter", + "description": "Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "latest", + "all" + ], + "default": "latest" + } + }, + { + "$ref": "#/components/parameters/per-page" }, { "$ref": "#/components/parameters/page" + }, + { + "name": "app_id", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } } ], "responses": { @@ -12509,23 +7920,23 @@ "type": "object", "required": [ "total_count", - "variables" + "check_runs" ], "properties": { "total_count": { "type": "integer" }, - "variables": { + "check_runs": { "type": "array", "items": { - "$ref": "#/components/schemas/actions-variable" + "$ref": "#/components/schemas/check-run" } } } }, "examples": { "default": { - "$ref": "#/components/examples/actions-variables-paginated" + "$ref": "#/components/examples/check-run-paginated" } } } @@ -12540,20 +7951,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "variables" + "category": "checks", + "subcategory": "runs" } - }, - "post": { - "summary": "Create an environment variable", - "description": "Create an environment variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + } + }, + "/repos/{owner}/{repo}/commits/{ref}/check-suites": { + "get": { + "summary": "List check suites for a Git reference", + "description": "Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.", "tags": [ - "actions" + "checks" ], - "operationId": "actions/create-environment-variable", + "operationId": "checks/list-suites-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#create-an-environment-variable" + "url": "https://docs.github.com/enterprise-server@3.13/rest/checks/suites#list-check-suites-for-a-git-reference" }, "parameters": [ { @@ -12563,90 +7976,26 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/environment-name" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the variable." - }, - "value": { - "type": "string", - "description": "The value of the variable." - } - }, - "required": [ - "name", - "value" - ] - }, - "examples": { - "default": { - "value": { - "name": "USERNAME", - "value": "octocat" - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/empty-object" - }, - "examples": { - "default": { - "value": null - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "variables" - } - } - }, - "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": { - "get": { - "summary": "Get an environment variable", - "description": "Gets a specific variable in an environment.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-environment-variable", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#get-an-environment-variable" - }, - "parameters": [ + "$ref": "#/components/parameters/commit-ref" + }, { - "$ref": "#/components/parameters/owner" + "name": "app_id", + "description": "Filters check suites by GitHub App `id`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + }, + "example": 1 }, { - "$ref": "#/components/parameters/repo" + "$ref": "#/components/parameters/check-name" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/per-page" }, { - "$ref": "#/components/parameters/variable-name" + "$ref": "#/components/parameters/page" } ], "responses": { @@ -12655,34 +8004,56 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/actions-variable" + "type": "object", + "required": [ + "total_count", + "check_suites" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "check_suites": { + "type": "array", + "items": { + "$ref": "#/components/schemas/check-suite" + } + } + } }, "examples": { "default": { - "$ref": "#/components/examples/actions-variable" + "$ref": "#/components/examples/check-suite-paginated" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "variables" + "category": "checks", + "subcategory": "suites" } - }, - "patch": { - "summary": "Update an environment variable", - "description": "Updates an environment variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + } + }, + "/repos/{owner}/{repo}/commits/{ref}/status": { + "get": { + "summary": "Get the combined status for a specific reference", + "description": "Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.\n\n\nAdditionally, a combined `state` is returned. The `state` is one of:\n\n* **failure** if any of the contexts report as `error` or `failure`\n* **pending** if there are no statuses or a context is `pending`\n* **success** if the latest status for all contexts is `success`", "tags": [ - "actions" + "repos" ], - "operationId": "actions/update-environment-variable", + "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#update-an-environment-variable" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -12692,101 +8063,54 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/variable-name" + "$ref": "#/components/parameters/commit-ref" }, { - "$ref": "#/components/parameters/environment-name" + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the variable." - }, - "value": { - "type": "string", - "description": "The value of the variable." - } - } - }, - "examples": { - "default": { - "value": { - "name": "USERNAME", - "value": "octocat" + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/combined-commit-status" + }, + "examples": { + "default": { + "$ref": "#/components/examples/combined-commit-status" } } } } - } - }, - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "variables" - } - }, - "delete": { - "summary": "Delete an environment variable", - "description": "Deletes an environment variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/delete-environment-variable", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#delete-an-environment-variable" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" }, - { - "$ref": "#/components/parameters/variable-name" - }, - { - "$ref": "#/components/parameters/environment-name" - } - ], - "responses": { - "204": { - "description": "Response" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "variables" + "category": "commits", + "subcategory": "statuses" } } }, - "/repos/{owner}/{repo}/hooks": { + "/repos/{owner}/{repo}/commits/{ref}/statuses": { "get": { - "summary": "List repository webhooks", - "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", + "summary": "List commit statuses for a reference", + "description": "Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.\n\nThis resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.", "tags": [ "repos" ], - "operationId": "repos/list-webhooks", + "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -12795,6 +8119,9 @@ { "$ref": "#/components/parameters/repo" }, + { + "$ref": "#/components/parameters/commit-ref" + }, { "$ref": "#/components/parameters/per-page" }, @@ -12810,12 +8137,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/hook" + "$ref": "#/components/schemas/status" } }, "examples": { "default": { - "$ref": "#/components/examples/hook-items" + "$ref": "#/components/examples/status-items" } } } @@ -12826,159 +8153,99 @@ } } }, - "404": { - "$ref": "#/components/responses/not_found" + "301": { + "$ref": "#/components/responses/moved_permanently" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "commits", + "subcategory": "statuses" } - }, - "post": { - "summary": "Create a repository webhook", - "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.", - "tags": [ - "repos" - ], - "operationId": "repos/create-webhook", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#create-a-repository-webhook" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": [ - "object", - "null" - ], - "properties": { - "name": { - "type": "string", - "description": "Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`." - }, - "config": { - "type": "object", - "description": "Key/value pairs to provide settings for this webhook.", - "properties": { - "url": { - "$ref": "#/components/schemas/webhook-config-url" - }, - "content_type": { - "$ref": "#/components/schemas/webhook-config-content-type" - }, - "secret": { - "$ref": "#/components/schemas/webhook-config-secret" - }, - "insecure_ssl": { - "$ref": "#/components/schemas/webhook-config-insecure-ssl" - } - } - }, - "events": { - "type": "array", - "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for.", - "default": [ - "push" - ], - "items": { - "type": "string" - } - }, - "active": { - "type": "boolean", - "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", - "default": true - } - }, - "additionalProperties": false - }, - "examples": { - "default": { - "value": { - "name": "web", - "active": true, - "events": [ - "push", - "pull_request" - ], - "config": { - "url": "https://example.com/webhook", - "content_type": "json", - "insecure_ssl": "0" - } - } - } - } + } + }, + "/repos/{owner}/{repo}/compare/{basehead}": { + "get": { + "summary": "Compare two commits", + "description": "Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see \"[Understanding connections between repositories](https://docs.github.com/enterprise-server@3.13/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories).\"\n\nThis endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.diff`**: Returns the diff of the commit.\n- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.\n\nThe API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.\n\nWhen calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.\n\n**Working with large comparisons**\n\nTo process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:\n\n- The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.\n- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.\n\nFor more information on working with pagination, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api).\"\n\n**Signature verification object**\n\nThe response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:\n\n| Name | Type | Description |\n| ---- | ---- | ----------- |\n| `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. |\n| `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. |\n| `signature` | `string` | The signature that was extracted from the commit. |\n| `payload` | `string` | The value that was signed. |\n\nThese are the possible values for `reason` in the `verification` object:\n\n| Value | Description |\n| ----- | ----------- |\n| `expired_key` | The key that made the signature is expired. |\n| `not_signing_key` | The \"signing\" flag is not among the usage flags in the GPG key that made the signature. |\n| `gpgverify_error` | There was an error communicating with the signature verification service. |\n| `gpgverify_unavailable` | The signature verification service is currently unavailable. |\n| `unsigned` | The object does not include a signature. |\n| `unknown_signature_type` | A non-PGP signature was found in the commit. |\n| `no_user` | No user was associated with the `committer` email address in the commit. |\n| `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. |\n| `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. |\n| `unknown_key` | The key that made the signature has not been registered with any user's account. |\n| `malformed_signature` | There was an error parsing the signature. |\n| `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. |\n| `valid` | None of the above errors applied, so the signature is considered to be verified. |", + "tags": [ + "repos" + ], + "operationId": "repos/compare-commits", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/commits/commits#compare-two-commits" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "basehead", + "description": "The base branch and head branch to compare. This parameter expects the format `BASE...HEAD`. Both must be branch names in `repo`. To compare with a branch that exists in a different repository in the same network as `repo`, the `basehead` parameter expects the format `USERNAME:BASE...USERNAME:HEAD`.", + "in": "path", + "required": true, + "x-multi-segment": true, + "schema": { + "type": "string" } } - }, + ], "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/hook" + "$ref": "#/components/schemas/commit-comparison" }, "examples": { "default": { - "$ref": "#/components/examples/hook" + "$ref": "#/components/examples/commit-comparison" } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678", - "schema": { - "type": "string" - } - } } }, "404": { "$ref": "#/components/responses/not_found" }, - "422": { - "$ref": "#/components/responses/validation_failed" + "500": { + "$ref": "#/components/responses/internal_error" }, - "403": { - "$ref": "#/components/responses/forbidden" + "503": { + "$ref": "#/components/responses/service_unavailable" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "commits", + "subcategory": "commits" } } }, - "/repos/{owner}/{repo}/hooks/{hook_id}": { + "/repos/{owner}/{repo}/contents/{path}": { "get": { - "summary": "Get a repository webhook", - "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository).\"", + "summary": "Get repository content", + "description": "Gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.\n- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).\n- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.\n\nIf the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value _should_ be \"submodule\". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as \"submodule\".\n\nIf the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.\n\nIf the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the github.com URLs (`html_url` and `_links[\"html\"]`) will have null values.\n\n**Notes**:\n\n- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.13/rest/git/trees#get-a-tree).\n- This API has an upper limit of 1,000 files for a directory. If you need to retrieve\nmore files, use the [Git Trees API](https://docs.github.com/enterprise-server@3.13/rest/git/trees#get-a-tree).\n- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.\n- If the requested file's size is:\n - 1 MB or smaller: All features of this endpoint are supported.\n - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty\nstring and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n - Greater than 100 MB: This endpoint is not supported.", "tags": [ "repos" ], - "operationId": "repos/get-webhook", + "operationId": "repos/get-content", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/contents#get-repository-content" }, "parameters": [ { @@ -12988,20 +8255,71 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/hook-id" + "name": "path", + "description": "path parameter", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true + }, + { + "name": "ref", + "description": "The name of the commit/branch/tag. Default: the repository\u2019s default branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { "description": "Response", "content": { + "application/vnd.github.object": { + "schema": { + "$ref": "#/components/schemas/content-tree" + }, + "examples": { + "response-if-content-is-a-file": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-file" + }, + "response-if-content-is-a-directory": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-directory-object" + } + } + }, "application/json": { "schema": { - "$ref": "#/components/schemas/hook" + "oneOf": [ + { + "$ref": "#/components/schemas/content-directory" + }, + { + "$ref": "#/components/schemas/content-file" + }, + { + "$ref": "#/components/schemas/content-symlink" + }, + { + "$ref": "#/components/schemas/content-submodule" + } + ] }, "examples": { - "default": { - "$ref": "#/components/examples/hook" + "response-if-content-is-a-file": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-file" + }, + "response-if-content-is-a-directory": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-directory" + }, + "response-if-content-is-a-symlink": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-symlink" + }, + "response-if-content-is-a-submodule": { + "$ref": "#/components/examples/content-file-response-if-content-is-a-submodule" } } } @@ -13009,25 +8327,34 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "302": { + "$ref": "#/components/responses/found" + }, + "304": { + "$ref": "#/components/responses/not_modified" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "webhooks" + "subcategory": "contents" } }, - "patch": { - "summary": "Update a repository webhook", - "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository).\"", + "put": { + "summary": "Create or update file contents", + "description": "Creates a new file or replaces an existing file in a repository.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.13/rest/repos/contents/#delete-a-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory.", "tags": [ "repos" ], - "operationId": "repos/update-webhook", + "operationId": "repos/create-or-update-file-contents", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/contents#create-or-update-file-contents" }, "parameters": [ { @@ -13037,7 +8364,14 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/hook-id" + "name": "path", + "description": "path parameter", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true } ], "requestBody": { @@ -13047,47 +8381,98 @@ "schema": { "type": "object", "properties": { - "config": { - "$ref": "#/components/schemas/webhook-config" + "message": { + "type": "string", + "description": "The commit message." }, - "events": { - "type": "array", - "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", - "default": [ - "push" - ], - "items": { - "type": "string" - } + "content": { + "type": "string", + "description": "The new file content, using Base64 encoding." }, - "add_events": { - "type": "array", - "description": "Determines a list of events to be added to the list of events that the Hook triggers for.", - "items": { - "type": "string" - } + "sha": { + "type": "string", + "description": "**Required if you are updating a file**. The blob SHA of the file being replaced." }, - "remove_events": { - "type": "array", - "description": "Determines a list of events to be removed from the list of events that the Hook triggers for.", - "items": { - "type": "string" - } + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch." }, - "active": { - "type": "boolean", - "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", - "default": true + "committer": { + "type": "object", + "description": "The person that committed the file. Default: the authenticated user.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-05T13:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + }, + "author": { + "type": "object", + "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-15T17:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + } + }, + "required": [ + "message", + "content" + ] + }, + "examples": { + "example-for-creating-a-file": { + "summary": "Example for creating a file", + "value": { + "message": "my commit message", + "committer": { + "name": "Monalisa Octocat", + "email": "octocat@github.com" + }, + "content": "bXkgbmV3IGZpbGUgY29udGVudHM=" } - } - }, - "examples": { - "default": { + }, + "example-for-updating-a-file": { + "summary": "Example for updating a file", "value": { - "active": true, - "add_events": [ - "pull_request" - ] + "message": "a new commit message", + "committer": { + "name": "Monalisa Octocat", + "email": "octocat@github.com" + }, + "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz", + "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3" } } } @@ -13100,125 +8485,58 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/hook" + "$ref": "#/components/schemas/file-commit" }, "examples": { - "default": { - "$ref": "#/components/examples/hook" + "example-for-updating-a-file": { + "$ref": "#/components/examples/file-commit-example-for-updating-a-file" } } } } }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" - } - }, - "delete": { - "summary": "Delete a repository webhook", - "description": "", - "tags": [ - "repos" - ], - "operationId": "repos/delete-webhook", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#delete-a-repository-webhook" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/hook-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" - } - } - }, - "/repos/{owner}/{repo}/hooks/{hook_id}/config": { - "get": { - "summary": "Get a webhook configuration for a repository", - "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/webhooks/repos#get-a-repository-webhook).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:repo_hook` or `repo` scope to use this endpoint.", - "tags": [ - "repos" - ], - "operationId": "repos/get-webhook-config-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/hook-id" - } - ], - "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-config" + "$ref": "#/components/schemas/file-commit" }, "examples": { - "default": { - "$ref": "#/components/examples/webhook-config" + "example-for-creating-a-file": { + "$ref": "#/components/examples/file-commit-example-for-creating-a-file" } } } } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "409": { + "$ref": "#/components/responses/conflict" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "webhooks" + "subcategory": "contents" } }, - "patch": { - "summary": "Update a webhook configuration for a repository", - "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook).\"\n\nOAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint.", + "delete": { + "summary": "Delete a file", + "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.13/rest/repos/contents/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.", "tags": [ "repos" ], - "operationId": "repos/update-webhook-config-for-repo", + "operationId": "repos/delete-file", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/contents#delete-a-file" }, "parameters": [ { @@ -13228,37 +8546,78 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/hook-id" + "name": "path", + "description": "path parameter", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": false, "properties": { - "url": { - "$ref": "#/components/schemas/webhook-config-url" + "message": { + "type": "string", + "description": "The commit message." }, - "content_type": { - "$ref": "#/components/schemas/webhook-config-content-type" + "sha": { + "type": "string", + "description": "The blob SHA of the file being deleted." }, - "secret": { - "$ref": "#/components/schemas/webhook-config-secret" + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch" }, - "insecure_ssl": { - "$ref": "#/components/schemas/webhook-config-insecure-ssl" + "committer": { + "type": "object", + "description": "object containing information about the committer.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author (or committer) of the commit" + }, + "email": { + "type": "string", + "description": "The email of the author (or committer) of the commit" + } + } + }, + "author": { + "type": "object", + "description": "object containing information about the author.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author (or committer) of the commit" + }, + "email": { + "type": "string", + "description": "The email of the author (or committer) of the commit" + } + } } - } + }, + "required": [ + "message", + "sha" + ] }, "examples": { "default": { - "summary": "Example of updating content type and URL", "value": { - "content_type": "json", - "url": "https://example.com/webhook" + "message": "my commit message", + "committer": { + "name": "Monalisa Octocat", + "email": "octocat@github.com" + }, + "sha": "329688480d39049927147c162b9d2deaf885005f" } } } @@ -13271,36 +8630,48 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-config" + "$ref": "#/components/schemas/file-commit" }, "examples": { "default": { - "$ref": "#/components/examples/webhook-config" + "$ref": "#/components/examples/file-commit" } } } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "repos", - "subcategory": "webhooks" + "subcategory": "contents" } } }, - "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries": { + "/repos/{owner}/{repo}/deployments": { "get": { - "summary": "List deliveries for a repository webhook", - "description": "Returns a list of webhook deliveries for a webhook configured in a repository.", + "summary": "List deployments", + "description": "Simple filtering of deployments is available via query parameters:", "tags": [ "repos" ], - "operationId": "repos/list-webhook-deliveries", + "operationId": "repos/list-deployments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#list-deployments" }, "parameters": [ { @@ -13310,21 +8681,53 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/hook-id" + "name": "sha", + "description": "The SHA recorded at creation time.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "none" + } }, { - "$ref": "#/components/parameters/per-page" + "name": "ref", + "description": "The name of the ref. This can be a branch, tag, or SHA.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "none" + } }, { - "$ref": "#/components/parameters/cursor" + "name": "task", + "description": "The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "none" + } }, { - "name": "redelivery", + "name": "environment", + "description": "The name of the environment that was deployed to (e.g., `staging` or `production`).", "in": "query", "required": false, "schema": { - "type": "boolean" + "type": [ + "string", + "null" + ], + "default": "none" } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -13335,43 +8738,40 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/hook-delivery-item" + "$ref": "#/components/schemas/deployment" } }, "examples": { "default": { - "$ref": "#/components/examples/hook-delivery-items" + "$ref": "#/components/examples/deployment-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "deployments", + "subcategory": "deployments" } - } - }, - "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": { - "get": { - "summary": "Get a delivery for a repository webhook", - "description": "Returns a delivery for a webhook configured in a repository.", + }, + "post": { + "summary": "Create a deployment", + "description": "Deployments offer a few configurable parameters with certain defaults.\n\nThe `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify them\nbefore we merge a pull request.\n\nThe `environment` parameter allows deployments to be issued to different runtime environments. Teams often have\nmultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parameter\nmakes it easier to track which environments have requested deployments. The default environment is `production`.\n\nThe `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. If\nthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,\nthe API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API will\nreturn a failure response.\n\nBy default, [commit statuses](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses) for every submitted context must be in a `success`\nstate. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or to\nspecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you do\nnot require any contexts or create any commit statuses, the deployment will always succeed.\n\nThe `payload` parameter is available for any extra information that a deployment system might need. It is a JSON text\nfield that will be passed on when a deployment event is dispatched.\n\nThe `task` parameter is used by the deployment system to allow different execution paths. In the web world this might\nbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile an\napplication with debugging enabled.\n\nMerged branch response:\n\nYou will see this response when GitHub automatically merges the base branch into the topic branch instead of creating\na deployment. This auto-merge happens when:\n* Auto-merge option is enabled in the repository\n* Topic branch does not include the latest changes on the base branch, which is `master` in the response example\n* There are no merge conflicts\n\nIf there are no new commits in the base branch, a new request to create a deployment should give a successful\nresponse.\n\nMerge conflict response:\n\nThis error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can't\nbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.\n\nFailed commit status checks:\n\nThis error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`\nstatus for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", "tags": [ "repos" ], - "operationId": "repos/get-webhook-delivery", + "operationId": "repos/create-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#create-a-deployment" }, "parameters": [ { @@ -13379,77 +8779,142 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/hook-id" - }, - { - "$ref": "#/components/parameters/delivery-id" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The ref to deploy. This can be a branch, tag, or SHA." + }, + "task": { + "type": "string", + "description": "Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).", + "default": "deploy" + }, + "auto_merge": { + "type": "boolean", + "description": "Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.", + "default": true + }, + "required_contexts": { + "type": "array", + "description": "The [status](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", + "items": { + "type": "string" + } + }, + "payload": { + "oneOf": [ + { + "type": "object", + "additionalProperties": true + }, + { + "type": "string", + "description": "JSON payload with extra information about the deployment.", + "default": "" + } + ] + }, + "environment": { + "type": "string", + "description": "Name for the target deployment environment (e.g., `production`, `staging`, `qa`).", + "default": "production" + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the deployment.", + "default": "" + }, + "transient_environment": { + "type": "boolean", + "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`", + "default": false + }, + "production_environment": { + "type": "boolean", + "description": "Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise." + } + }, + "required": [ + "ref" + ] + }, + "examples": { + "simple-example": { + "summary": "Simple example", + "value": { + "ref": "topic-branch", + "payload": "{ \"deploy\": \"migrate\" }", + "description": "Deploy request from hubot" + } + }, + "advanced-example": { + "summary": "Advanced example", + "value": { + "ref": "topic-branch", + "auto_merge": false, + "payload": "{ \"deploy\": \"migrate\" }", + "description": "Deploy request from hubot", + "required_contexts": [ + "ci/janky", + "security/brakeman" + ] + } + } + } + } + } + }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/hook-delivery" + "$ref": "#/components/schemas/deployment" }, "examples": { - "default": { - "$ref": "#/components/examples/hook-delivery" + "simple-example": { + "$ref": "#/components/examples/deployment-simple-example" } } } } }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" - } - } - }, - "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": { - "post": { - "summary": "Redeliver a delivery for a repository webhook", - "description": "Redeliver a webhook delivery for a webhook configured in a repository.", - "tags": [ - "repos" - ], - "operationId": "repos/redeliver-webhook-delivery", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/hook-id" - }, - { - "$ref": "#/components/parameters/delivery-id" - } - ], - "responses": { "202": { - "$ref": "#/components/responses/accepted" + "description": "Merged branch response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, + "examples": { + "merged-branch-response": { + "value": { + "message": "Auto-merged master into topic-branch on deployment." + } + } + } + } + } }, - "400": { - "$ref": "#/components/responses/bad_request" + "409": { + "description": "Conflict when there is a merge conflict or the commit's status checks failed" }, "422": { "$ref": "#/components/responses/validation_failed" @@ -13458,22 +8923,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "deployments", + "subcategory": "deployments" } } }, - "/repos/{owner}/{repo}/hooks/{hook_id}/pings": { - "post": { - "summary": "Ping a repository webhook", - "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.13/webhooks/#ping-event) to be sent to the hook.", + "/repos/{owner}/{repo}/deployments/{deployment_id}": { + "get": { + "summary": "Get a deployment", + "description": "", "tags": [ "repos" ], - "operationId": "repos/ping-webhook", + "operationId": "repos/get-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#get-a-deployment" }, "parameters": [ { @@ -13483,12 +8948,24 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/hook-id" + "$ref": "#/components/parameters/deployment-id" } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/deployment" + }, + "examples": { + "default": { + "$ref": "#/components/examples/deployment" + } + } + } + } }, "404": { "$ref": "#/components/responses/not_found" @@ -13497,22 +8974,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "deployments", + "subcategory": "deployments" } - } - }, - "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { - "post": { - "summary": "Test the push repository webhook", - "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`", + }, + "delete": { + "summary": "Delete a deployment", + "description": "If the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.\n\nTo set a deployment as inactive, you must:\n\n* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.\n* Mark the active deployment as inactive by adding any non-successful deployment status.\n\nFor more information, see \"[Create a deployment](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments/#create-a-deployment)\" and \"[Create a deployment status](https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#create-a-deployment-status).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint.", "tags": [ "repos" ], - "operationId": "repos/test-push-webhook", + "operationId": "repos/delete-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#delete-a-deployment" }, "parameters": [ { @@ -13522,7 +8997,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/hook-id" + "$ref": "#/components/parameters/deployment-id" } ], "responses": { @@ -13531,27 +9006,30 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "deployments", + "subcategory": "deployments" } } }, - "/repos/{owner}/{repo}/invitations": { + "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses": { "get": { - "summary": "List repository invitations", - "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.", + "summary": "List deployment statuses", + "description": "Users with pull access can view deployment statuses for a deployment:", "tags": [ "repos" ], - "operationId": "repos/list-invitations", + "operationId": "repos/list-deployment-statuses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/invitations#list-repository-invitations" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#list-deployment-statuses" }, "parameters": [ { @@ -13560,6 +9038,9 @@ { "$ref": "#/components/parameters/repo" }, + { + "$ref": "#/components/parameters/deployment-id" + }, { "$ref": "#/components/parameters/per-page" }, @@ -13575,12 +9056,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/repository-invitation" + "$ref": "#/components/schemas/deployment-status" } }, "examples": { "default": { - "$ref": "#/components/examples/repository-invitation-items" + "$ref": "#/components/examples/deployment-status-items" } } } @@ -13590,27 +9071,28 @@ "$ref": "#/components/headers/link" } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "invitations" + "category": "deployments", + "subcategory": "statuses" } - } - }, - "/repos/{owner}/{repo}/invitations/{invitation_id}": { - "patch": { - "summary": "Update a repository invitation", - "description": "", + }, + "post": { + "summary": "Create a deployment status", + "description": "Users with `push` access can create deployment statuses for a given deployment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint.", "tags": [ "repos" ], - "operationId": "repos/update-invitation", + "operationId": "repos/create-deployment-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/invitations#update-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#create-a-deployment-status" }, "parameters": [ { @@ -13620,74 +9102,181 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/invitation-id" + "$ref": "#/components/parameters/deployment-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "permissions": { + "state": { "type": "string", - "description": "The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`.", + "description": "The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub.", "enum": [ - "read", - "write", - "maintain", - "triage", - "admin" + "error", + "failure", + "inactive", + "in_progress", + "queued", + "pending", + "success" ] + }, + "target_url": { + "type": "string", + "description": "The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`.", + "default": "" + }, + "log_url": { + "type": "string", + "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"`", + "default": "" + }, + "description": { + "type": "string", + "description": "A short description of the status. The maximum description length is 140 characters.", + "default": "" + }, + "environment": { + "type": "string", + "description": "Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used." + }, + "environment_url": { + "type": "string", + "description": "Sets the URL for accessing your environment. Default: `\"\"`", + "default": "" + }, + "auto_inactive": { + "type": "boolean", + "description": "Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true`" } - } + }, + "required": [ + "state" + ] }, "examples": { "default": { - "summary": "Example request body", "value": { - "permissions": "write" + "environment": "production", + "state": "success", + "log_url": "https://example.com/deployment/42/output", + "description": "Deployment finished successfully." + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/deployment-status" + }, + "examples": { + "default": { + "$ref": "#/components/examples/deployment-status" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1", + "schema": { + "type": "string" + } + } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" } }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "deployments", + "subcategory": "statuses" + } + } + }, + "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": { + "get": { + "summary": "Get a deployment status", + "description": "Users with pull access can view a deployment status for a deployment:", + "tags": [ + "repos" + ], + "operationId": "repos/get-deployment-status", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#get-a-deployment-status" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/deployment-id" + }, + { + "name": "status_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/repository-invitation" + "$ref": "#/components/schemas/deployment-status" }, "examples": { "default": { - "$ref": "#/components/examples/repository-invitation" + "$ref": "#/components/examples/deployment-status" } } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "invitations" + "category": "deployments", + "subcategory": "statuses" } - }, - "delete": { - "summary": "Delete a repository invitation", - "description": "", + } + }, + "/repos/{owner}/{repo}/environments": { + "get": { + "summary": "List environments", + "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ "repos" ], - "operationId": "repos/delete-invitation", + "operationId": "repos/get-all-environments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/invitations#delete-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#list-environments" }, "parameters": [ { @@ -13697,33 +9286,63 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/invitation-id" + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of environments in this repository", + "type": "integer", + "examples": [ + 5 + ] + }, + "environments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/environment" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/environments" + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "collaborators", - "subcategory": "invitations" + "category": "deployments", + "subcategory": "environments" } } }, - "/repos/{owner}/{repo}/issues": { + "/repos/{owner}/{repo}/environments/{environment_name}": { "get": { - "summary": "List repository issues", - "description": "List issues in a repository. Only open issues will be listed.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Get an environment", + "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/list-for-repo", + "operationId": "repos/get-environment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#list-repository-issues" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#get-an-environment" }, "parameters": [ { @@ -13733,85 +9352,7 @@ "$ref": "#/components/parameters/repo" }, { - "name": "milestone", - "description": "If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the issues to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "assignee", - "description": "Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "creator", - "description": "The user that created the issue.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mentioned", - "description": "A user that's mentioned in the issue.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/labels" - }, - { - "name": "sort", - "description": "What to sort results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated", - "comments" - ], - "default": "created" - } - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/since" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/environment-name" } ], "responses": { @@ -13820,51 +9361,34 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/issue" - } + "$ref": "#/components/schemas/environment" }, "examples": { "default": { - "$ref": "#/components/examples/issue-items" + "$ref": "#/components/examples/environment" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issues" + "category": "deployments", + "subcategory": "environments" } }, - "post": { - "summary": "Create an issue", - "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/enterprise-server@3.13/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "put": { + "summary": "Create or update an environment", + "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[GitHub Actions secrets](/rest/actions/secrets).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/create", + "operationId": "repos/create-or-update-environment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#create-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#create-or-update-an-environment" }, "parameters": [ { @@ -13872,111 +9396,74 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "type": "object", + "type": [ + "object", + "null" + ], "properties": { - "title": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ], - "description": "The title of the issue." + "wait_timer": { + "$ref": "#/components/schemas/wait-timer" }, - "body": { - "type": "string", - "description": "The contents of the issue." + "prevent_self_review": { + "$ref": "#/components/schemas/prevent-self-review" }, - "assignee": { + "reviewers": { "type": [ - "string", + "array", "null" ], - "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_" - }, - "milestone": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer", - "description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._" - } - ], - "type": [ - "null", - "string", - "integer" - ] - }, - "labels": { - "type": "array", - "description": "Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._", + "description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", "items": { - "oneOf": [ - { - "type": "string" + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/deployment-reviewer-type" }, - { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - } - } + "id": { + "type": "integer", + "description": "The id of the user or team who can review the deployment", + "examples": [ + 4532992 + ] } - ] + } } }, - "assignees": { - "type": "array", - "description": "Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._", - "items": { - "type": "string" - } + "deployment_branch_policy": { + "$ref": "#/components/schemas/deployment-branch-policy-settings" } }, - "required": [ - "title" - ] + "additionalProperties": false }, "examples": { "default": { "value": { - "title": "Found a bug", - "body": "I'm having a problem with this.", - "assignees": [ - "octocat" - ], - "milestone": 1, - "labels": [ - "bug" - ] + "wait_timer": 30, + "prevent_self_review": false, + "reviewers": [ + { + "type": "User", + "id": 1 + }, + { + "type": "Team", + "id": 1 + } + ], + "deployment_branch_policy": { + "protected_branches": false, + "custom_branch_policies": true + } } } } @@ -13984,68 +9471,85 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue" + "$ref": "#/components/schemas/environment" }, "examples": { "default": { - "$ref": "#/components/examples/issue" + "$ref": "#/components/examples/environment" } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + } + }, + "422": { + "description": "Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` are set to the same value", + "content": { + "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/basic-error" } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "deployments", + "subcategory": "environments" + } + }, + "delete": { + "summary": "Delete an environment", + "description": "OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "repos" + ], + "operationId": "repos/delete-an-environment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/environments#delete-an-environment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - }, - "404": { - "$ref": "#/components/responses/not_found" + { + "$ref": "#/components/parameters/repo" }, - "410": { - "$ref": "#/components/responses/gone" + { + "$ref": "#/components/parameters/environment-name" + } + ], + "responses": { + "204": { + "description": "Default response" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issues" + "category": "deployments", + "subcategory": "environments" } } }, - "/repos/{owner}/{repo}/issues/comments": { + "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": { "get": { - "summary": "List issue comments for a repository", - "description": "You can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.\n\nBy default, issue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "List deployment branch policies", + "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/list-comments-for-repo", + "operationId": "repos/list-deployment-branch-policies", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#list-issue-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#list-deployment-branch-policies" }, "parameters": [ { @@ -14055,23 +9559,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/sort" - }, - { - "name": "direction", - "description": "Either `asc` or `desc`. Ignored without the `sort` parameter.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "$ref": "#/components/parameters/since" + "$ref": "#/components/parameters/environment-name" }, { "$ref": "#/components/parameters/per-page" @@ -14086,50 +9574,145 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/issue-comment" - } + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment branch policies for the environment.", + "type": "integer", + "examples": [ + 2 + ] + }, + "branch_policies": { + "type": "array", + "items": { + "$ref": "#/components/schemas/deployment-branch-policy" + } + } + }, + "required": [ + "total_count", + "branch_policies" + ] }, "examples": { "default": { - "$ref": "#/components/examples/issue-comment-items" + "$ref": "#/components/examples/deployment-branch-policies-list" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "deployments", + "subcategory": "branch-policies" + } + }, + "post": { + "summary": "Create a deployment branch policy", + "description": "Creates a deployment branch or tag policy for an environment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "repos" + ], + "operationId": "repos/create-deployment-branch-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#create-a-deployment-branch-policy" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "422": { - "$ref": "#/components/responses/validation_failed" + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/deployment-branch-policy-name-pattern-with-type" + }, + "examples": { + "example-wildcard": { + "summary": "Example of a wildcard name pattern", + "value": { + "name": "release/*" + } + }, + "example-single-branch": { + "summary": "Example of a single branch name pattern", + "value": { + "name": "main", + "type": "branch" + } + }, + "example-single-tag": { + "summary": "Example of a single tag name pattern", + "value": { + "name": "v1", + "type": "tag" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/deployment-branch-policy" + }, + "examples": { + "example-wildcard": { + "$ref": "#/components/examples/deployment-branch-policy-wildcard" + }, + "example-single-branch": { + "$ref": "#/components/examples/deployment-branch-policy-single-branch" + }, + "example-single-tag": { + "$ref": "#/components/examples/deployment-branch-policy-single-tag" + } + } + } + } }, "404": { - "$ref": "#/components/responses/not_found" + "description": "Not Found or `deployment_branch_policy.custom_branch_policies` property for the environment is set to false" + }, + "303": { + "description": "Response if the same branch name pattern already exists" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "comments" + "category": "deployments", + "subcategory": "branch-policies" } } }, - "/repos/{owner}/{repo}/issues/comments/{comment_id}": { + "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": { "get": { - "summary": "Get an issue comment", - "description": "You can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Get a deployment branch policy", + "description": "Gets a deployment branch or tag policy for an environment.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/get-comment", + "operationId": "repos/get-deployment-branch-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#get-a-deployment-branch-policy" }, "parameters": [ { @@ -14139,7 +9722,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/branch-policy-id" } ], "responses": { @@ -14148,37 +9734,34 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue-comment" + "$ref": "#/components/schemas/deployment-branch-policy" }, "examples": { "default": { - "$ref": "#/components/examples/issue-comment" + "$ref": "#/components/examples/deployment-branch-policy-wildcard" } } } - } - }, - "404": { - "$ref": "#/components/responses/not_found" + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "comments" + "category": "deployments", + "subcategory": "branch-policies" } }, - "patch": { - "summary": "Update an issue comment", - "description": "You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "put": { + "summary": "Update a deployment branch policy", + "description": "Updates a deployment branch or tag policy for an environment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/update-comment", + "operationId": "repos/update-deployment-branch-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#update-an-issue-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#update-a-deployment-branch-policy" }, "parameters": [ { @@ -14188,7 +9771,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/branch-policy-id" } ], "requestBody": { @@ -14196,21 +9782,12 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "The contents of the comment." - } - }, - "required": [ - "body" - ] + "$ref": "#/components/schemas/deployment-branch-policy-name-pattern" }, "examples": { "default": { "value": { - "body": "Me too" + "name": "release/*" } } } @@ -14223,37 +9800,34 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue-comment" + "$ref": "#/components/schemas/deployment-branch-policy" }, "examples": { "default": { - "$ref": "#/components/examples/issue-comment" + "$ref": "#/components/examples/deployment-branch-policy-wildcard" } } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "comments" + "category": "deployments", + "subcategory": "branch-policies" } }, "delete": { - "summary": "Delete an issue comment", - "description": "You can use the REST API to delete comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.", + "summary": "Delete a deployment branch policy", + "description": "Deletes a deployment branch or tag policy for an environment.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/delete-comment", + "operationId": "repos/delete-deployment-branch-policy", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#delete-an-issue-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/branch-policies#delete-a-deployment-branch-policy" }, "parameters": [ { @@ -14263,7 +9837,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/branch-policy-id" } ], "responses": { @@ -14274,307 +9851,252 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "comments" + "category": "deployments", + "subcategory": "branch-policies" } } }, - "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": { + "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": { "get": { - "summary": "List reactions for an issue comment", - "description": "List the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment).", + "summary": "Get all deployment protection rules for an environment", + "description": "Gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/list-for-issue-comment", + "operationId": "repos/get-all-deployment-protection-rules", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-an-issue-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment" }, "parameters": [ { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/environment-name" }, { "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" - }, - { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/owner" } ], "responses": { "200": { - "description": "Response", + "description": "List of deployment protection rules", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" + "type": "object", + "properties": { + "total_count": { + "description": "The number of enabled custom deployment protection rules for this environment", + "type": "integer", + "examples": [ + 10 + ] + }, + "custom_deployment_protection_rules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/deployment-protection-rule" + } + } + }, + "example": { + "$ref": "#/components/examples/deployment-protection-rules" } }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "value": { + "total_count": 2, + "custom_deployment_protection_rules": [ + { + "id": 3, + "node_id": "IEH37kRlcGxveW1lbnRTdGF0ddiv", + "enabled": true, + "app": { + "id": 1, + "node_id": "GHT58kRlcGxveW1lbnRTdTY!bbcy", + "slug": "a-custom-app", + "integration_url": "https://api.github.com/apps/a-custom-app" + } + }, + { + "id": 4, + "node_id": "MDE2OkRlcGxveW1lbnRTdHJ41128", + "enabled": true, + "app": { + "id": 1, + "node_id": "UHVE67RlcGxveW1lbnRTdTY!jfeuy", + "slug": "another-custom-app", + "integration_url": "https://api.github.com/apps/another-custom-app" + } + } + ] + } } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "deployments", + "subcategory": "protection-rules" } }, "post": { - "summary": "Create reaction for an issue comment", - "description": "Create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.", + "summary": "Create a custom deployment protection rule on an environment", + "description": "Enable a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nFor more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/create-for-issue-comment", + "operationId": "repos/create-deployment-protection-rule", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-an-issue-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment" }, "parameters": [ { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/environment-name" }, { "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/owner" } ], "requestBody": { - "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the issue comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "integration_id": { + "type": "integer", + "description": "The ID of the custom app that will be enabled on the environment." } - }, - "required": [ - "content" - ] + } }, "examples": { "default": { "value": { - "content": "heart" + "integration_id": 5 } } } } - } + }, + "required": true }, "responses": { - "200": { - "description": "Reaction exists", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, "201": { - "description": "Reaction created", + "description": "The enabled custom deployment protection rule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/deployment-protection-rule" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/deployment-protection-rule" } } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "deployments", + "subcategory": "protection-rules" } } }, - "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete an issue comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment).", + "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps": { + "get": { + "summary": "List custom deployment rule integrations available for an environment", + "description": "Gets all custom deployment protection rule integrations that are available for an environment. Anyone with read access to the repository can use this endpoint.\n\nFor more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see \"[GET an app](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/delete-for-issue-comment", + "operationId": "repos/list-custom-deployment-rule-integrations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#delete-an-issue-comment-reaction" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment" }, "parameters": [ { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/environment-name" }, { "$ref": "#/components/parameters/repo" }, - { - "$ref": "#/components/parameters/comment-id" - }, - { - "$ref": "#/components/parameters/reaction-id" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/repos/{owner}/{repo}/issues/events": { - "get": { - "summary": "List issue events for a repository", - "description": "Lists events for a repository.", - "tags": [ - "issues" - ], - "operationId": "issues/list-events-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/events#list-issue-events-for-a-repository" - }, - "parameters": [ { "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/repo" + "$ref": "#/components/parameters/page" }, { "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" } ], "responses": { "200": { - "description": "Response", + "description": "A list of custom deployment rule integrations available for this environment.", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/issue-event" + "type": "object", + "properties": { + "total_count": { + "description": "The total number of custom deployment protection rule integrations available for this environment.", + "type": "integer", + "examples": [ + 35 + ] + }, + "available_custom_deployment_protection_rule_integrations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/custom-deployment-rule-app" + } + } } }, "examples": { "default": { - "$ref": "#/components/examples/issue-event-items" + "$ref": "#/components/examples/custom-deployment-protection-rule-apps" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" + "category": "deployments", + "subcategory": "protection-rules" } } }, - "/repos/{owner}/{repo}/issues/events/{event_id}": { + "/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": { "get": { - "summary": "Get an issue event", - "description": "Gets a single event by the event id.", + "summary": "Get a custom deployment protection rule", + "description": "Gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment).\"\n\nFor more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/enterprise-server@3.13/rest/apps/apps#get-an-app).\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/get-event", + "operationId": "repos/get-custom-deployment-protection-rule", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/events#get-an-issue-event" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule" }, "parameters": [ { @@ -14584,12 +10106,10 @@ "$ref": "#/components/parameters/repo" }, { - "name": "event_id", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/protection-rule-id" } ], "responses": { @@ -14598,103 +10118,73 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue-event" + "$ref": "#/components/schemas/deployment-protection-rule" }, "examples": { "default": { - "$ref": "#/components/examples/issue-event" + "$ref": "#/components/examples/deployment-protection-rule" } } } } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "403": { - "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" + "category": "deployments", + "subcategory": "protection-rules" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}": { - "get": { - "summary": "Get an issue", - "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was\n[transferred](https://docs.github.com/enterprise-server@3.13/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Disable a custom protection rule for an environment", + "description": "Disables a custom deployment protection rule for an environment.\n\nThe authenticated user must have admin or owner permissions to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/get", + "operationId": "repos/disable-deployment-protection-rule", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment" }, "parameters": [ { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/environment-name" }, { "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/protection-rule-id" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/issue" - }, - "examples": { - "default": { - "$ref": "#/components/examples/issue" - } - } - } - } - }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "304": { - "$ref": "#/components/responses/not_modified" + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issues" + "category": "deployments", + "subcategory": "protection-rules" } - }, - "patch": { - "summary": "Update an issue", - "description": "Issue owners and users with push access can edit an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + } + }, + "/repos/{owner}/{repo}/environments/{environment_name}/secrets": { + "get": { + "summary": "List environment secrets", + "description": "Lists all secrets available in an environment without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "actions" ], - "operationId": "issues/update", + "operationId": "actions/list-environment-secrets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#update-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#list-environment-secrets" }, "parameters": [ { @@ -14704,202 +10194,119 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "title": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ], - "description": "The title of the issue.", - "type": [ - "null", - "string", - "integer" - ] - }, - "body": { - "type": [ - "string", - "null" - ], - "description": "The contents of the issue." - }, - "assignee": { - "type": [ - "string", - "null" - ], - "description": "Username to assign to this issue. **This field is deprecated.**" - }, - "state": { - "type": "string", - "description": "The open or closed state of the issue.", - "enum": [ - "open", - "closed" - ] - }, - "state_reason": { - "type": [ - "string", - "null" - ], - "enum": [ - "completed", - "not_planned", - "reopened", - null - ], - "description": "The reason for the state change. Ignored unless `state` is changed.", - "examples": [ - "not_planned" - ] - }, - "milestone": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "integer", - "description": "The `number` of the milestone to associate this issue with or use `null` to remove the current milestone. Only users with push access can set the milestone for issues. Without push access to the repository, milestone changes are silently dropped." - } - ], - "type": [ - "null", - "string", - "integer" - ] - }, - "labels": { - "type": "array", - "description": "Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped.", - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "color": { - "type": [ - "string", - "null" - ] - } - } - } - ] - } - }, - "assignees": { - "type": "array", - "description": "Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped.", - "items": { - "type": "string" + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-secret" + } } } - } - }, - "examples": { - "default": { - "value": { - "title": "Found a bug", - "body": "I'm having a problem with this.", - "assignees": [ - "octocat" - ], - "milestone": 1, - "state": "open", - "labels": [ - "bug" - ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret-paginated" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } } }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key": { + "get": { + "summary": "Get an environment public key", + "description": "Get the public key for an environment, which you need to encrypt environment\nsecrets. You need to encrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-environment-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue" + "$ref": "#/components/schemas/actions-public-key" }, "examples": { "default": { - "$ref": "#/components/examples/issue" + "$ref": "#/components/examples/actions-public-key" } } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issues" + "category": "actions", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/assignees": { - "post": { - "summary": "Add assignees to an issue", - "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.", + "/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": { + "get": { + "summary": "Get an environment secret", + "description": "Gets a single environment secret without revealing its encrypted value.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "actions" ], - "operationId": "issues/add-assignees", + "operationId": "actions/get-environment-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/assignees#add-assignees-to-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-secret" }, "parameters": [ { @@ -14909,49 +10316,23 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/secret-name" } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "assignees": { - "type": "array", - "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", - "items": { - "type": "string" - } - } - } - }, - "examples": { - "default": { - "value": { - "assignees": [ - "hubot", - "other_user" - ] - } - } - } - } - } - }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue" + "$ref": "#/components/schemas/actions-secret" }, "examples": { "default": { - "$ref": "#/components/examples/issue" + "$ref": "#/components/examples/actions-secret" } } } @@ -14961,20 +10342,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "assignees" + "category": "actions", + "subcategory": "secrets" } }, - "delete": { - "summary": "Remove assignees from an issue", - "description": "Removes one or more assignees from an issue.", + "put": { + "summary": "Create or update an environment secret", + "description": "Creates or updates an environment secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "actions" ], - "operationId": "issues/remove-assignees", + "operationId": "actions/create-or-update-environment-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/assignees#remove-assignees-from-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#create-or-update-an-environment-secret" }, "parameters": [ { @@ -14984,31 +10365,39 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/secret-name" } ], "requestBody": { + "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "assignees": { - "type": "array", - "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._", - "items": { - "type": "string" - } + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." } - } + }, + "required": [ + "encrypted_value", + "key_id" + ] }, "examples": { "default": { "value": { - "assignees": [ - "hubot", - "other_user" - ] + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" } } } @@ -15016,41 +10405,42 @@ } }, "responses": { - "200": { - "description": "Response", + "201": { + "description": "Response when creating a secret", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue" + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/issue" + "value": null } } } } + }, + "204": { + "description": "Response when updating a secret" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "assignees" + "category": "actions", + "subcategory": "secrets" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}": { - "get": { - "summary": "Check if a user can be assigned to a issue", - "description": "Checks if a user has permission to be assigned to a specific issue.\n\nIf the `assignee` can be assigned to this issue, a `204` status code with no content is returned.\n\nOtherwise a `404` status code is returned.", + }, + "delete": { + "summary": "Delete an environment secret", + "description": "Deletes a secret in an environment using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "actions" ], - "operationId": "issues/check-user-can-be-assigned-to-issue", + "operationId": "actions/delete-environment-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#delete-an-environment-secret" }, "parameters": [ { @@ -15058,53 +10448,38 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/issue-number" - }, - { - "name": "assignee", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Response if `assignee` can be assigned to `issue_number`" - }, - "404": { - "description": "Response if `assignee` can not be assigned to `issue_number`", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - } - } - } + }, + { + "$ref": "#/components/parameters/environment-name" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Default response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "assignees" + "category": "actions", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/comments": { + "/repos/{owner}/{repo}/environments/{environment_name}/variables": { "get": { - "summary": "List issue comments", - "description": "You can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nIssue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "List environment variables", + "description": "Lists all environment variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "actions" ], - "operationId": "issues/list-comments", + "operationId": "actions/list-environment-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#list-issue-comments" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#list-environment-variables" }, "parameters": [ { @@ -15114,13 +10489,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" - }, - { - "$ref": "#/components/parameters/since" + "$ref": "#/components/parameters/environment-name" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/variables-per-page" }, { "$ref": "#/components/parameters/page" @@ -15132,14 +10504,26 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/issue-comment" + "type": "object", + "required": [ + "total_count", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-variable" + } + } } }, "examples": { "default": { - "$ref": "#/components/examples/issue-comment-items" + "$ref": "#/components/examples/actions-variables-paginated" } } } @@ -15149,31 +10533,25 @@ "$ref": "#/components/headers/link" } } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "comments" + "category": "actions", + "subcategory": "variables" } }, "post": { - "summary": "Create an issue comment", - "description": "You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications).\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Create an environment variable", + "description": "Create an environment variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "actions" ], - "operationId": "issues/create-comment", + "operationId": "actions/create-environment-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#create-an-issue-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#create-an-environment-variable" }, "parameters": [ { @@ -15183,7 +10561,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/environment-name" } ], "requestBody": { @@ -15193,19 +10571,25 @@ "schema": { "type": "object", "properties": { - "body": { + "name": { "type": "string", - "description": "The contents of the comment." + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." } }, "required": [ - "body" + "name", + "value" ] }, "examples": { "default": { "value": { - "body": "Me too" + "name": "USERNAME", + "value": "octocat" } } } @@ -15218,57 +10602,36 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/issue-comment" + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/issue-comment" + "value": null } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1", - "schema": { - "type": "string" - } - } } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "comments" + "category": "actions", + "subcategory": "variables" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/events": { + "/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": { "get": { - "summary": "List issue events", - "description": "Lists all events for an issue.", + "summary": "Get an environment variable", + "description": "Gets a specific variable in an environment.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "issues" + "actions" ], - "operationId": "issues/list-events", + "operationId": "actions/get-environment-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/events#list-issue-events" + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#get-an-environment-variable" }, "parameters": [ { @@ -15278,13 +10641,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/environment-name" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/variable-name" } ], "responses": { @@ -15293,47 +10653,138 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/issue-event-for-issue" - } + "$ref": "#/components/schemas/actions-variable" }, "examples": { "default": { - "$ref": "#/components/examples/issue-event-for-issue-items" + "$ref": "#/components/examples/actions-variable" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an environment variable", + "description": "Updates an environment variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/update-environment-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#update-an-environment-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } } } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an environment variable", + "description": "Deletes an environment variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-environment-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/actions/variables#delete-an-environment-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "410": { - "$ref": "#/components/responses/gone" + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/environment-name" + } + ], + "responses": { + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "events" + "category": "actions", + "subcategory": "variables" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels": { + "/repos/{owner}/{repo}/hooks": { "get": { - "summary": "List labels for an issue", - "description": "Lists all labels for an issue.", + "summary": "List repository webhooks", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/list-labels-on-issue", + "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#list-labels-for-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#list-repository-webhooks" }, "parameters": [ { @@ -15342,9 +10793,6 @@ { "$ref": "#/components/parameters/repo" }, - { - "$ref": "#/components/parameters/issue-number" - }, { "$ref": "#/components/parameters/per-page" }, @@ -15360,12 +10808,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/label" + "$ref": "#/components/schemas/hook" } }, "examples": { "default": { - "$ref": "#/components/examples/label-items" + "$ref": "#/components/examples/hook-items" } } } @@ -15376,33 +10824,27 @@ } } }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, "404": { "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "repos", + "subcategory": "webhooks" } }, "post": { - "summary": "Add labels to an issue", - "description": "Adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. ", + "summary": "Create a repository webhook", + "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can\nshare the same `config` as long as those webhooks do not have any `events` that overlap.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/add-labels", + "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#add-labels-to-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#create-a-repository-webhook" }, "parameters": [ { @@ -15410,9 +10852,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/issue-number" } ], "requestBody": { @@ -15420,214 +10859,65 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see \"[Set labels for an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#set-labels-for-an-issue).\"", - "items": { - "type": "string" - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } + "type": [ + "object", + "null" + ], + "properties": { + "name": { + "type": "string", + "description": "Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`." }, - { + "config": { "type": "object", + "description": "Key/value pairs to provide settings for this webhook.", "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } + "url": { + "$ref": "#/components/schemas/webhook-config-url" }, - "required": [ - "name" - ] - } - }, - { - "type": "string" - } - ] - }, - "examples": { - "default": { - "value": { - "labels": [ - "bug", - "enhancement" - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/label" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/label-items" - } - } - } - } - }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" - } - }, - "put": { - "summary": "Set labels for an issue", - "description": "Removes any previous labels and sets the new labels for an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/set-labels", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#set-labels-for-an-issue" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/issue-number" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#add-labels-to-an-issue).\"", - "items": { - "type": "string" - } + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" } } }, - { + "events": { "type": "array", - "minItems": 1, + "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for.", + "default": [ + "push" + ], "items": { "type": "string" } }, - { - "type": "object", - "properties": { - "labels": { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - } - } - }, - { - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - }, - { - "type": "string" + "active": { + "type": "boolean", + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "default": true } - ] + }, + "additionalProperties": false }, "examples": { "default": { "value": { - "labels": [ - "bug", - "enhancement" - ] + "name": "web", + "active": true, + "events": [ + "push", + "pull_request" + ], + "config": { + "url": "https://example.com/webhook", + "content_type": "json", + "insecure_ssl": "0" + } } } } @@ -15635,99 +10925,58 @@ } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/label" - } + "$ref": "#/components/schemas/hook" }, "examples": { "default": { - "$ref": "#/components/examples/label-items" + "$ref": "#/components/examples/hook" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678", + "schema": { + "type": "string" + } + } } }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, "404": { "$ref": "#/components/responses/not_found" }, - "410": { - "$ref": "#/components/responses/gone" - }, "422": { "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" - } - }, - "delete": { - "summary": "Remove all labels from an issue", - "description": "Removes all labels from an issue.", - "tags": [ - "issues" - ], - "operationId": "issues/remove-all-labels", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#remove-all-labels-from-an-issue" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/issue-number" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "repos", + "subcategory": "webhooks" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { - "delete": { - "summary": "Remove a label from an issue", - "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", + "/repos/{owner}/{repo}/hooks/{hook_id}": { + "get": { + "summary": "Get a repository webhook", + "description": "Returns a webhook configured in a repository. To get only the webhook `config` properties, see \"[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository).\"", "tags": [ - "issues" + "repos" ], - "operationId": "issues/remove-label", + "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#remove-a-label-from-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#get-a-repository-webhook" }, "parameters": [ { @@ -15737,15 +10986,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" - }, - { - "name": "name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/hook-id" } ], "responses": { @@ -15754,48 +10995,37 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/label" - } + "$ref": "#/components/schemas/hook" }, "examples": { "default": { - "$ref": "#/components/examples/label-items-2" + "$ref": "#/components/examples/hook" } } } } }, - "301": { - "$ref": "#/components/responses/moved_permanently" - }, "404": { "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "repos", + "subcategory": "webhooks" } - } - }, - "/repos/{owner}/{repo}/issues/{issue_number}/lock": { - "put": { - "summary": "Lock an issue", - "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", + }, + "patch": { + "summary": "Update a repository webhook", + "description": "Updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use \"[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository).\"", "tags": [ - "issues" + "repos" ], - "operationId": "issues/lock", + "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#lock-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#update-a-repository-webhook" }, "parameters": [ { @@ -15805,36 +11035,57 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/hook-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { - "type": [ - "object", - "null" - ], + "type": "object", "properties": { - "lock_reason": { - "type": "string", - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", - "enum": [ - "off-topic", - "too heated", - "resolved", - "spam" - ] + "config": { + "$ref": "#/components/schemas/webhook-config" + }, + "events": { + "type": "array", + "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", + "default": [ + "push" + ], + "items": { + "type": "string" + } + }, + "add_events": { + "type": "array", + "description": "Determines a list of events to be added to the list of events that the Hook triggers for.", + "items": { + "type": "string" + } + }, + "remove_events": { + "type": "array", + "description": "Determines a list of events to be removed from the list of events that the Hook triggers for.", + "items": { + "type": "string" + } + }, + "active": { + "type": "boolean", + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "default": true } } }, "examples": { "default": { - "summary": "Example of locking an issue as off-topic", "value": { - "lock_reason": "off-topic" + "active": true, + "add_events": [ + "pull_request" + ] } } } @@ -15842,39 +11093,45 @@ } }, "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/hook" + }, + "examples": { + "default": { + "$ref": "#/components/examples/hook" + } + } + } + } }, - "410": { - "$ref": "#/components/responses/gone" + "422": { + "$ref": "#/components/responses/validation_failed" }, "404": { "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issues" + "category": "repos", + "subcategory": "webhooks" } }, "delete": { - "summary": "Unlock an issue", - "description": "Users with push access can unlock an issue's conversation.", + "summary": "Delete a repository webhook", + "description": "", "tags": [ - "issues" + "repos" ], - "operationId": "issues/unlock", + "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#unlock-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#delete-a-repository-webhook" }, "parameters": [ { @@ -15884,16 +11141,13 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/hook-id" } ], "responses": { "204": { "description": "Response" }, - "403": { - "$ref": "#/components/responses/forbidden" - }, "404": { "$ref": "#/components/responses/not_found" } @@ -15901,22 +11155,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "issues" + "category": "repos", + "subcategory": "webhooks" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/reactions": { + "/repos/{owner}/{repo}/hooks/{hook_id}/config": { "get": { - "summary": "List reactions for an issue", - "description": "List the reactions to an [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue).", + "summary": "Get a webhook configuration for a repository", + "description": "Returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use \"[Get a repository webhook](/rest/webhooks/repos#get-a-repository-webhook).\"\n\nOAuth app tokens and personal access tokens (classic) need the `read:repo_hook` or `repo` scope to use this endpoint.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/list-for-issue", + "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -15926,32 +11180,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" - }, - { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/hook-id" } ], "responses": { @@ -15960,48 +11189,34 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } + "$ref": "#/components/schemas/webhook-config" }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/webhook-config" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "repos", + "subcategory": "webhooks" } }, - "post": { - "summary": "Create reaction for an issue", - "description": "Create a reaction to an [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "patch": { + "summary": "Update a webhook configuration for a repository", + "description": "Updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use \"[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook).\"\n\nOAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/create-for-issue", + "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -16011,39 +11226,37 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/hook-id" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", + "additionalProperties": false, "properties": { - "content": { - "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the issue.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "url": { + "$ref": "#/components/schemas/webhook-config-url" + }, + "content_type": { + "$ref": "#/components/schemas/webhook-config-content-type" + }, + "secret": { + "$ref": "#/components/schemas/webhook-config-secret" + }, + "insecure_ssl": { + "$ref": "#/components/schemas/webhook-config-insecure-ssl" } - }, - "required": [ - "content" - ] + } }, "examples": { "default": { + "summary": "Example of updating content type and URL", "value": { - "content": "heart" + "content_type": "json", + "url": "https://example.com/webhook" } } } @@ -16056,54 +11269,36 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } - } - } - } - }, - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/webhook-config" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/webhook-config" } } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "reactions", - "subcategory": "reactions" + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "webhooks" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete an issue reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue).", + "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries": { + "get": { + "summary": "List deliveries for a repository webhook", + "description": "Returns a list of webhook deliveries for a webhook configured in a repository.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/delete-for-issue", + "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#delete-an-issue-reaction" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -16113,36 +11308,68 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" + "$ref": "#/components/parameters/hook-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/cursor" }, { - "$ref": "#/components/parameters/reaction-id" + "name": "redelivery", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/hook-delivery-item" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/hook-delivery-items" + } + } + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "repos", + "subcategory": "webhooks" } } }, - "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { + "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}": { "get": { - "summary": "List timeline events for an issue", - "description": "List all timeline events for an issue.", + "summary": "Get a delivery for a repository webhook", + "description": "Returns a delivery for a webhook configured in a repository.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/list-events-for-timeline", + "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/timeline#list-timeline-events-for-an-issue" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -16152,13 +11379,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/issue-number" - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/hook-id" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/delivery-id" } ], "responses": { @@ -16167,50 +11391,42 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/timeline-issue-events" - } + "$ref": "#/components/schemas/hook-delivery" }, "examples": { "default": { - "$ref": "#/components/examples/timeline-issue-events" + "$ref": "#/components/examples/hook-delivery" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } }, - "404": { - "$ref": "#/components/responses/not_found" + "400": { + "$ref": "#/components/responses/bad_request" }, - "410": { - "$ref": "#/components/responses/gone" + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "timeline" + "category": "repos", + "subcategory": "webhooks" } } }, - "/repos/{owner}/{repo}/labels": { - "get": { - "summary": "List labels for a repository", - "description": "Lists all labels for a repository.", + "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts": { + "post": { + "summary": "Redeliver a delivery for a repository webhook", + "description": "Redeliver a webhook delivery for a webhook configured in a repository.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/list-labels-for-repo", + "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#list-labels-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -16220,35 +11436,57 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/hook-id" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/delivery-id" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/label" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/label-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } + "202": { + "$ref": "#/components/responses/accepted" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "webhooks" + } + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/pings": { + "post": { + "summary": "Ping a repository webhook", + "description": "This will trigger a [ping event](https://docs.github.com/enterprise-server@3.13/webhooks/#ping-event) to be sent to the hook.", + "tags": [ + "repos" + ], + "operationId": "repos/ping-webhook", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#ping-a-repository-webhook" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" + } + ], + "responses": { + "204": { + "description": "Response" }, "404": { "$ref": "#/components/responses/not_found" @@ -16257,20 +11495,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "repos", + "subcategory": "webhooks" } - }, + } + }, + "/repos/{owner}/{repo}/hooks/{hook_id}/tests": { "post": { - "summary": "Create a label", - "description": "Creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/).", + "summary": "Test the push repository webhook", + "description": "This will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.\n\n**Note**: Previously `/repos/:owner/:repo/hooks/:hook_id/test`", "tags": [ - "issues" + "repos" ], - "operationId": "issues/create-label", + "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#create-a-label" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/webhooks#test-the-push-repository-webhook" }, "parameters": [ { @@ -16278,70 +11518,14 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/hook-id" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" - }, - "color": { - "type": "string", - "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." - }, - "description": { - "type": "string", - "description": "A short description of the label. Must be 100 characters or fewer." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "bug", - "description": "Something isn't working", - "color": "f29513" - } - } - } - } - } - }, "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/label" - }, - "examples": { - "default": { - "$ref": "#/components/examples/label" - } - } - } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" + "204": { + "description": "Response" }, "404": { "$ref": "#/components/responses/not_found" @@ -16350,22 +11534,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "repos", + "subcategory": "webhooks" } } }, - "/repos/{owner}/{repo}/labels/{name}": { + "/repos/{owner}/{repo}/invitations": { "get": { - "summary": "Get a label", - "description": "Gets a label using the given name.", + "summary": "List repository invitations", + "description": "When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.", "tags": [ - "issues" + "repos" ], - "operationId": "issues/get-label", + "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#get-a-label" + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -16375,12 +11559,10 @@ "$ref": "#/components/parameters/repo" }, { - "name": "name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -16389,37 +11571,44 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/label" + "type": "array", + "items": { + "$ref": "#/components/schemas/repository-invitation" + } }, "examples": { "default": { - "$ref": "#/components/examples/label" + "$ref": "#/components/examples/repository-invitation-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "collaborators", + "subcategory": "invitations" } - }, + } + }, + "/repos/{owner}/{repo}/invitations/{invitation_id}": { "patch": { - "summary": "Update a label", - "description": "Updates a label using the given label name.", + "summary": "Update a repository invitation", + "description": "", "tags": [ - "issues" + "repos" ], - "operationId": "issues/update-label", + "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#update-a-label" + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -16429,12 +11618,7 @@ "$ref": "#/components/parameters/repo" }, { - "name": "name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/invitation-id" } ], "requestBody": { @@ -16444,26 +11628,24 @@ "schema": { "type": "object", "properties": { - "new_name": { - "type": "string", - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" - }, - "color": { - "type": "string", - "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." - }, - "description": { + "permissions": { "type": "string", - "description": "A short description of the label. Must be 100 characters or fewer." + "description": "The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`.", + "enum": [ + "read", + "write", + "maintain", + "triage", + "admin" + ] } } }, "examples": { "default": { + "summary": "Example request body", "value": { - "new_name": "bug :bug:", - "description": "Small bug fix required", - "color": "b01f26" + "permissions": "write" } } } @@ -16476,11 +11658,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/label" + "$ref": "#/components/schemas/repository-invitation" }, "examples": { "default": { - "$ref": "#/components/examples/label-2" + "$ref": "#/components/examples/repository-invitation" } } } @@ -16490,20 +11672,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "collaborators", + "subcategory": "invitations" } }, "delete": { - "summary": "Delete a label", - "description": "Deletes a label using the given label name.", + "summary": "Delete a repository invitation", + "description": "", "tags": [ - "issues" + "repos" ], - "operationId": "issues/delete-label", + "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#delete-a-label" + "url": "https://docs.github.com/enterprise-server@3.13/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -16513,12 +11695,7 @@ "$ref": "#/components/parameters/repo" }, { - "name": "name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/invitation-id" } ], "responses": { @@ -16529,22 +11706,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "issues", - "subcategory": "labels" + "category": "collaborators", + "subcategory": "invitations" } } }, - "/repos/{owner}/{repo}/milestones": { + "/repos/{owner}/{repo}/issues": { "get": { - "summary": "List milestones", - "description": "Lists milestones for a repository.", + "summary": "List repository issues", + "description": "List issues in a repository. Only open issues will be listed.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], - "operationId": "issues/list-milestones", + "operationId": "issues/list-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#list-milestones" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#list-repository-issues" }, "parameters": [ { @@ -16554,48 +11731,80 @@ "$ref": "#/components/parameters/repo" }, { - "name": "state", - "description": "The state of the milestone. Either `open`, `closed`, or `all`.", + "name": "milestone", + "description": "If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "state", + "description": "Indicates the state of the issues to return.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "closed", + "all" + ], + "default": "open" + } + }, + { + "name": "assignee", + "description": "Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "creator", + "description": "The user that created the issue.", "in": "query", "required": false, "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" + "type": "string" } }, { - "name": "sort", - "description": "What to sort results by. Either `due_on` or `completeness`.", + "name": "mentioned", + "description": "A user that's mentioned in the issue.", "in": "query", "required": false, "schema": { - "type": "string", - "enum": [ - "due_on", - "completeness" - ], - "default": "due_on" + "type": "string" } }, { - "name": "direction", - "description": "The direction of the sort. Either `asc` or `desc`.", + "$ref": "#/components/parameters/labels" + }, + { + "name": "sort", + "description": "What to sort results by.", "in": "query", "required": false, "schema": { "type": "string", "enum": [ - "asc", - "desc" + "created", + "updated", + "comments" ], - "default": "asc" + "default": "created" } }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/since" + }, { "$ref": "#/components/parameters/per-page" }, @@ -16611,12 +11820,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/milestone" + "$ref": "#/components/schemas/issue" } }, "examples": { "default": { - "$ref": "#/components/examples/milestone-items" + "$ref": "#/components/examples/issue-items" } } } @@ -16627,6 +11836,12 @@ } } }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, "404": { "$ref": "#/components/responses/not_found" } @@ -16635,125 +11850,284 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "milestones" + "subcategory": "issues" } }, "post": { - "summary": "Create a milestone", - "description": "Creates a milestone.", + "summary": "Create an issue", + "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/enterprise-server@3.13/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], - "operationId": "issues/create-milestone", + "operationId": "issues/create", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#create-a-milestone" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#create-an-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], + "description": "The title of the issue." + }, + "body": { + "type": "string", + "description": "The contents of the issue." + }, + "assignee": { + "type": [ + "string", + "null" + ], + "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_" + }, + "milestone": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer", + "description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._" + } + ], + "type": [ + "null", + "string", + "integer" + ] + }, + "labels": { + "type": "array", + "description": "Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "description": "Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._", + "items": { + "type": "string" + } + } + }, + "required": [ + "title" + ] + }, + "examples": { + "default": { + "value": { + "title": "Found a bug", + "body": "I'm having a problem with this.", + "assignees": [ + "octocat" + ], + "milestone": 1, + "labels": [ + "bug" + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue" + } + } + } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347", + "schema": { + "type": "string" + } + } + } + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + } + }, + "/repos/{owner}/{repo}/issues/comments": { + "get": { + "summary": "List issue comments for a repository", + "description": "You can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.\n\nBy default, issue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "issues" + ], + "operationId": "issues/list-comments-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#list-issue-comments-for-a-repository" }, "parameters": [ { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "name": "direction", + "description": "Either `asc` or `desc`. Ignored without the `sort` parameter.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + } + }, + { + "$ref": "#/components/parameters/since" }, { - "$ref": "#/components/parameters/repo" + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "title": { - "type": "string", - "description": "The title of the milestone." - }, - "state": { - "type": "string", - "description": "The state of the milestone. Either `open` or `closed`.", - "enum": [ - "open", - "closed" - ], - "default": "open" - }, - "description": { - "type": "string", - "description": "A description of the milestone." - }, - "due_on": { - "type": "string", - "format": "date-time", - "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." - } - }, - "required": [ - "title" - ] - }, - "examples": { - "default": { - "value": { - "title": "v1.0", - "state": "open", - "description": "Tracking milestone for version 1.0", - "due_on": "2012-10-09T23:39:01Z" - } - } - } - } - } - }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/milestone" + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-comment" + } }, "examples": { "default": { - "$ref": "#/components/examples/milestone" + "$ref": "#/components/examples/issue-comment-items" } } } }, "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "schema": { - "type": "string" - } + "Link": { + "$ref": "#/components/headers/link" } } }, - "404": { - "$ref": "#/components/responses/not_found" - }, "422": { "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "milestones" + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/milestones/{milestone_number}": { + "/repos/{owner}/{repo}/issues/comments/{comment_id}": { "get": { - "summary": "Get a milestone", - "description": "Gets a milestone using the given milestone number.", + "summary": "Get an issue comment", + "description": "You can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], - "operationId": "issues/get-milestone", + "operationId": "issues/get-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#get-a-milestone" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment" }, "parameters": [ { @@ -16763,7 +12137,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/milestone-number" + "$ref": "#/components/parameters/comment-id" } ], "responses": { @@ -16772,11 +12146,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/milestone" + "$ref": "#/components/schemas/issue-comment" }, "examples": { "default": { - "$ref": "#/components/examples/milestone" + "$ref": "#/components/examples/issue-comment" } } } @@ -16790,19 +12164,19 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "milestones" + "subcategory": "comments" } }, "patch": { - "summary": "Update a milestone", - "description": "", + "summary": "Update an issue comment", + "description": "You can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ "issues" ], - "operationId": "issues/update-milestone", + "operationId": "issues/update-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#update-a-milestone" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#update-an-issue-comment" }, "parameters": [ { @@ -16812,47 +12186,29 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/milestone-number" + "$ref": "#/components/parameters/comment-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "title": { - "type": "string", - "description": "The title of the milestone." - }, - "state": { - "type": "string", - "description": "The state of the milestone. Either `open` or `closed`.", - "enum": [ - "open", - "closed" - ], - "default": "open" - }, - "description": { - "type": "string", - "description": "A description of the milestone." - }, - "due_on": { + "body": { "type": "string", - "format": "date-time", - "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." + "description": "The contents of the comment." } - } + }, + "required": [ + "body" + ] }, "examples": { "default": { "value": { - "title": "v1.0", - "state": "open", - "description": "Tracking milestone for version 1.0", - "due_on": "2012-10-09T23:39:01Z" + "body": "Me too" } } } @@ -16865,34 +12221,37 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/milestone" + "$ref": "#/components/schemas/issue-comment" }, "examples": { "default": { - "$ref": "#/components/examples/milestone" + "$ref": "#/components/examples/issue-comment" } } } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "milestones" + "subcategory": "comments" } }, "delete": { - "summary": "Delete a milestone", - "description": "Deletes a milestone using the given milestone number.", + "summary": "Delete an issue comment", + "description": "You can use the REST API to delete comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.", "tags": [ "issues" ], - "operationId": "issues/delete-milestone", + "operationId": "issues/delete-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#delete-a-milestone" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#delete-an-issue-comment" }, "parameters": [ { @@ -16902,36 +12261,33 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/milestone-number" + "$ref": "#/components/parameters/comment-id" } ], "responses": { "204": { "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "milestones" + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/milestones/{milestone_number}/labels": { + "/repos/{owner}/{repo}/issues/events": { "get": { - "summary": "List labels for issues in a milestone", - "description": "Lists labels for issues in a milestone.", + "summary": "List issue events for a repository", + "description": "Lists events for a repository.", "tags": [ "issues" ], - "operationId": "issues/list-labels-for-milestone", + "operationId": "issues/list-events-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#list-labels-for-issues-in-a-milestone" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/events#list-issue-events-for-a-repository" }, "parameters": [ { @@ -16940,9 +12296,6 @@ { "$ref": "#/components/parameters/repo" }, - { - "$ref": "#/components/parameters/milestone-number" - }, { "$ref": "#/components/parameters/per-page" }, @@ -16958,12 +12311,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/label" + "$ref": "#/components/schemas/issue-event" } }, "examples": { "default": { - "$ref": "#/components/examples/label-items" + "$ref": "#/components/examples/issue-event-items" } } } @@ -16973,27 +12326,92 @@ "$ref": "#/components/headers/link" } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "events" + } + } + }, + "/repos/{owner}/{repo}/issues/events/{event_id}": { + "get": { + "summary": "Get an issue event", + "description": "Gets a single event by the event id.", + "tags": [ + "issues" + ], + "operationId": "issues/get-event", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/events#get-an-issue-event" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "event_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/issue-event" + }, + "examples": { + "default": { + "$ref": "#/components/examples/issue-event" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "issues", - "subcategory": "labels" + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/pulls": { + "/repos/{owner}/{repo}/issues/{issue_number}": { "get": { - "summary": "List pull requests", - "description": "Lists pull requests in a specified repository.\n\nDraft pull requests are available in public repositories with GitHub\nFree and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing\nplans, and in public and private repositories with GitHub Team and GitHub Enterprise\nCloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products)\nin the GitHub Help documentation.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Get an issue", + "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was\n[transferred](https://docs.github.com/enterprise-server@3.13/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests)\" endpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list", + "operationId": "issues/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue" }, "parameters": [ { @@ -17003,72 +12421,7 @@ "$ref": "#/components/parameters/repo" }, { - "name": "state", - "description": "Either `open`, `closed`, or `all` to filter by state.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "head", - "description": "Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "base", - "description": "Filter pulls by base branch name. Example: `gh-pages`.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated", - "popularity", - "long-running" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/issue-number" } ], "responses": { @@ -17077,48 +12430,46 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/pull-request-simple" - } + "$ref": "#/components/schemas/issue" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-simple-items" + "$ref": "#/components/examples/issue" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, "304": { "$ref": "#/components/responses/not_modified" - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" + "category": "issues", + "subcategory": "issues" } }, - "post": { - "summary": "Create a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "patch": { + "summary": "Update an issue", + "description": "Issue owners and users with push access can edit an issue.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/create", + "operationId": "issues/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#create-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#update-an-issue" }, "parameters": [ { @@ -17126,68 +12477,144 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { "title": { - "type": "string", - "description": "The title of the new pull request. Required unless `issue` is specified." - }, - "head": { - "type": "string", - "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`." - }, - "head_repo": { - "type": "string", - "description": "The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.", - "format": "repo.nwo", - "examples": [ - "octo-org/octo-repo" + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], + "description": "The title of the issue.", + "type": [ + "null", + "string", + "integer" ] }, - "base": { - "type": "string", - "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository." - }, "body": { - "type": "string", - "description": "The contents of the pull request." + "type": [ + "string", + "null" + ], + "description": "The contents of the issue." }, - "maintainer_can_modify": { - "type": "boolean", - "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." + "assignee": { + "type": [ + "string", + "null" + ], + "description": "Username to assign to this issue. **This field is deprecated.**" }, - "draft": { - "type": "boolean", - "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/enterprise-server@3.13/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more." + "state": { + "type": "string", + "description": "The open or closed state of the issue.", + "enum": [ + "open", + "closed" + ] }, - "issue": { - "type": "integer", - "format": "int64", - "description": "An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.", + "state_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "not_planned", + "reopened", + null + ], + "description": "The reason for the state change. Ignored unless `state` is changed.", "examples": [ - 1 + "not_planned" + ] + }, + "milestone": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer", + "description": "The `number` of the milestone to associate this issue with or use `null` to remove the current milestone. Only users with push access can set the milestone for issues. Without push access to the repository, milestone changes are silently dropped." + } + ], + "type": [ + "null", + "string", + "integer" ] + }, + "labels": { + "type": "array", + "description": "Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped.", + "items": { + "type": "string" + } } - }, - "required": [ - "head", - "base" - ] + } }, "examples": { "default": { "value": { - "title": "Amazing new feature", - "body": "Please pull these awesome changes in!", - "head": "octocat:new-feature", - "base": "master" + "title": "Found a bug", + "body": "I'm having a problem with this.", + "assignees": [ + "octocat" + ], + "milestone": 1, + "state": "open", + "labels": [ + "bug" + ] } } } @@ -17195,56 +12622,59 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request" + "$ref": "#/components/schemas/issue" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request" + "$ref": "#/components/examples/issue" } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "schema": { - "type": "string" - } - } } }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + }, "403": { "$ref": "#/components/responses/forbidden" }, - "422": { - "$ref": "#/components/responses/validation_failed" + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" + "category": "issues", + "subcategory": "issues" } } }, - "/repos/{owner}/{repo}/pulls/comments": { - "get": { - "summary": "List review comments in a repository", - "description": "Lists review comments for all pull requests in a repository. By default,\nreview comments are in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "/repos/{owner}/{repo}/issues/{issue_number}/assignees": { + "post": { + "summary": "Add assignees to an issue", + "description": "Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list-review-comments-for-repo", + "operationId": "issues/add-assignees", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#list-review-comments-in-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/assignees#add-assignees-to-an-issue" }, "parameters": [ { @@ -17254,134 +12684,72 @@ "$ref": "#/components/parameters/repo" }, { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated", - "created_at" - ] - } - }, - { - "name": "direction", - "description": "The direction to sort results. Ignored without `sort` parameter.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "$ref": "#/components/parameters/since" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/issue-number" } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/pull-request-review-comment" + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "assignees": { + "type": "array", + "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + } } - }, - "examples": { - "default": { - "$ref": "#/components/examples/pull-request-review-comment-items" + } + }, + "examples": { + "default": { + "value": { + "assignees": [ + "hubot", + "other_user" + ] } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } } }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "comments" - } - } - }, - "/repos/{owner}/{repo}/pulls/comments/{comment_id}": { - "get": { - "summary": "Get a review comment for a pull request", - "description": "Provides details for a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", - "tags": [ - "pulls" - ], - "operationId": "pulls/get-review-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/comment-id" - } - ], "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review-comment" + "$ref": "#/components/schemas/issue" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-comment-2" + "$ref": "#/components/examples/issue" } } } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "comments" + "category": "issues", + "subcategory": "assignees" } }, - "patch": { - "summary": "Update a review comment for a pull request", - "description": "Edits the content of a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "delete": { + "summary": "Remove assignees from an issue", + "description": "Removes one or more assignees from an issue.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/update-review-comment", + "operationId": "issues/remove-assignees", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#update-a-review-comment-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/assignees#remove-assignees-from-an-issue" }, "parameters": [ { @@ -17391,29 +12759,31 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/issue-number" } ], "requestBody": { - "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "body": { - "type": "string", - "description": "The text of the reply to the review comment." + "assignees": { + "type": "array", + "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + } } - }, - "required": [ - "body" - ] + } }, "examples": { "default": { "value": { - "body": "I like this too!" + "assignees": [ + "hubot", + "other_user" + ] } } } @@ -17426,11 +12796,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review-comment" + "$ref": "#/components/schemas/issue" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-comment-2" + "$ref": "#/components/examples/issue" } } } @@ -17440,20 +12810,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "comments" + "category": "issues", + "subcategory": "assignees" } - }, - "delete": { - "summary": "Delete a review comment for a pull request", - "description": "Deletes a review comment.", + } + }, + "/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}": { + "get": { + "summary": "Check if a user can be assigned to a issue", + "description": "Checks if a user has permission to be assigned to a specific issue.\n\nIf the `assignee` can be assigned to this issue, a `204` status code with no content is returned.\n\nOtherwise a `404` status code is returned.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/delete-review-comment", + "operationId": "issues/check-user-can-be-assigned-to-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#delete-a-review-comment-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue" }, "parameters": [ { @@ -17463,36 +12835,51 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/issue-number" + }, + { + "name": "assignee", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "204": { - "description": "Response" + "description": "Response if `assignee` can be assigned to `issue_number`" }, "404": { - "$ref": "#/components/responses/not_found" + "description": "Response if `assignee` can not be assigned to `issue_number`", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "comments" + "category": "issues", + "subcategory": "assignees" } } }, - "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": { + "/repos/{owner}/{repo}/issues/{issue_number}/comments": { "get": { - "summary": "List reactions for a pull request review comment", - "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request).", + "summary": "List issue comments", + "description": "You can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nIssue comments are ordered by ascending ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "reactions" + "issues" ], - "operationId": "reactions/list-for-pull-request-review-comment", + "operationId": "issues/list-comments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#list-issue-comments" }, "parameters": [ { @@ -17502,26 +12889,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/issue-number" }, { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } + "$ref": "#/components/parameters/since" }, { "$ref": "#/components/parameters/per-page" @@ -17538,12 +12909,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/issue-comment" } }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/issue-comment-items" } } } @@ -17556,25 +12927,28 @@ }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "issues", + "subcategory": "comments" } }, "post": { - "summary": "Create reaction for a pull request review comment", - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.", + "summary": "Create an issue comment", + "description": "You can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications).\nCreating content too quickly using this endpoint may result in secondary rate limiting.\nFor more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "reactions" + "issues" ], - "operationId": "reactions/create-for-pull-request-review-comment", + "operationId": "issues/create-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/comments#create-an-issue-comment" }, "parameters": [ { @@ -17584,7 +12958,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/issue-number" } ], "requestBody": { @@ -17594,29 +12968,19 @@ "schema": { "type": "object", "properties": { - "content": { + "body": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the pull request review comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "description": "The contents of the comment." } }, "required": [ - "content" + "body" ] }, "examples": { "default": { "value": { - "content": "heart" + "body": "Me too" } } } @@ -17624,98 +12988,62 @@ } }, "responses": { - "200": { - "description": "Reaction exists", + "201": { + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/issue-comment" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/issue-comment" } } } - } - }, - "201": { - "description": "Reaction created", - "content": { - "application/json": { + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1", "schema": { - "$ref": "#/components/schemas/reaction" - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction" - } + "type": "string" } } } }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete a pull request comment reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request).", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-pull-request-comment", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#delete-a-pull-request-comment-reaction" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" + "403": { + "$ref": "#/components/responses/forbidden" }, - { - "$ref": "#/components/parameters/repo" + "410": { + "$ref": "#/components/responses/gone" }, - { - "$ref": "#/components/parameters/comment-id" + "422": { + "$ref": "#/components/responses/validation_failed" }, - { - "$ref": "#/components/parameters/reaction-id" - } - ], - "responses": { - "204": { - "description": "Response" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "issues", + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}": { + "/repos/{owner}/{repo}/issues/{issue_number}/events": { "get": { - "summary": "Get a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/enterprise-server@3.13/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/enterprise-server@3.13/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/enterprise-server@3.13/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.\n- **`application/vnd.github.diff`**: For more information, see \"[git-diff](https://git-scm.com/docs/git-diff)\" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message.", + "summary": "List issue events", + "description": "Lists all events for an issue.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/get", + "operationId": "issues/list-events", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#get-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/events#list-issue-events" }, "parameters": [ { @@ -17725,158 +13053,62 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - } - ], - "responses": { - "200": { - "description": "Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/pull-request" - }, - "examples": { - "default": { - "$ref": "#/components/examples/pull-request" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "406": { - "$ref": "#/components/responses/unacceptable" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" - } - }, - "patch": { - "summary": "Update a pull request", - "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", - "tags": [ - "pulls" - ], - "operationId": "pulls/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#update-a-pull-request" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" + "$ref": "#/components/parameters/issue-number" }, { - "$ref": "#/components/parameters/repo" + "$ref": "#/components/parameters/per-page" }, { - "$ref": "#/components/parameters/pull-number" + "$ref": "#/components/parameters/page" } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "title": { - "type": "string", - "description": "The title of the pull request." - }, - "body": { - "type": "string", - "description": "The contents of the pull request." - }, - "state": { - "type": "string", - "description": "State of this Pull Request. Either `open` or `closed`.", - "enum": [ - "open", - "closed" - ] - }, - "base": { - "type": "string", - "description": "The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository." - }, - "maintainer_can_modify": { - "type": "boolean", - "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." - } - } - }, - "examples": { - "default": { - "value": { - "title": "new title", - "body": "updated body", - "state": "open", - "base": "master" - } - } - } - } - } - }, "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request" + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-event-for-issue" + } }, "examples": { "default": { - "$ref": "#/components/examples/pull-request" + "$ref": "#/components/examples/issue-event-for-issue-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "403": { - "$ref": "#/components/responses/forbidden" + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" + "category": "issues", + "subcategory": "events" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/comments": { + "/repos/{owner}/{repo}/issues/{issue_number}/labels": { "get": { - "summary": "List review comments on a pull request", - "description": "Lists all review comments for a specified pull request. By default, review comments\nare in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "List labels for an issue", + "description": "Lists all labels for an issue.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list-review-comments", + "operationId": "issues/list-labels-on-issue", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#list-review-comments-on-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#list-labels-for-an-issue" }, "parameters": [ { @@ -17886,26 +13118,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/sort" - }, - { - "name": "direction", - "description": "The direction to sort results. Ignored without `sort` parameter.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "$ref": "#/components/parameters/since" + "$ref": "#/components/parameters/issue-number" }, { "$ref": "#/components/parameters/per-page" @@ -17922,12 +13135,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/pull-request-review-comment" + "$ref": "#/components/schemas/label" } }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-comment-items" + "$ref": "#/components/examples/label-items" } } } @@ -17937,25 +13150,34 @@ "$ref": "#/components/headers/link" } } + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "comments" + "category": "issues", + "subcategory": "labels" } }, "post": { - "summary": "Create a review comment for a pull request", - "description": "Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#create-an-issue-comment).\"\n\nIf your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Add labels to an issue", + "description": "Adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. ", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/create-review-comment", + "operationId": "issues/add-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#create-a-review-comment-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#add-labels-to-an-issue" }, "parameters": [ { @@ -17965,94 +13187,82 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" + "$ref": "#/components/parameters/issue-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "The text of the review comment." - }, - "commit_id": { - "type": "string", - "description": "The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`." - }, - "path": { - "type": "string", - "description": "The relative path to the file that necessitates a comment." - }, - "position": { - "type": "integer", - "description": "**This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.", - "deprecated": true, - "x-github": { - "deprecationDate": "2022-11-01" + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see \"[Set labels for an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } } }, - "side": { - "type": "string", - "description": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/enterprise-server@3.13/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.", - "enum": [ - "LEFT", - "RIGHT" - ] - }, - "line": { - "type": "integer", - "description": "**Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to." - }, - "start_line": { - "type": "integer", - "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation." + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } }, - "start_side": { - "type": "string", - "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.", - "enum": [ - "LEFT", - "RIGHT", - "side" - ] + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } }, - "in_reply_to": { - "type": "integer", - "description": "The ID of the review comment to reply to. To find the ID of a review comment with [\"List review comments on a pull request\"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.", - "examples": [ - 2 - ] + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } }, - "subject_type": { - "type": "string", - "description": "The level at which the comment is targeted.", - "enum": [ - "line", - "file" - ] + { + "type": "string" } - }, - "required": [ - "body", - "commit_id", - "path" ] }, "examples": { - "example-for-a-multi-line-comment": { - "summary": "Example for a multi-line comment", + "default": { "value": { - "body": "Great stuff!", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "path": "file1.txt", - "start_line": 1, - "start_side": "RIGHT", - "line": 2, - "side": "RIGHT" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -18060,56 +13270,54 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review-comment" + "type": "array", + "items": { + "$ref": "#/components/schemas/label" + } }, "examples": { - "example-for-a-multi-line-comment": { - "$ref": "#/components/examples/pull-request-review-comment-example-for-a-multi-line-comment" + "default": { + "$ref": "#/components/examples/label-items" } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "schema": { - "type": "string" - } - } } }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, "422": { "$ref": "#/components/responses/validation_failed" - }, - "403": { - "$ref": "#/components/responses/forbidden" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "comments" + "category": "issues", + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies": { - "post": { - "summary": "Create a reply for a review comment", - "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "put": { + "summary": "Set labels for an issue", + "description": "Removes any previous labels and sets the new labels for an issue.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/create-reply-for-review-comment", + "operationId": "issues/set-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#create-a-reply-for-a-review-comment" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#set-labels-for-an-issue" }, "parameters": [ { @@ -18119,32 +13327,82 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/comment-id" + "$ref": "#/components/parameters/issue-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "The text of the review comment." + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" } - }, - "required": [ - "body" ] }, "examples": { "default": { "value": { - "body": "Great stuff!" + "labels": [ + "bug", + "enhancement" + ] } } } @@ -18152,53 +13410,54 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review-comment" + "type": "array", + "items": { + "$ref": "#/components/schemas/label" + } }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-comment" + "$ref": "#/components/examples/label-items" } } } - }, - "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "schema": { - "type": "string" - } - } } }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, "404": { "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" + }, + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "pulls", - "subcategory": "comments" + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" } - } - }, - "/repos/{owner}/{repo}/pulls/{pull_number}/commits": { - "get": { - "summary": "List commits on a pull request", - "description": "Lists a maximum of 250 commits for a pull request. To receive a complete\ncommit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits)\nendpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Remove all labels from an issue", + "description": "Removes all labels from an issue.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list-commits", + "operationId": "issues/remove-all-labels", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-commits-on-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#remove-all-labels-from-an-issue" }, "parameters": [ { @@ -18208,59 +13467,42 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/issue-number" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/commit" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/commit-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } + "204": { + "description": "Response" + }, + "301": { + "$ref": "#/components/responses/moved_permanently" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" + "category": "issues", + "subcategory": "labels" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/files": { - "get": { - "summary": "List pull requests files", - "description": "Lists the files in a specified pull request.\n\n**Note:** Responses include a maximum of 3000 files. The paginated response\nreturns 30 files per page by default.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": { + "delete": { + "summary": "Remove a label from an issue", + "description": "Removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list-files", + "operationId": "issues/remove-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests-files" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#remove-a-label-from-an-issue" }, "parameters": [ { @@ -18270,13 +13512,15 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/issue-number" }, { - "$ref": "#/components/parameters/page" + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -18287,88 +13531,46 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/diff-entry" + "$ref": "#/components/schemas/label" } }, "examples": { "default": { - "$ref": "#/components/examples/diff-entry-items" + "$ref": "#/components/examples/label-items-2" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } }, - "422": { - "$ref": "#/components/responses/validation_failed" + "301": { + "$ref": "#/components/responses/moved_permanently" }, - "500": { - "$ref": "#/components/responses/internal_error" + "404": { + "$ref": "#/components/responses/not_found" }, - "503": { - "$ref": "#/components/responses/service_unavailable" + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" + "category": "issues", + "subcategory": "labels" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/merge": { - "get": { - "summary": "Check if a pull request has been merged", - "description": "Checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty.", - "tags": [ - "pulls" - ], - "operationId": "pulls/check-if-merged", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#check-if-a-pull-request-has-been-merged" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/pull-number" - } - ], - "responses": { - "204": { - "description": "Response if pull request has been merged" - }, - "404": { - "description": "Not Found if pull request has not been merged" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" - } - }, + "/repos/{owner}/{repo}/issues/{issue_number}/lock": { "put": { - "summary": "Merge a pull request", - "description": "Merges a pull request into the base branch.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"", + "summary": "Lock an issue", + "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/merge", + "operationId": "issues/lock", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#merge-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#lock-an-issue" }, "parameters": [ { @@ -18378,7 +13580,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" + "$ref": "#/components/parameters/issue-number" } ], "requestBody": { @@ -18391,34 +13593,23 @@ "null" ], "properties": { - "commit_title": { - "type": "string", - "description": "Title for the automatic commit message." - }, - "commit_message": { - "type": "string", - "description": "Extra detail to append to automatic commit message." - }, - "sha": { - "type": "string", - "description": "SHA that pull request head must match to allow merge." - }, - "merge_method": { + "lock_reason": { "type": "string", - "description": "The merge method to use.", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", "enum": [ - "merge", - "squash", - "rebase" + "off-topic", + "too heated", + "resolved", + "spam" ] } } }, "examples": { - "response-if-merge-was-successful": { + "default": { + "summary": "Example of locking an issue as off-topic", "value": { - "commit_title": "Expand enum", - "commit_message": "Add a new value to the merge_method enum" + "lock_reason": "off-topic" } } } @@ -18426,73 +13617,54 @@ } }, "responses": { - "200": { - "description": "if merge was successful", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/pull-request-merge-result" - }, - "examples": { - "response-if-merge-was-successful": { - "$ref": "#/components/examples/pull-request-merge-result-response-if-merge-was-successful" - } - } - } - } + "204": { + "description": "Response" }, - "405": { - "description": "Method Not Allowed if merge cannot be performed", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-merge-cannot-be-performed": { - "value": { - "message": "Pull Request is not mergeable" - } - } - } - } - } + "403": { + "$ref": "#/components/responses/forbidden" }, - "409": { - "description": "Conflict if sha was provided and pull request head did not match", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - }, - "examples": { - "response-if-sha-was-provided-and-pull-request-head-did-not-match": { - "value": { - "message": "Head branch was modified. Review and try the merge again." - } - } - } - } - } + "410": { + "$ref": "#/components/responses/gone" + }, + "404": { + "$ref": "#/components/responses/not_found" }, "422": { "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "issues" + } + }, + "delete": { + "summary": "Unlock an issue", + "description": "Users with push access can unlock an issue's conversation.", + "tags": [ + "issues" + ], + "operationId": "issues/unlock", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/issues#unlock-an-issue" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/issue-number" + } + ], + "responses": { + "204": { + "description": "Response" }, "403": { "$ref": "#/components/responses/forbidden" @@ -18502,25 +13674,24 @@ } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "pulls" + "category": "issues", + "subcategory": "issues" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { + "/repos/{owner}/{repo}/issues/{issue_number}/timeline": { "get": { - "summary": "Get all requested reviewers for a pull request", - "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.", + "summary": "List timeline events for an issue", + "description": "List all timeline events for an issue.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list-requested-reviewers", + "operationId": "issues/list-events-for-timeline", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/timeline#list-timeline-events-for-an-issue" }, "parameters": [ { @@ -18530,7 +13701,13 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" + "$ref": "#/components/parameters/issue-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -18539,11 +13716,14 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review-request" + "type": "array", + "items": { + "$ref": "#/components/schemas/timeline-issue-events" + } }, "examples": { "default": { - "$ref": "#/components/examples/simple-pull-request-review-request" + "$ref": "#/components/examples/timeline-issue-events" } } } @@ -18553,130 +13733,93 @@ "$ref": "#/components/headers/link" } } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "410": { + "$ref": "#/components/responses/gone" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "review-requests" + "category": "issues", + "subcategory": "timeline" } - }, - "post": { - "summary": "Request reviewers for a pull request", - "description": "Requests reviews for a pull request from a given set of users and/or teams.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"", - "tags": [ - "pulls" - ], - "operationId": "pulls/request-reviewers", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/review-requests#request-reviewers-for-a-pull-request" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/pull-number" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "reviewers": { - "type": "array", - "description": "An array of user `login`s that will be requested.", - "items": { - "type": "string" - } - }, - "team_reviewers": { - "type": "array", - "description": "An array of team `slug`s that will be requested.", - "items": { - "type": "string" - } - } - }, - "anyOf": [ - { - "required": [ - "reviewers" - ] - }, - { - "required": [ - "team_reviewers" - ] - } - ] - }, - "examples": { - "default": { - "value": { - "reviewers": [ - "octocat", - "hubot", - "other_user" - ], - "team_reviewers": [ - "justice-league" - ] - } - } - } - } - } + } + }, + "/repos/{owner}/{repo}/labels": { + "get": { + "summary": "List labels for a repository", + "description": "Lists all labels for a repository.", + "tags": [ + "issues" + ], + "operationId": "issues/list-labels-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#list-labels-for-a-repository" }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-simple" + "type": "array", + "items": { + "$ref": "#/components/schemas/label" + } }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-request" + "$ref": "#/components/examples/label-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } }, - "422": { - "description": "Unprocessable Entity if user is not a collaborator" - }, - "403": { - "$ref": "#/components/responses/forbidden" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "review-requests" + "category": "issues", + "subcategory": "labels" } }, - "delete": { - "summary": "Remove requested reviewers from a pull request", - "description": "Removes review requests from a pull request for a given set of users and/or teams.", + "post": { + "summary": "Create a label", + "description": "Creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/).", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/remove-requested-reviewers", + "operationId": "issues/create-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#create-a-label" }, "parameters": [ { @@ -18684,9 +13827,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/pull-number" } ], "requestBody": { @@ -18696,36 +13836,29 @@ "schema": { "type": "object", "properties": { - "reviewers": { - "type": "array", - "description": "An array of user `login`s that will be removed.", - "items": { - "type": "string" - } + "name": { + "type": "string", + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" }, - "team_reviewers": { - "type": "array", - "description": "An array of team `slug`s that will be removed.", - "items": { - "type": "string" - } + "color": { + "type": "string", + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." + }, + "description": { + "type": "string", + "description": "A short description of the label. Must be 100 characters or fewer." } }, "required": [ - "reviewers" + "name" ] }, "examples": { "default": { "value": { - "reviewers": [ - "octocat", - "hubot", - "other_user" - ], - "team_reviewers": [ - "justice-league" - ] + "name": "bug", + "description": "Something isn't working", + "color": "f29513" } } } @@ -18733,44 +13866,55 @@ } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-simple" + "$ref": "#/components/schemas/label" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-simple" + "$ref": "#/components/examples/label" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/labels/bug", + "schema": { + "type": "string" + } + } } }, "422": { "$ref": "#/components/responses/validation_failed" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "review-requests" + "category": "issues", + "subcategory": "labels" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews": { + "/repos/{owner}/{repo}/labels/{name}": { "get": { - "summary": "List reviews for a pull request", - "description": "Lists all reviews for a specified pull request. The list of reviews returns in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Get a label", + "description": "Gets a label using the given name.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list-reviews", + "operationId": "issues/get-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#list-reviews-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#get-a-label" }, "parameters": [ { @@ -18780,57 +13924,51 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "The list of reviews returns in chronological order.", + "description": "Response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/pull-request-review" - } + "$ref": "#/components/schemas/label" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-items" + "$ref": "#/components/examples/label" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" + "category": "issues", + "subcategory": "labels" } }, - "post": { - "summary": "Create a review for a pull request", - "description": "Creates a review on a specified pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "patch": { + "summary": "Update a label", + "description": "Updates a label using the given label name.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/create-review", + "operationId": "issues/update-label", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#create-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#update-a-label" }, "parameters": [ { @@ -18840,7 +13978,12 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -18848,89 +13991,28 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "commit_id": { - "type": "string", - "description": "The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value." - }, - "body": { - "type": "string", - "description": "**Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review." - }, - "event": { - "type": "string", - "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready.", - "enum": [ - "APPROVE", - "REQUEST_CHANGES", - "COMMENT" - ] - }, - "comments": { - "type": "array", - "description": "Use the following table to specify the location, destination, and contents of the draft review comment.", - "items": { - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The relative path to the file that necessitates a review comment." - }, - "position": { - "type": "integer", - "description": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file." - }, - "body": { - "type": "string", - "description": "Text of the review comment." - }, - "line": { - "type": "integer", - "examples": [ - 28 - ] - }, - "side": { - "type": "string", - "examples": [ - "RIGHT" - ] - }, - "start_line": { - "type": "integer", - "examples": [ - 26 - ] - }, - "start_side": { - "type": "string", - "examples": [ - "LEFT" - ] - } - }, - "required": [ - "path", - "body" - ] - } + "type": "object", + "properties": { + "new_name": { + "type": "string", + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" + }, + "color": { + "type": "string", + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." + }, + "description": { + "type": "string", + "description": "A short description of the label. Must be 100 characters or fewer." } } }, "examples": { "default": { "value": { - "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", - "body": "This is close to perfect! Please address the suggested inline change.", - "event": "REQUEST_CHANGES", - "comments": [ - { - "path": "file.md", - "position": 6, - "body": "Please add more information here, and fix this typo." - } - ] + "new_name": "bug :bug:", + "description": "Small bug fix required", + "color": "b01f26" } } } @@ -18943,43 +14025,75 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review" + "$ref": "#/components/schemas/label" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review" + "$ref": "#/components/examples/label-2" } } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" + } + }, + "delete": { + "summary": "Delete a label", + "description": "Deletes a label using the given label name.", + "tags": [ + "issues" + ], + "operationId": "issues/delete-label", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#delete-a-label" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" + { + "$ref": "#/components/parameters/repo" }, - "403": { - "$ref": "#/components/responses/forbidden" + { + "name": "name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" + "category": "issues", + "subcategory": "labels" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": { + "/repos/{owner}/{repo}/milestones": { "get": { - "summary": "Get a review for a pull request", - "description": "Retrieves a pull request review by its ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "List milestones", + "description": "Lists milestones for a repository.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/get-review", + "operationId": "issues/list-milestones", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#get-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#list-milestones" }, "parameters": [ { @@ -18989,10 +14103,53 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" + "name": "state", + "description": "The state of the milestone. Either `open`, `closed`, or `all`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "closed", + "all" + ], + "default": "open" + } }, { - "$ref": "#/components/parameters/review-id" + "name": "sort", + "description": "What to sort results by. Either `due_on` or `completeness`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "due_on", + "completeness" + ], + "default": "due_on" + } + }, + { + "name": "direction", + "description": "The direction of the sort. Either `asc` or `desc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "asc" + } + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -19001,14 +14158,22 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review" + "type": "array", + "items": { + "$ref": "#/components/schemas/milestone" + } }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-4" + "$ref": "#/components/examples/milestone-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } }, "404": { @@ -19018,20 +14183,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" + "category": "issues", + "subcategory": "milestones" } }, - "put": { - "summary": "Update a review for a pull request", - "description": "Updates the contents of a specified review summary comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "post": { + "summary": "Create a milestone", + "description": "Creates a milestone.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/update-review", + "operationId": "issues/create-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#update-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#create-a-milestone" }, "parameters": [ { @@ -19039,12 +14204,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/review-id" } ], "requestBody": { @@ -19054,119 +14213,96 @@ "schema": { "type": "object", "properties": { - "body": { + "title": { "type": "string", - "description": "The body text of the pull request review." + "description": "The title of the milestone." + }, + "state": { + "type": "string", + "description": "The state of the milestone. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "description": { + "type": "string", + "description": "A description of the milestone." + }, + "due_on": { + "type": "string", + "format": "date-time", + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." } }, "required": [ - "body" + "title" ] }, "examples": { "default": { "value": { - "body": "This is close to perfect! Please address the suggested inline change. And add more about this." - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/pull-request-review" - }, - "examples": { - "default": { - "$ref": "#/components/examples/pull-request-review-5" + "title": "v1.0", + "state": "open", + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z" } } } } - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" - } - }, - "delete": { - "summary": "Delete a pending review for a pull request", - "description": "Deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", - "tags": [ - "pulls" - ], - "operationId": "pulls/delete-pending-review", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/review-id" - } - ], "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review" + "$ref": "#/components/schemas/milestone" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review" + "$ref": "#/components/examples/milestone" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1", + "schema": { + "type": "string" + } + } } }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - }, "404": { "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" + "category": "issues", + "subcategory": "milestones" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": { + "/repos/{owner}/{repo}/milestones/{milestone_number}": { "get": { - "summary": "List comments for a pull request review", - "description": "Lists comments for a specific pull request review.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "summary": "Get a milestone", + "description": "Gets a milestone using the given milestone number.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/list-comments-for-review", + "operationId": "issues/get-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#list-comments-for-a-pull-request-review" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#get-a-milestone" }, "parameters": [ { @@ -19176,16 +14312,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/review-id" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/milestone-number" } ], "responses": { @@ -19194,22 +14321,14 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/review-comment" - } + "$ref": "#/components/schemas/milestone" }, "examples": { "default": { - "$ref": "#/components/examples/review-comment-items" + "$ref": "#/components/examples/milestone" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } }, "404": { @@ -19219,22 +14338,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" + "category": "issues", + "subcategory": "milestones" } - } - }, - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals": { - "put": { - "summary": "Dismiss a review for a pull request", - "description": "Dismisses a specified review on a pull request.\n\n**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection),\nyou must be a repository administrator or be included in the list of people or teams\nwho can dismiss pull request reviews.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "patch": { + "summary": "Update a milestone", + "description": "", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/dismiss-review", + "operationId": "issues/update-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#dismiss-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#update-a-milestone" }, "parameters": [ { @@ -19244,42 +14361,47 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/review-id" + "$ref": "#/components/parameters/milestone-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { - "message": { + "title": { "type": "string", - "description": "The message for the pull request review dismissal" + "description": "The title of the milestone." }, - "event": { + "state": { "type": "string", + "description": "The state of the milestone. Either `open` or `closed`.", "enum": [ - "DISMISS" + "open", + "closed" ], - "examples": [ - "\"DISMISS\"" - ] + "default": "open" + }, + "description": { + "type": "string", + "description": "A description of the milestone." + }, + "due_on": { + "type": "string", + "format": "date-time", + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." } - }, - "required": [ - "message" - ] + } }, "examples": { "default": { "value": { - "message": "You are dismissed", - "event": "DISMISS" + "title": "v1.0", + "state": "open", + "description": "Tracking milestone for version 1.0", + "due_on": "2012-10-09T23:39:01Z" } } } @@ -19292,42 +14414,34 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/pull-request-review" + "$ref": "#/components/schemas/milestone" }, "examples": { "default": { - "$ref": "#/components/examples/pull-request-review-3" + "$ref": "#/components/examples/milestone" } } } } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" + "category": "issues", + "subcategory": "milestones" } - } - }, - "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events": { - "post": { - "summary": "Submit a review for a pull request", - "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#create-a-review-for-a-pull-request).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + }, + "delete": { + "summary": "Delete a milestone", + "description": "Deletes a milestone using the given milestone number.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/submit-review", + "operationId": "issues/delete-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/milestones#delete-a-milestone" }, "parameters": [ { @@ -19337,184 +14451,98 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/pull-number" - }, - { - "$ref": "#/components/parameters/review-id" + "$ref": "#/components/parameters/milestone-number" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "body": { - "type": "string", - "description": "The body text of the pull request review" - }, - "event": { - "type": "string", - "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.", - "enum": [ - "APPROVE", - "REQUEST_CHANGES", - "COMMENT" - ] - } - }, - "required": [ - "event" - ] - }, - "examples": { - "default": { - "value": { - "body": "Here is the body for the review.", - "event": "REQUEST_CHANGES" - } - } - } - } - } - }, "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/pull-request-review" - }, - "examples": { - "default": { - "$ref": "#/components/examples/pull-request-review-4" - } - } - } - } + "204": { + "description": "Response" }, "404": { "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - }, - "403": { - "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "pulls", - "subcategory": "reviews" + "category": "issues", + "subcategory": "milestones" } } }, - "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": { - "put": { - "summary": "Update a pull request branch", - "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.", + "/repos/{owner}/{repo}/milestones/{milestone_number}/labels": { + "get": { + "summary": "List labels for issues in a milestone", + "description": "Lists labels for issues in a milestone.", "tags": [ - "pulls" + "issues" ], - "operationId": "pulls/update-branch", + "operationId": "issues/list-labels-for-milestone", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#update-a-pull-request-branch" + "url": "https://docs.github.com/enterprise-server@3.13/rest/issues/labels#list-labels-for-issues-in-a-milestone" }, "parameters": [ { "$ref": "#/components/parameters/owner" }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/pull-number" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": [ - "object", - "null" - ], - "properties": { - "expected_head_sha": { - "type": "string", - "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref." - } - } - }, - "examples": { - "default": { - "value": { - "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - } - } - } + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/milestone-number" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } - }, + ], "responses": { - "202": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "url": { - "type": "string" - } + "type": "array", + "items": { + "$ref": "#/components/schemas/label" } }, "examples": { "default": { - "value": { - "message": "Updating pull request branch.", - "url": "https://github.com/repos/octocat/Hello-World/pulls/53" - } + "$ref": "#/components/examples/label-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "403": { - "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "pulls", - "subcategory": "pulls" + "enabledForGitHubApps": true, + "category": "issues", + "subcategory": "labels" } } }, - "/repos/{owner}/{repo}/releases": { + "/repos/{owner}/{repo}/pulls": { "get": { - "summary": "List releases", - "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.", + "summary": "List pull requests", + "description": "Lists pull requests in a specified repository.\n\nDraft pull requests are available in public repositories with GitHub\nFree and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing\nplans, and in public and private repositories with GitHub Team and GitHub Enterprise\nCloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products)\nin the GitHub Help documentation.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/list-releases", + "operationId": "pulls/list", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#list-releases" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests" }, "parameters": [ { @@ -19523,6 +14551,68 @@ { "$ref": "#/components/parameters/repo" }, + { + "name": "state", + "description": "Either `open`, `closed`, or `all` to filter by state.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "closed", + "all" + ], + "default": "open" + } + }, + { + "name": "head", + "description": "Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "base", + "description": "Filter pulls by base branch name. Example: `gh-pages`.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sort", + "description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "popularity", + "long-running" + ], + "default": "created" + } + }, + { + "name": "direction", + "description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + } + }, { "$ref": "#/components/parameters/per-page" }, @@ -19538,12 +14628,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/release" + "$ref": "#/components/schemas/pull-request-simple" } }, "examples": { "default": { - "$ref": "#/components/examples/release-items" + "$ref": "#/components/examples/pull-request-simple-items" } } } @@ -19554,27 +14644,30 @@ } } }, - "404": { - "$ref": "#/components/responses/not_found" + "304": { + "$ref": "#/components/responses/not_modified" + }, + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" + "category": "pulls", + "subcategory": "pulls" } }, "post": { - "summary": "Create a release", - "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"", + "summary": "Create a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/create-release", + "operationId": "pulls/create", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#create-a-release" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#create-a-pull-request" }, "parameters": [ { @@ -19591,116 +14684,204 @@ "schema": { "type": "object", "properties": { - "tag_name": { + "title": { "type": "string", - "description": "The name of the tag." + "description": "The title of the new pull request. Required unless `issue` is specified." }, - "target_commitish": { + "head": { "type": "string", - "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." + "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`." }, - "name": { + "head_repo": { "type": "string", - "description": "The name of the release." + "description": "The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.", + "format": "repo.nwo", + "examples": [ + "octo-org/octo-repo" + ] }, - "body": { + "base": { "type": "string", - "description": "Text describing the contents of the tag." + "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository." }, - "draft": { - "type": "boolean", - "description": "`true` to create a draft (unpublished) release, `false` to create a published one.", - "default": false + "body": { + "type": "string", + "description": "The contents of the pull request." }, - "prerelease": { + "maintainer_can_modify": { "type": "boolean", - "description": "`true` to identify the release as a prerelease. `false` to identify the release as a full release.", - "default": false + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." }, - "generate_release_notes": { + "draft": { "type": "boolean", - "description": "Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.", - "default": false + "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/enterprise-server@3.13/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more." }, - "make_latest": { - "type": "string", - "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", - "enum": [ - "true", - "false", - "legacy" - ], - "default": true + "issue": { + "type": "integer", + "format": "int64", + "description": "An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.", + "examples": [ + 1 + ] } }, "required": [ - "tag_name" + "head", + "base" ] }, "examples": { "default": { "value": { - "tag_name": "v1.0.0", - "target_commitish": "master", - "name": "v1.0.0", - "body": "Description of the release", - "draft": false, - "prerelease": false, - "generate_release_notes": false + "title": "Amazing new feature", + "body": "Please pull these awesome changes in!", + "head": "octocat:new-feature", + "base": "master" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request" + }, + "examples": { + "default": { + "$ref": "#/components/examples/pull-request" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", + "schema": { + "type": "string" + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "triggersNotification": true, + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + } + } + }, + "/repos/{owner}/{repo}/pulls/comments": { + "get": { + "summary": "List review comments in a repository", + "description": "Lists review comments for all pull requests in a repository. By default,\nreview comments are in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "pulls" + ], + "operationId": "pulls/list-review-comments-for-repo", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#list-review-comments-in-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "created_at" + ] + } + }, + { + "name": "direction", + "description": "The direction to sort results. Ignored without `sort` parameter.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] } + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } - }, + ], "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release" + "type": "array", + "items": { + "$ref": "#/components/schemas/pull-request-review-comment" + } }, "examples": { "default": { - "$ref": "#/components/examples/release" + "$ref": "#/components/examples/pull-request-review-comment-items" } } } }, "headers": { - "Location": { - "example": "https://api.github.com/repos/octocat/Hello-World/releases/1", - "schema": { - "type": "string" - } + "Link": { + "$ref": "#/components/headers/link" } } - }, - "422": { - "$ref": "#/components/responses/validation_failed" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" + "category": "pulls", + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/releases/assets/{asset_id}": { + "/repos/{owner}/{repo}/pulls/comments/{comment_id}": { "get": { - "summary": "Get a release asset", - "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.", + "summary": "Get a review comment for a pull request", + "description": "Provides details for a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/get-release-asset", + "operationId": "pulls/get-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#get-a-release-asset" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -19710,7 +14891,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/asset-id" + "$ref": "#/components/parameters/comment-id" } ], "responses": { @@ -19719,11 +14900,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release-asset" + "$ref": "#/components/schemas/pull-request-review-comment" }, "examples": { "default": { - "$ref": "#/components/examples/release-asset" + "$ref": "#/components/examples/pull-request-review-comment-2" } } } @@ -19731,28 +14912,25 @@ }, "404": { "$ref": "#/components/responses/not_found" - }, - "302": { - "$ref": "#/components/responses/found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "assets" + "category": "pulls", + "subcategory": "comments" } }, "patch": { - "summary": "Update a release asset", - "description": "Users with push access to the repository can edit a release asset.", + "summary": "Update a review comment for a pull request", + "description": "Edits the content of a specified review comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/update-release-asset", + "operationId": "pulls/update-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#update-a-release-asset" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#update-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -19762,37 +14940,29 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/asset-id" + "$ref": "#/components/parameters/comment-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The file name of the asset." - }, - "label": { - "type": "string", - "description": "An alternate short description of the asset. Used in place of the filename." - }, - "state": { + "body": { "type": "string", - "examples": [ - "\"uploaded\"" - ] + "description": "The text of the reply to the review comment." } - } + }, + "required": [ + "body" + ] }, "examples": { "default": { "value": { - "name": "foo-1.0.0-osx.zip", - "label": "Mac binary" + "body": "I like this too!" } } } @@ -19805,11 +14975,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release-asset" + "$ref": "#/components/schemas/pull-request-review-comment" }, "examples": { "default": { - "$ref": "#/components/examples/release-asset" + "$ref": "#/components/examples/pull-request-review-comment-2" } } } @@ -19819,20 +14989,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "assets" + "category": "pulls", + "subcategory": "comments" } }, "delete": { - "summary": "Delete a release asset", - "description": "", + "summary": "Delete a review comment for a pull request", + "description": "Deletes a review comment.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/delete-release-asset", + "operationId": "pulls/delete-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#delete-a-release-asset" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#delete-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -19842,33 +15012,97 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/asset-id" + "$ref": "#/components/parameters/comment-id" } ], "responses": { "204": { "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "assets" + "category": "pulls", + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/releases/generate-notes": { - "post": { - "summary": "Generate release notes content for a release", - "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.", + "/repos/{owner}/{repo}/pulls/{pull_number}": { + "get": { + "summary": "Get a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://docs.github.com/enterprise-server@3.13/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://docs.github.com/enterprise-server@3.13/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://docs.github.com/enterprise-server@3.13/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.\n- **`application/vnd.github.diff`**: For more information, see \"[git-diff](https://git-scm.com/docs/git-diff)\" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/generate-release-notes", + "operationId": "pulls/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#generate-release-notes-content-for-a-release" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#get-a-pull-request" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "responses": { + "200": { + "description": "Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request" + }, + "examples": { + "default": { + "$ref": "#/components/examples/pull-request" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "406": { + "$ref": "#/components/responses/unacceptable" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "pulls" + } + }, + "patch": { + "summary": "Update a pull request", + "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "pulls" + ], + "operationId": "pulls/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#update-a-pull-request" }, "parameters": [ { @@ -19876,43 +15110,51 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { - "tag_name": { + "title": { "type": "string", - "description": "The tag name for the release. This can be an existing tag or a new one." + "description": "The title of the pull request." }, - "target_commitish": { + "body": { "type": "string", - "description": "Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists." + "description": "The contents of the pull request." }, - "previous_tag_name": { + "state": { "type": "string", - "description": "The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release." + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ] }, - "configuration_file_path": { + "base": { "type": "string", - "description": "Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used." + "description": "The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository." + }, + "maintainer_can_modify": { + "type": "boolean", + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." } - }, - "required": [ - "tag_name" - ] + } }, "examples": { "default": { "value": { - "tag_name": "v1.0.0", - "target_commitish": "main", - "previous_tag_name": "v0.9.2", - "configuration_file_path": ".github/custom_release_config.yml" + "title": "new title", + "body": "updated body", + "state": "open", + "base": "master" } } } @@ -19921,43 +15163,46 @@ }, "responses": { "200": { - "description": "Name and body of generated release notes", + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release-notes-content" + "$ref": "#/components/schemas/pull-request" }, "examples": { "default": { - "$ref": "#/components/examples/release-notes-content" + "$ref": "#/components/examples/pull-request" } } } } }, - "404": { - "$ref": "#/components/responses/not_found" + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" + "category": "pulls", + "subcategory": "pulls" } } }, - "/repos/{owner}/{repo}/releases/latest": { + "/repos/{owner}/{repo}/pulls/{pull_number}/comments": { "get": { - "summary": "Get the latest release", - "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.", + "summary": "List review comments on a pull request", + "description": "Lists all review comments for a specified pull request. By default, review comments\nare in ascending order by ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/get-latest-release", + "operationId": "pulls/list-review-comments", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-the-latest-release" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#list-review-comments-on-a-pull-request" }, "parameters": [ { @@ -19965,6 +15210,34 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/sort" + }, + { + "name": "direction", + "description": "The direction to sort results. Ignored without `sort` parameter.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + } + }, + { + "$ref": "#/components/parameters/since" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -19973,36 +15246,42 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release" + "type": "array", + "items": { + "$ref": "#/components/schemas/pull-request-review-comment" + } }, "examples": { "default": { - "$ref": "#/components/examples/release" + "$ref": "#/components/examples/pull-request-review-comment-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" + "category": "pulls", + "subcategory": "comments" } - } - }, - "/repos/{owner}/{repo}/releases/tags/{tag}": { - "get": { - "summary": "Get a release by tag name", - "description": "Get a published release with the specified tag.", + }, + "post": { + "summary": "Create a review comment for a pull request", + "description": "Creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see \"[Create an issue comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#create-an-issue-comment).\"\n\nIf your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.\n\nThe `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/get-release-by-tag", + "operationId": "pulls/create-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release-by-tag-name" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#create-a-review-comment-for-a-pull-request" }, "parameters": [ { @@ -20012,104 +15291,151 @@ "$ref": "#/components/parameters/repo" }, { - "name": "tag", - "description": "tag parameter", - "in": "path", - "required": true, - "schema": { - "type": "string" - }, - "x-multi-segment": true + "$ref": "#/components/parameters/pull-number" } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/release" + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The text of the review comment." + }, + "commit_id": { + "type": "string", + "description": "The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`." + }, + "path": { + "type": "string", + "description": "The relative path to the file that necessitates a comment." + }, + "position": { + "type": "integer", + "description": "**This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.", + "deprecated": true, + "x-github": { + "deprecationDate": "2022-11-01" + } + }, + "side": { + "type": "string", + "description": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/enterprise-server@3.13/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.", + "enum": [ + "LEFT", + "RIGHT" + ] + }, + "line": { + "type": "integer", + "description": "**Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to." + }, + "start_line": { + "type": "integer", + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation." + }, + "start_side": { + "type": "string", + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.", + "enum": [ + "LEFT", + "RIGHT", + "side" + ] + }, + "in_reply_to": { + "type": "integer", + "description": "The ID of the review comment to reply to. To find the ID of a review comment with [\"List review comments on a pull request\"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.", + "examples": [ + 2 + ] + }, + "subject_type": { + "type": "string", + "description": "The level at which the comment is targeted.", + "enum": [ + "line", + "file" + ] + } }, - "examples": { - "default": { - "$ref": "#/components/examples/release" + "required": [ + "body", + "commit_id", + "path" + ] + }, + "examples": { + "example-for-a-multi-line-comment": { + "summary": "Example for a multi-line comment", + "value": { + "body": "Great stuff!", + "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "path": "file1.txt", + "start_line": 1, + "start_side": "RIGHT", + "line": 2, + "side": "RIGHT" } } } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" - } - } - }, - "/repos/{owner}/{repo}/releases/{release_id}": { - "get": { - "summary": "Get a release", - "description": "Gets a public release with the specified release ID.\n\n**Note:** This returns an `upload_url` key corresponding to the endpoint\nfor uploading release assets. This key is a hypermedia resource. For more information, see\n\"[Getting started with the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", - "tags": [ - "repos" - ], - "operationId": "repos/get-release", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/release-id" - } - ], "responses": { - "200": { - "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see \"[Getting started with the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", + "201": { + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release" + "$ref": "#/components/schemas/pull-request-review-comment" }, "examples": { - "default": { - "$ref": "#/components/examples/release" + "example-for-a-multi-line-comment": { + "$ref": "#/components/examples/pull-request-review-comment-example-for-a-multi-line-comment" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "schema": { + "type": "string" + } + } } }, - "401": { - "description": "Unauthorized" + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" + "category": "pulls", + "subcategory": "comments" } - }, - "patch": { - "summary": "Update a release", - "description": "Users with push access to the repository can edit a release.", + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies": { + "post": { + "summary": "Create a reply for a review comment", + "description": "Creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\"\nand \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/update-release", + "operationId": "pulls/create-reply-for-review-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#update-a-release" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#create-a-reply-for-a-review-comment" }, "parameters": [ { @@ -20119,61 +15445,32 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/release-id" + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/comment-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "tag_name": { - "type": "string", - "description": "The name of the tag." - }, - "target_commitish": { - "type": "string", - "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." - }, - "name": { - "type": "string", - "description": "The name of the release." - }, "body": { "type": "string", - "description": "Text describing the contents of the tag." - }, - "draft": { - "type": "boolean", - "description": "`true` makes the release a draft, and `false` publishes the release." - }, - "prerelease": { - "type": "boolean", - "description": "`true` to identify the release as a prerelease, `false` to identify the release as a full release." - }, - "make_latest": { - "type": "string", - "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", - "enum": [ - "true", - "false", - "legacy" - ], - "default": true + "description": "The text of the review comment." } - } + }, + "required": [ + "body" + ] }, "examples": { "default": { "value": { - "tag_name": "v1.0.0", - "target_commitish": "master", - "name": "v1.0.0", - "body": "Description of the release", - "draft": false, - "prerelease": false + "body": "Great stuff!" } } } @@ -20181,75 +15478,53 @@ } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release" + "$ref": "#/components/schemas/pull-request-review-comment" }, "examples": { "default": { - "$ref": "#/components/examples/release" + "$ref": "#/components/examples/pull-request-review-comment" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "schema": { + "type": "string" + } + } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" - } - }, - "delete": { - "summary": "Delete a release", - "description": "Users with push access to the repository can delete a release.", - "tags": [ - "repos" - ], - "operationId": "repos/delete-release", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#delete-a-release" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" }, - { - "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/release-id" - } - ], - "responses": { - "204": { - "description": "Response" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "releases" + "enabledForGitHubApps": false, + "category": "pulls", + "subcategory": "comments" } } }, - "/repos/{owner}/{repo}/releases/{release_id}/assets": { + "/repos/{owner}/{repo}/pulls/{pull_number}/commits": { "get": { - "summary": "List release assets", - "description": "", + "summary": "List commits on a pull request", + "description": "Lists a maximum of 250 commits for a pull request. To receive a complete\ncommit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits)\nendpoint.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/list-release-assets", + "operationId": "pulls/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#list-release-assets" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-commits-on-a-pull-request" }, "parameters": [ { @@ -20259,7 +15534,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/release-id" + "$ref": "#/components/parameters/pull-number" }, { "$ref": "#/components/parameters/per-page" @@ -20276,12 +15551,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/release-asset" + "$ref": "#/components/schemas/commit" } }, "examples": { "default": { - "$ref": "#/components/examples/release-asset-items" + "$ref": "#/components/examples/commit-items" } } } @@ -20296,27 +15571,23 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "assets" + "category": "pulls", + "subcategory": "pulls" } - }, - "post": { - "summary": "Upload a release asset", - "description": "This endpoint makes use of a [Hypermedia relation](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List release assets](https://docs.github.com/enterprise-server@3.13/rest/releases/assets#list-release-assets)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-the-latest-release). \n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.", + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/files": { + "get": { + "summary": "List pull requests files", + "description": "Lists the files in a specified pull request.\n\n**Note:** Responses include a maximum of 3000 files. The paginated response\nreturns 30 files per page by default.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/upload-release-asset", + "operationId": "pulls/list-files", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#upload-a-release-asset" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#list-pull-requests-files" }, - "servers": [ - { - "url": "https://uploads.github.com", - "description": "The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the \"Create a release\" endpoint" - } - ], "parameters": [ { "$ref": "#/components/parameters/owner" @@ -20325,80 +15596,68 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/release-id" + "$ref": "#/components/parameters/pull-number" }, { - "name": "name", - "in": "query", - "required": true, - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/per-page" }, { - "name": "label", - "in": "query", - "schema": { - "type": "string" - } + "$ref": "#/components/parameters/page" } ], - "requestBody": { - "required": false, - "content": { - "application/octet-stream": { - "schema": { - "type": "string", - "format": "binary", - "description": "The raw file data" - }, - "examples": { - "default": { - "value": "@example.zip" - } - } - } - } - }, "responses": { - "201": { - "description": "Response for successful upload", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/release-asset" + "type": "array", + "items": { + "$ref": "#/components/schemas/diff-entry" + } }, "examples": { - "response-for-successful-upload": { - "$ref": "#/components/examples/release-asset-response-for-successful-upload" + "default": { + "$ref": "#/components/examples/diff-entry-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } }, "422": { - "description": "Response if you upload an asset with the same filename as another uploaded asset" + "$ref": "#/components/responses/validation_failed" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "releases", - "subcategory": "assets" + "category": "pulls", + "subcategory": "pulls" } } }, - "/repos/{owner}/{repo}/releases/{release_id}/reactions": { + "/repos/{owner}/{repo}/pulls/{pull_number}/merge": { "get": { - "summary": "List reactions for a release", - "description": "List the reactions to a [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release).", + "summary": "Check if a pull request has been merged", + "description": "Checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty.", "tags": [ - "reactions" + "pulls" ], - "operationId": "reactions/list-for-release", + "operationId": "pulls/check-if-merged", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-release" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#check-if-a-pull-request-has-been-merged" }, "parameters": [ { @@ -20408,77 +15667,34 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/release-id" - }, - { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "laugh", - "heart", - "hooray", - "rocket", - "eyes" - ] - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/pull-number" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } + "204": { + "description": "Response if pull request has been merged" }, "404": { - "$ref": "#/components/responses/not_found" + "description": "Not Found if pull request has not been merged" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "pulls", + "subcategory": "pulls" } }, - "post": { - "summary": "Create reaction for a release", - "description": "Create a reaction to a [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release.", + "put": { + "summary": "Merge a pull request", + "description": "Merges a pull request into the base branch.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ - "reactions" + "pulls" ], - "operationId": "reactions/create-for-release", + "operationId": "pulls/merge", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-release" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#merge-a-pull-request" }, "parameters": [ { @@ -20488,37 +15704,47 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/release-id" + "$ref": "#/components/parameters/pull-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "type": "object", + "type": [ + "object", + "null" + ], "properties": { - "content": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge." + }, + "merge_method": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the release.", + "description": "The merge method to use.", "enum": [ - "+1", - "laugh", - "heart", - "hooray", - "rocket", - "eyes" + "merge", + "squash", + "rebase" ] } - }, - "required": [ - "content" - ] + } }, "examples": { - "default": { + "response-if-merge-was-successful": { "value": { - "content": "heart" + "commit_title": "Expand enum", + "commit_message": "Add a new value to the merge_method enum" } } } @@ -20527,30 +15753,65 @@ }, "responses": { "200": { - "description": "Reaction exists", + "description": "if merge was successful", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/pull-request-merge-result" }, "examples": { - "default": { - "$ref": "#/components/examples/reaction" + "response-if-merge-was-successful": { + "$ref": "#/components/examples/pull-request-merge-result-response-if-merge-was-successful" } } } } }, - "201": { - "description": "Reaction created", + "405": { + "description": "Method Not Allowed if merge cannot be performed", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } }, "examples": { - "default": { - "$ref": "#/components/examples/reaction" + "response-if-merge-cannot-be-performed": { + "value": { + "message": "Pull Request is not mergeable" + } + } + } + } + } + }, + "409": { + "description": "Conflict if sha was provided and pull request head did not match", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + }, + "examples": { + "response-if-sha-was-provided-and-pull-request-head-did-not-match": { + "value": { + "message": "Head branch was modified. Review and try the merge again." + } } } } @@ -20558,66 +15819,34 @@ }, "422": { "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" - } - } - }, - "/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}": { - "delete": { - "summary": "Delete a release reaction", - "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.\n\nDelete a reaction to a [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release).", - "tags": [ - "reactions" - ], - "operationId": "reactions/delete-for-release", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#delete-a-release-reaction" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" }, - { - "$ref": "#/components/parameters/release-id" + "403": { + "$ref": "#/components/responses/forbidden" }, - { - "$ref": "#/components/parameters/reaction-id" - } - ], - "responses": { - "204": { - "description": "Response" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "reactions", - "subcategory": "reactions" + "category": "pulls", + "subcategory": "pulls" } } }, - "/repos/{owner}/{repo}/tags": { + "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": { "get": { - "summary": "List repository tags", - "description": "", + "summary": "Get all requested reviewers for a pull request", + "description": "Gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/list-tags", + "operationId": "pulls/list-requested-reviewers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#list-repository-tags" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request" }, "parameters": [ { @@ -20627,10 +15856,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/pull-number" } ], "responses": { @@ -20639,14 +15865,11 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/tag" - } + "$ref": "#/components/schemas/pull-request-review-request" }, "examples": { "default": { - "$ref": "#/components/examples/tag-items" + "$ref": "#/components/examples/simple-pull-request-review-request" } } } @@ -20661,22 +15884,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "pulls", + "subcategory": "review-requests" } - } - }, - "/repos/{owner}/{repo}/tags/protection": { - "get": { - "summary": "Deprecated - List tag protection states for a repository", - "description": "**Note**: This operation is deprecated and will be removed after August 30th 2024\nUse the \"[Repository Rulesets](https://docs.github.com/enterprise-server@3.13/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", + }, + "post": { + "summary": "Request reviewers for a pull request", + "description": "Requests reviews for a pull request from a given set of users and/or teams.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/list-tag-protection", + "operationId": "pulls/request-reviewers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/review-requests#request-reviewers-for-a-pull-request" }, "parameters": [ { @@ -20684,54 +15905,104 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + } + ], + "requestBody": { + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "An array of user `login`s that will be requested.", + "items": { + "type": "string" + } + }, + "team_reviewers": { + "type": "array", + "description": "An array of team `slug`s that will be requested.", + "items": { + "type": "string" + } + } + }, + "anyOf": [ + { + "required": [ + "reviewers" + ] + }, + { + "required": [ + "team_reviewers" + ] + } + ] + }, + "examples": { + "default": { + "value": { + "reviewers": [ + "octocat", + "hubot", + "other_user" + ], + "team_reviewers": [ + "justice-league" + ] + } + } + } + } } - ], + }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/tag-protection" - } + "$ref": "#/components/schemas/pull-request-simple" }, "examples": { "default": { - "$ref": "#/components/examples/tag-protection-items" + "$ref": "#/components/examples/pull-request-review-request" } } } } }, + "422": { + "description": "Unprocessable Entity if user is not a collaborator" + }, "403": { "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "category": "pulls", + "subcategory": "review-requests" + } }, - "post": { - "summary": "Deprecated - Create a tag protection state for a repository", - "description": "**Note**: This operation is deprecated and will be removed after August 30th 2024\nUse the \"[Repository Rulesets](https://docs.github.com/enterprise-server@3.13/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "delete": { + "summary": "Remove requested reviewers from a pull request", + "description": "Removes review requests from a pull request for a given set of users and/or teams.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/create-tag-protection", + "operationId": "pulls/remove-requested-reviewers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request" }, "parameters": [ { @@ -20739,6 +16010,9 @@ }, { "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" } ], "requestBody": { @@ -20748,19 +16022,36 @@ "schema": { "type": "object", "properties": { - "pattern": { - "type": "string", - "description": "An optional glob pattern to match against when enforcing tag protection." + "reviewers": { + "type": "array", + "description": "An array of user `login`s that will be removed.", + "items": { + "type": "string" + } + }, + "team_reviewers": { + "type": "array", + "description": "An array of team `slug`s that will be removed.", + "items": { + "type": "string" + } } }, "required": [ - "pattern" + "reviewers" ] }, "examples": { "default": { "value": { - "pattern": "v1.*" + "reviewers": [ + "octocat", + "hubot", + "other_user" + ], + "team_reviewers": [ + "justice-league" + ] } } } @@ -20768,50 +16059,44 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/tag-protection" + "$ref": "#/components/schemas/pull-request-simple" }, "examples": { "default": { - "$ref": "#/components/examples/tag-protection" + "$ref": "#/components/examples/pull-request-simple" } } } } }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true + "category": "pulls", + "subcategory": "review-requests" + } } }, - "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { - "delete": { - "summary": "Deprecated - Delete a tag protection state for a repository", - "description": "**Note**: This operation is deprecated and will be removed after August 30th 2024\nUse the \"[Repository Rulesets](https://docs.github.com/enterprise-server@3.13/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews": { + "get": { + "summary": "List reviews for a pull request", + "description": "Lists all reviews for a specified pull request. The list of reviews returns in chronological order.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "repos" + "pulls" ], - "operationId": "repos/delete-tag-protection", + "operationId": "pulls/list-reviews", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#list-reviews-for-a-pull-request" }, "parameters": [ { @@ -20821,154 +16106,157 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/tag-protection-id" - } - ], - "responses": { - "204": { - "description": "Response" + "$ref": "#/components/parameters/pull-number" }, - "403": { - "$ref": "#/components/responses/forbidden" + { + "$ref": "#/components/parameters/per-page" }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "tags", - "deprecationDate": "2024-05-29", - "removalDate": "2024-08-30" - }, - "deprecated": true - } - }, - "/teams/{team_id}": { - "get": { - "summary": "Get a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the [Get a team by name](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#get-a-team-by-name) endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/get-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#get-a-team-legacy" - }, - "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/page" } ], "responses": { "200": { - "description": "Response", + "description": "The list of reviews returns in chronological order.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-full" + "type": "array", + "items": { + "$ref": "#/components/schemas/pull-request-review" + } }, "examples": { "default": { - "$ref": "#/components/examples/team-full" + "$ref": "#/components/examples/pull-request-review-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true + "category": "pulls", + "subcategory": "reviews" + } }, - "patch": { - "summary": "Update a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a team](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#update-a-team) endpoint.\n\nTo edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** With nested teams, the `privacy` for parent teams cannot be `secret`.", + "post": { + "summary": "Create a review for a pull request", + "description": "Creates a review on a specified pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nPull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see \"[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request).\"\n\n**Note:** To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#get-a-pull-request) endpoint.\n\nThe `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "teams" + "pulls" ], - "operationId": "teams/update-legacy", + "operationId": "pulls/create-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#update-a-team-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#create-a-review-for-a-pull-request" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the team." - }, - "description": { + "commit_id": { "type": "string", - "description": "The description of the team." + "description": "The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value." }, - "privacy": { + "body": { "type": "string", - "description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \n**For a parent or child team:** \n * `closed` - visible to all members of this organization.", - "enum": [ - "secret", - "closed" - ] + "description": "**Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review." }, - "notification_setting": { + "event": { "type": "string", - "description": "The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are: \n * `notifications_enabled` - team members receive notifications when the team is @mentioned. \n * `notifications_disabled` - no one receives notifications.", + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready.", "enum": [ - "notifications_enabled", - "notifications_disabled" + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" ] }, - "permission": { - "type": "string", - "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", - "enum": [ - "pull", - "push", - "admin" - ], - "default": "pull" - }, - "parent_team_id": { - "type": [ - "integer", - "null" - ], - "description": "The ID of a team to set as the parent team." + "comments": { + "type": "array", + "description": "Use the following table to specify the location, destination, and contents of the draft review comment.", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The relative path to the file that necessitates a review comment." + }, + "position": { + "type": "integer", + "description": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file." + }, + "body": { + "type": "string", + "description": "Text of the review comment." + }, + "line": { + "type": "integer", + "examples": [ + 28 + ] + }, + "side": { + "type": "string", + "examples": [ + "RIGHT" + ] + }, + "start_line": { + "type": "integer", + "examples": [ + 26 + ] + }, + "start_side": { + "type": "string", + "examples": [ + "LEFT" + ] + } + }, + "required": [ + "path", + "body" + ] + } } - }, - "required": [ - "name" - ] + } }, "examples": { "default": { "value": { - "name": "new team name", - "description": "new team description", - "privacy": "closed", - "notification_setting": "notifications_enabled" + "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", + "body": "This is close to perfect! Please address the suggested inline change.", + "event": "REQUEST_CHANGES", + "comments": [ + { + "path": "file.md", + "position": 6, + "body": "Please add more information here, and fix this typo." + } + ] } } } @@ -20977,117 +16265,60 @@ }, "responses": { "200": { - "description": "Response when the updated information already exists", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/team-full" - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-full" - } - } - } - } - }, - "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-full" + "$ref": "#/components/schemas/pull-request-review" }, "examples": { "default": { - "$ref": "#/components/examples/team-full" + "$ref": "#/components/examples/pull-request-review" } } } } }, - "404": { - "$ref": "#/components/responses/not_found" - }, "422": { - "$ref": "#/components/responses/validation_failed" + "$ref": "#/components/responses/validation_failed_simple" }, "403": { "$ref": "#/components/responses/forbidden" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a team](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#delete-a-team) endpoint.\n\nTo delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.", - "tags": [ - "teams" - ], - "operationId": "teams/delete-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#delete-a-team-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true + "category": "pulls", + "subcategory": "reviews" + } } }, - "/teams/{team_id}/discussions": { + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": { "get": { - "summary": "List discussions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List discussions`](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#list-discussions) endpoint.\n\nList all discussions on a team's page.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "Get a review for a pull request", + "description": "Retrieves a pull request review by its ID.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "teams" + "pulls" ], - "operationId": "teams/list-discussions-legacy", + "operationId": "pulls/get-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#list-discussions-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#get-a-review-for-a-pull-request" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/direction" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/pull-number" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/review-id" } ], "responses": { @@ -21096,49 +16327,50 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team-discussion" - } + "$ref": "#/components/schemas/pull-request-review" }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-items" + "$ref": "#/components/examples/pull-request-review-4" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussions" - }, - "deprecated": true + "category": "pulls", + "subcategory": "reviews" + } }, - "post": { - "summary": "Create a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create a discussion`](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#create-a-discussion) endpoint.\n\nCreates a new discussion post on a team's page.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "put": { + "summary": "Update a review for a pull request", + "description": "Updates the contents of a specified review summary comment.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "teams" + "pulls" ], - "operationId": "teams/create-discussion-legacy", + "operationId": "pulls/update-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#create-a-discussion-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#update-a-review-for-a-pull-request" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" } ], "requestBody": { @@ -21148,30 +16380,19 @@ "schema": { "type": "object", "properties": { - "title": { - "type": "string", - "description": "The discussion post's title." - }, "body": { "type": "string", - "description": "The discussion post's body text." - }, - "private": { - "type": "boolean", - "description": "Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.", - "default": false + "description": "The body text of the pull request review." } }, "required": [ - "title", "body" ] }, "examples": { "default": { "value": { - "title": "Our first team post", - "body": "Hi! This is an area for us to collaborate as a team." + "body": "This is close to perfect! Please address the suggested inline change. And add more about this." } } } @@ -21179,52 +16400,118 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-discussion" + "$ref": "#/components/schemas/pull-request-review" }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion" + "$ref": "#/components/examples/pull-request-review-5" } } } } + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussions" + "category": "pulls", + "subcategory": "reviews" + } + }, + "delete": { + "summary": "Delete a pending review for a pull request", + "description": "Deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", + "tags": [ + "pulls" + ], + "operationId": "pulls/delete-pending-review", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request" }, - "deprecated": true + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/pull-request-review" + }, + "examples": { + "default": { + "$ref": "#/components/examples/pull-request-review" + } + } + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "pulls", + "subcategory": "reviews" + } } }, - "/teams/{team_id}/discussions/{discussion_number}": { + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": { "get": { - "summary": "Get a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion) endpoint.\n\nGet a specific discussion on a team's page.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List comments for a pull request review", + "description": "Lists comments for a specific pull request review.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "teams" + "pulls" ], - "operationId": "teams/get-discussion-legacy", + "operationId": "pulls/list-comments-for-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#list-comments-for-a-pull-request-review" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -21233,67 +16520,92 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-discussion" + "type": "array", + "items": { + "$ref": "#/components/schemas/review-comment" + } }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion" + "$ref": "#/components/examples/review-comment-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussions" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#update-a-discussion) endpoint.\n\nEdits the title and body text of a discussion post. Only the parameters you provide are updated.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "category": "pulls", + "subcategory": "reviews" + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals": { + "put": { + "summary": "Dismiss a review for a pull request", + "description": "Dismisses a specified review on a pull request.\n\n**Note:** To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection),\nyou must be a repository administrator or be included in the list of people or teams\nwho can dismiss pull request reviews.\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "teams" + "pulls" ], - "operationId": "teams/update-discussion-legacy", + "operationId": "pulls/dismiss-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#update-a-discussion-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#dismiss-a-review-for-a-pull-request" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/pull-number" + }, + { + "$ref": "#/components/parameters/review-id" } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "title": { + "message": { "type": "string", - "description": "The discussion post's title." + "description": "The message for the pull request review dismissal" }, - "body": { + "event": { "type": "string", - "description": "The discussion post's body text." + "enum": [ + "DISMISS" + ], + "examples": [ + "\"DISMISS\"" + ] } - } + }, + "required": [ + "message" + ] }, "examples": { "default": { "value": { - "title": "Welcome to our first team post" + "message": "You are dismissed", + "event": "DISMISS" } } } @@ -21306,165 +16618,170 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-discussion" + "$ref": "#/components/schemas/pull-request-review" }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-2" + "$ref": "#/components/examples/pull-request-review-3" } } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussions" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Delete a discussion`](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#delete-a-discussion) endpoint.\n\nDelete a discussion from a team's page.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/delete-discussion-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#delete-a-discussion-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" }, - { - "$ref": "#/components/parameters/discussion-number" - } - ], - "responses": { - "204": { - "description": "Response" + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussions" - }, - "deprecated": true + "category": "pulls", + "subcategory": "reviews" + } } }, - "/teams/{team_id}/discussions/{discussion_number}/comments": { - "get": { - "summary": "List discussion comments (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List discussion comments](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#list-discussion-comments) endpoint.\n\nList all comments on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events": { + "post": { + "summary": "Submit a review for a pull request", + "description": "Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#create-a-review-for-a-pull-request).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.", "tags": [ - "teams" + "pulls" ], - "operationId": "teams/list-discussion-comments-legacy", + "operationId": "pulls/submit-review", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#list-discussion-comments-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/direction" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/pull-number" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/review-id" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The body text of the pull request review" + }, + "event": { + "type": "string", + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.", + "enum": [ + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" + ] + } + }, + "required": [ + "event" + ] + }, + "examples": { + "default": { + "value": { + "body": "Here is the body for the review.", + "event": "REQUEST_CHANGES" + } + } + } + } + } + }, "responses": { "200": { "description": "Response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team-discussion-comment" - } + "$ref": "#/components/schemas/pull-request-review" }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-comment-items" + "$ref": "#/components/examples/pull-request-review-4" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + }, + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - }, - "post": { - "summary": "Create a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Create a discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#create-a-discussion-comment) endpoint.\n\nCreates a new comment on a team discussion.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "category": "pulls", + "subcategory": "reviews" + } + } + }, + "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch": { + "put": { + "summary": "Update a pull request branch", + "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.", "tags": [ - "teams" + "pulls" ], - "operationId": "teams/create-discussion-comment-legacy", + "operationId": "pulls/update-branch", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#create-a-discussion-comment-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls#update-a-pull-request-branch" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/pull-number" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { - "type": "object", + "type": [ + "object", + "null" + ], "properties": { - "body": { + "expected_head_sha": { "type": "string", - "description": "The discussion comment's body text." + "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref." } - }, - "required": [ - "body" - ] + } }, "examples": { "default": { "value": { - "body": "Do you like apples?" + "expected_head_sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" } } } @@ -21472,55 +16789,71 @@ } }, "responses": { - "201": { + "202": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-discussion-comment" + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "url": { + "type": "string" + } + } }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-comment" + "value": { + "message": "Updating pull request branch.", + "url": "https://github.com/repos/octocat/Hello-World/pulls/53" + } } } } } + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "403": { + "$ref": "#/components/responses/forbidden" } }, "x-github": { - "triggersNotification": true, "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true + "enabledForGitHubApps": false, + "category": "pulls", + "subcategory": "pulls" + } } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": { + "/repos/{owner}/{repo}/releases": { "get": { - "summary": "Get a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get a discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#get-a-discussion-comment) endpoint.\n\nGet a specific comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "List releases", + "description": "This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#list-repository-tags).\n\nInformation about published releases are available to everyone. Only users with push access will receive listings for draft releases.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/get-discussion-comment-legacy", + "operationId": "repos/list-releases", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#get-a-discussion-comment-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#list-releases" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-number" + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" } ], "responses": { @@ -21529,47 +16862,52 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-discussion-comment" + "type": "array", + "items": { + "$ref": "#/components/schemas/release" + } }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-comment" + "$ref": "#/components/examples/release-items" } } } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true + "category": "releases", + "subcategory": "releases" + } }, - "patch": { - "summary": "Update a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Update a discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#update-a-discussion-comment) endpoint.\n\nEdits the body text of a discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "post": { + "summary": "Create a release", + "description": "Users with push access to the repository can create a release.\n\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see \"[Rate limits for the API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)\" and \"[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.13/rest/guides/best-practices-for-using-the-rest-api).\"", "tags": [ - "teams" + "repos" ], - "operationId": "teams/update-discussion-comment-legacy", + "operationId": "repos/create-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#update-a-discussion-comment-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#create-a-release" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/comment-number" + "$ref": "#/components/parameters/repo" } ], "requestBody": { @@ -21579,19 +16917,62 @@ "schema": { "type": "object", "properties": { + "tag_name": { + "type": "string", + "description": "The name of the tag." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." + }, + "name": { + "type": "string", + "description": "The name of the release." + }, "body": { "type": "string", - "description": "The discussion comment's body text." + "description": "Text describing the contents of the tag." + }, + "draft": { + "type": "boolean", + "description": "`true` to create a draft (unpublished) release, `false` to create a published one.", + "default": false + }, + "prerelease": { + "type": "boolean", + "description": "`true` to identify the release as a prerelease. `false` to identify the release as a full release.", + "default": false + }, + "generate_release_notes": { + "type": "boolean", + "description": "Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.", + "default": false + }, + "make_latest": { + "type": "string", + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", + "enum": [ + "true", + "false", + "legacy" + ], + "default": true } }, "required": [ - "body" + "tag_name" ] }, "examples": { "default": { "value": { - "body": "Do you like pineapples?" + "tag_name": "v1.0.0", + "target_commitish": "master", + "name": "v1.0.0", + "body": "Description of the release", + "draft": false, + "prerelease": false, + "generate_release_notes": false } } } @@ -21599,116 +16980,63 @@ } }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-discussion-comment" + "$ref": "#/components/schemas/release" }, "examples": { "default": { - "$ref": "#/components/examples/team-discussion-comment-2" + "$ref": "#/components/examples/release" } } } + }, + "headers": { + "Location": { + "example": "https://api.github.com/repos/octocat/Hello-World/releases/1", + "schema": { + "type": "string" + } + } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Delete a discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#delete-a-discussion-comment) endpoint.\n\nDeletes a comment on a team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/delete-discussion-comment-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#delete-a-discussion-comment-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" }, - { - "$ref": "#/components/parameters/comment-number" - } - ], - "responses": { - "204": { - "description": "Response" + "422": { + "$ref": "#/components/responses/validation_failed" } }, "x-github": { + "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "discussion-comments" - }, - "deprecated": true + "category": "releases", + "subcategory": "releases" + } } }, - "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": { + "/repos/{owner}/{repo}/releases/assets/{asset_id}": { "get": { - "summary": "List reactions for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion comment`](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment) endpoint.\n\nList the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#get-a-discussion-comment).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "summary": "Get a release asset", + "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/list-for-team-discussion-comment-legacy", + "operationId": "repos/get-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#get-a-release-asset" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "$ref": "#/components/parameters/comment-number" - }, - { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/asset-id" } ], "responses": { @@ -21717,87 +17045,80 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } + "$ref": "#/components/schemas/release-asset" }, "examples": { "default": { - "$ref": "#/components/examples/reaction-items" + "$ref": "#/components/examples/release-asset" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "302": { + "$ref": "#/components/responses/found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true + "category": "releases", + "subcategory": "assets" + } }, - "post": { - "summary": "Create reaction for a team discussion comment (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/rest/teams/discussion-comments#get-a-discussion-comment).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "patch": { + "summary": "Update a release asset", + "description": "Users with push access to the repository can edit a release asset.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/create-for-team-discussion-comment-legacy", + "operationId": "repos/update-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#update-a-release-asset" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/comment-number" + "$ref": "#/components/parameters/asset-id" } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", "properties": { - "content": { + "name": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" + "description": "The file name of the asset." + }, + "label": { + "type": "string", + "description": "An alternate short description of the asset. Used in place of the filename." + }, + "state": { + "type": "string", + "examples": [ + "\"uploaded\"" ] } - }, - "required": [ - "content" - ] + } }, "examples": { "default": { "value": { - "content": "heart" + "name": "foo-1.0.0-osx.zip", + "label": "Mac binary" } } } @@ -21805,16 +17126,16 @@ } }, "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/release-asset" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/release-asset" } } } @@ -21824,111 +17145,63 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - } - }, - "/teams/{team_id}/discussions/{discussion_number}/reactions": { - "get": { - "summary": "List reactions for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List reactions for a team discussion`](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-team-discussion) endpoint.\n\nList the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion).\n\nOAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.", + "category": "releases", + "subcategory": "assets" + } + }, + "delete": { + "summary": "Delete a release asset", + "description": "", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/list-for-team-discussion-legacy", + "operationId": "repos/delete-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#delete-a-release-asset" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/discussion-number" - }, - { - "name": "content", - "description": "Returns a single [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] - } + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/asset-id" } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/reaction" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/reaction-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true - }, + "category": "releases", + "subcategory": "assets" + } + } + }, + "/repos/{owner}/{repo}/releases/generate-notes": { "post": { - "summary": "Create reaction for a team discussion (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion).\n\nA response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\nOAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint.", + "summary": "Generate release notes content for a release", + "description": "Generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release.", "tags": [ - "reactions" + "repos" ], - "operationId": "reactions/create-for-team-discussion-legacy", + "operationId": "repos/generate-release-notes", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#generate-release-notes-content-for-a-release" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/discussion-number" + "$ref": "#/components/parameters/repo" } ], "requestBody": { @@ -21938,29 +17211,34 @@ "schema": { "type": "object", "properties": { - "content": { + "tag_name": { "type": "string", - "description": "The [reaction type](https://docs.github.com/enterprise-server@3.13/rest/reactions/reactions#about-reactions) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ] + "description": "The tag name for the release. This can be an existing tag or a new one." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists." + }, + "previous_tag_name": { + "type": "string", + "description": "The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release." + }, + "configuration_file_path": { + "type": "string", + "description": "Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used." } }, "required": [ - "content" + "tag_name" ] }, "examples": { "default": { "value": { - "content": "heart" + "tag_name": "v1.0.0", + "target_commitish": "main", + "previous_tag_name": "v0.9.2", + "configuration_file_path": ".github/custom_release_config.yml" } } } @@ -21968,69 +17246,51 @@ } }, "responses": { - "201": { - "description": "Response", + "200": { + "description": "Name and body of generated release notes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/reaction" + "$ref": "#/components/schemas/release-notes-content" }, "examples": { "default": { - "$ref": "#/components/examples/reaction" + "$ref": "#/components/examples/release-notes-content" } } } } + }, + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "removalDate": "2021-02-21", - "deprecationDate": "2020-02-26", - "category": "reactions", - "subcategory": "reactions" - }, - "deprecated": true + "enabledForGitHubApps": true, + "category": "releases", + "subcategory": "releases" + } } }, - "/teams/{team_id}/members": { + "/repos/{owner}/{repo}/releases/latest": { "get": { - "summary": "List team members (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team members`](https://docs.github.com/enterprise-server@3.13/rest/teams/members#list-team-members) endpoint.\n\nTeam members will include the members of child teams.", + "summary": "Get the latest release", + "description": "View the latest published full release for the repository.\n\nThe latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/list-members-legacy", + "operationId": "repos/get-latest-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#list-team-members-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-the-latest-release" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" - }, - { - "name": "role", - "description": "Filters members returned by their role in the team.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "member", - "maintainer", - "all" - ], - "default": "all" - } - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/repo" } ], "responses": { @@ -22039,225 +17299,153 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/simple-user" - } + "$ref": "#/components/schemas/release" }, "examples": { "default": { - "$ref": "#/components/examples/simple-user-items" + "$ref": "#/components/examples/release" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "members" - }, - "deprecated": true + "category": "releases", + "subcategory": "releases" + } } }, - "/teams/{team_id}/members/{username}": { + "/repos/{owner}/{repo}/releases/tags/{tag}": { "get": { - "summary": "Get team member (Legacy)", - "description": "The \"Get team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Get team membership for a user](https://docs.github.com/enterprise-server@3.13/rest/teams/members#get-team-membership-for-a-user) endpoint instead. It allows you to get both active and pending memberships.\n\nTo list members in a team, the team must be visible to the authenticated user.", - "tags": [ - "teams" - ], - "operationId": "teams/get-member-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#get-team-member-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "204": { - "description": "if user is a member" - }, - "404": { - "description": "if user is not a member" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "members" - }, - "deprecated": true - }, - "put": { - "summary": "Add team member (Legacy)", - "description": "The \"Add team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.13/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint instead. It allows you to invite new organization members to your teams.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo add someone to a team, the authenticated user must be an organization owner or a team maintainer in the team they're changing. The person being added to the team must be a member of the team's organization.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nNote that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "summary": "Get a release by tag name", + "description": "Get a published release with the specified tag.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/add-member-legacy", + "operationId": "repos/get-release-by-tag", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#add-team-member-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release-by-tag-name" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "description": "Not Found if team synchronization is set up" - }, - "422": { - "description": "Unprocessable Entity if you attempt to add an organization to a team or you attempt to add a user to a team when they are not a member of at least one other team in the same organization" + "$ref": "#/components/parameters/owner" }, - "403": { - "$ref": "#/components/responses/forbidden" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "members" - }, - "deprecated": true - }, - "delete": { - "summary": "Remove team member (Legacy)", - "description": "The \"Remove team member\" endpoint (described below) is deprecated.\n\nWe recommend using the [Remove team membership for a user](https://docs.github.com/enterprise-server@3.13/rest/teams/members#remove-team-membership-for-a-user) endpoint instead. It allows you to remove both active and pending memberships.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", - "tags": [ - "teams" - ], - "operationId": "teams/remove-member-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#remove-team-member-legacy" - }, - "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/username" + "name": "tag", + "description": "tag parameter", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "x-multi-segment": true } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/release" + }, + "examples": { + "default": { + "$ref": "#/components/examples/release" + } + } + } + } }, "404": { - "description": "Not Found if team synchronization is setup" + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "members" - }, - "deprecated": true + "category": "releases", + "subcategory": "releases" + } } }, - "/teams/{team_id}/memberships/{username}": { + "/repos/{owner}/{repo}/releases/{release_id}": { "get": { - "summary": "Get team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Get team membership for a user](https://docs.github.com/enterprise-server@3.13/rest/teams/members#get-team-membership-for-a-user) endpoint.\n\nTeam members will include the members of child teams.\n\nTo get a user's membership with a team, the team must be visible to the authenticated user.\n\n**Note:**\nThe response contains the `state` of the membership and the member's `role`.\n\nThe `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#create-a-team).", + "summary": "Get a release", + "description": "Gets a public release with the specified release ID.\n\n**Note:** This returns an `upload_url` key corresponding to the endpoint\nfor uploading release assets. This key is a hypermedia resource. For more information, see\n\"[Getting started with the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", "tags": [ - "teams" + "repos" ], - "operationId": "teams/get-membership-for-user-legacy", + "operationId": "repos/get-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#get-team-membership-for-a-user-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-a-release" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" } ], "responses": { "200": { - "description": "Response", + "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see \"[Getting started with the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia).\"", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-membership" + "$ref": "#/components/schemas/release" }, "examples": { - "response-if-user-is-a-team-maintainer": { - "$ref": "#/components/examples/team-membership-response-if-user-is-a-team-maintainer" + "default": { + "$ref": "#/components/examples/release" } } } } }, - "404": { - "$ref": "#/components/responses/not_found" + "401": { + "description": "Unauthorized" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "members" - }, - "deprecated": true + "category": "releases", + "subcategory": "releases" + } }, - "put": { - "summary": "Add or update team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team membership for a user](https://docs.github.com/enterprise-server@3.13/rest/teams/members#add-or-update-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nIf the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"\n\nIf the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.\n\nIf the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.", + "patch": { + "summary": "Update a release", + "description": "Users with push access to the repository can edit a release.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/add-or-update-membership-for-user-legacy", + "operationId": "repos/update-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#add-or-update-team-membership-for-a-user-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#update-a-release" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" } ], "requestBody": { @@ -22267,22 +17455,51 @@ "schema": { "type": "object", "properties": { - "role": { + "tag_name": { "type": "string", - "description": "The role that this user should have in the team.", + "description": "The name of the tag." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." + }, + "name": { + "type": "string", + "description": "The name of the release." + }, + "body": { + "type": "string", + "description": "Text describing the contents of the tag." + }, + "draft": { + "type": "boolean", + "description": "`true` makes the release a draft, and `false` publishes the release." + }, + "prerelease": { + "type": "boolean", + "description": "`true` to identify the release as a prerelease, `false` to identify the release as a full release." + }, + "make_latest": { + "type": "string", + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", "enum": [ - "member", - "maintainer" + "true", + "false", + "legacy" ], - "default": "member" + "default": true } } }, "examples": { "default": { - "summary": "Assign the member role for a user in a team", "value": { - "role": "member" + "tag_name": "v1.0.0", + "target_commitish": "master", + "name": "v1.0.0", + "body": "Description of the release", + "draft": false, + "prerelease": false } } } @@ -22295,89 +17512,80 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-membership" + "$ref": "#/components/schemas/release" }, "examples": { - "response-if-users-membership-with-team-is-now-pending": { - "$ref": "#/components/examples/team-membership-response-if-users-membership-with-team-is-now-pending" + "default": { + "$ref": "#/components/examples/release" } } } } - }, - "403": { - "description": "Forbidden if team synchronization is set up" - }, - "422": { - "description": "Unprocessable Entity if you attempt to add an organization to a team" - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "members" - }, - "deprecated": true + "category": "releases", + "subcategory": "releases" + } }, "delete": { - "summary": "Remove team membership for a user (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove team membership for a user](https://docs.github.com/enterprise-server@3.13/rest/teams/members#remove-team-membership-for-a-user) endpoint.\n\nTeam synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.\n\n**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"[Synchronizing teams between your identity provider and GitHub Enterprise Server](https://docs.github.com/enterprise-server@3.13/articles/synchronizing-teams-between-your-identity-provider-and-github/).\"", + "summary": "Delete a release", + "description": "Users with push access to the repository can delete a release.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/remove-membership-for-user-legacy", + "operationId": "repos/delete-release", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/members#remove-team-membership-for-a-user-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/releases#delete-a-release" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/username" + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" } ], "responses": { "204": { "description": "Response" - }, - "403": { - "description": "if team synchronization is set up" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "members" - }, - "deprecated": true + "category": "releases", + "subcategory": "releases" + } } }, - "/teams/{team_id}/projects": { + "/repos/{owner}/{repo}/releases/{release_id}/assets": { "get": { - "summary": "List team projects (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List team projects`](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-projects) endpoint.\n\nLists the organization projects for a team.", + "summary": "List release assets", + "description": "", "tags": [ - "teams" + "repos" ], - "operationId": "teams/list-projects-legacy", + "operationId": "repos/list-release-assets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-projects-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#list-release-assets" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/release-id" }, { "$ref": "#/components/parameters/per-page" @@ -22394,12 +17602,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/team-project" + "$ref": "#/components/schemas/release-asset" } }, "examples": { "default": { - "$ref": "#/components/examples/team-project-items" + "$ref": "#/components/examples/release-asset-items" } } } @@ -22409,223 +17617,121 @@ "$ref": "#/components/headers/link" } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true - } - }, - "/teams/{team_id}/projects/{project_id}": { - "get": { - "summary": "Check team permissions for a project (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a project](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-project) endpoint.\n\nChecks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.", + "category": "releases", + "subcategory": "assets" + } + }, + "post": { + "summary": "Upload a release asset", + "description": "This endpoint makes use of a [Hypermedia relation](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned in\nthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#create-a-release) to upload a release asset.\n\nYou need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.\n\nMost libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: \n\n`application/zip`\n\nGitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,\nyou'll still need to pass your authentication to be able to upload an asset.\n\nWhen an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.\n\n**Notes:**\n* GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The \"[List release assets](https://docs.github.com/enterprise-server@3.13/rest/releases/assets#list-release-assets)\"\nendpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).\n* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/enterprise-server@3.13/rest/releases/releases#get-the-latest-release). \n* If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/check-permissions-for-project-legacy", + "operationId": "repos/upload-release-asset", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-project-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/releases/assets#upload-a-release-asset" }, + "servers": [ + { + "url": "https://uploads.github.com", + "description": "The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the \"Create a release\" endpoint" + } + ], "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" }, { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/team-project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/team-project" - } - } - } - } + "$ref": "#/components/parameters/repo" }, - "404": { - "description": "Not Found if project is not managed by this team" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true - }, - "put": { - "summary": "Add or update team project permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Add or update team project permissions](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-project-permissions) endpoint.\n\nAdds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.", - "tags": [ - "teams" - ], - "operationId": "teams/add-or-update-project-permissions-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-project-permissions-legacy" - }, - "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/release-id" }, { - "$ref": "#/components/parameters/project-id" + "name": "name", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "label", + "in": "query", + "schema": { + "type": "string" + } } ], "requestBody": { "required": false, "content": { - "application/json": { + "application/octet-stream": { "schema": { - "type": "object", - "properties": { - "permission": { - "type": "string", - "description": "The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", - "enum": [ - "read", - "write", - "admin" - ] - } - } + "type": "string", + "format": "binary", + "description": "The raw file data" }, "examples": { "default": { - "summary": "Example of setting permission to read", - "value": { - "permission": "read" - } + "value": "@example.zip" } } } } }, "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden if the project is not owned by the organization", + "201": { + "description": "Response for successful upload", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } + "$ref": "#/components/schemas/release-asset" }, "examples": { - "response-if-the-project-is-not-owned-by-the-organization": { - "value": { - "message": "Must have admin rights to Repository.", - "documentation_url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-project-permissions" - } + "response-for-successful-upload": { + "$ref": "#/components/examples/release-asset-response-for-successful-upload" } } } } }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true - }, - "delete": { - "summary": "Remove a project from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a project from a team](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-project-from-a-team) endpoint.\n\nRemoves an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. **Note:** This endpoint removes the project from the team, but does not delete it.", - "tags": [ - "teams" - ], - "operationId": "teams/remove-project-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-project-from-a-team-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, "422": { - "$ref": "#/components/responses/validation_failed" + "description": "Response if you upload an asset with the same filename as another uploaded asset" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true + "category": "releases", + "subcategory": "assets" + } } }, - "/teams/{team_id}/repos": { + "/repos/{owner}/{repo}/tags": { "get": { - "summary": "List team repositories (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [List team repositories](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-repositories) endpoint.", + "summary": "List repository tags", + "description": "", "tags": [ - "teams" + "repos" ], - "operationId": "teams/list-repos-legacy", + "operationId": "repos/list-tags", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-team-repositories-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/repos#list-repository-tags" }, "parameters": [ { - "$ref": "#/components/parameters/team-id" + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" }, { "$ref": "#/components/parameters/per-page" @@ -22642,12 +17748,12 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/minimal-repository" + "$ref": "#/components/schemas/tag" } }, "examples": { "default": { - "$ref": "#/components/examples/minimal-repository-items" + "$ref": "#/components/examples/tag-items" } } } @@ -22657,38 +17763,29 @@ "$ref": "#/components/headers/link" } } - }, - "404": { - "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true + "category": "repos", + "subcategory": "repos" + } } }, - "/teams/{team_id}/repos/{owner}/{repo}": { + "/repos/{owner}/{repo}/tags/protection": { "get": { - "summary": "Check team permissions for a repository (Legacy)", - "description": "**Note**: Repositories inherited through a parent team will also be checked.\n\n**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Check team permissions for a repository](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-repository) endpoint.\n\nYou can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` header:", + "summary": "Deprecated - List tag protection states for a repository", + "description": "**Note**: This operation is deprecated and will be removed after August 30th 2024\nUse the \"[Repository Rulesets](https://docs.github.com/enterprise-server@3.13/rest/repos/rules#get-all-repository-rulesets)\" endpoint instead.\n\nThis returns the tag protection states of a repository.\n\nThis information is only available to repository administrators.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/check-permissions-for-repo-legacy", + "operationId": "repos/list-tag-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#check-team-permissions-for-a-repository-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository" }, "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, { "$ref": "#/components/parameters/owner" }, @@ -22698,52 +17795,52 @@ ], "responses": { "200": { - "description": "Alternative response with extra repository information", + "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/team-repository" + "type": "array", + "items": { + "$ref": "#/components/schemas/tag-protection" + } }, "examples": { - "alternative-response-with-extra-repository-information": { - "$ref": "#/components/examples/team-repository-alternative-response-with-extra-repository-information" + "default": { + "$ref": "#/components/examples/tag-protection-items" } } } } }, - "204": { - "description": "Response if repository is managed by this team" + "403": { + "$ref": "#/components/responses/forbidden" }, "404": { - "description": "Not Found if repository is not managed by this team" + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" + "category": "repos", + "subcategory": "tags", + "deprecationDate": "2024-05-29", + "removalDate": "2024-08-30" }, "deprecated": true }, - "put": { - "summary": "Add or update team repository permissions (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Add or update team repository permissions](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-repository-permissions)\" endpoint.\n\nTo add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "post": { + "summary": "Deprecated - Create a tag protection state for a repository", + "description": "**Note**: This operation is deprecated and will be removed after August 30th 2024\nUse the \"[Repository Rulesets](https://docs.github.com/enterprise-server@3.13/rest/repos/rules#create-a-repository-ruleset)\" endpoint instead.\n\nThis creates a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/add-or-update-repo-permissions-legacy", + "operationId": "repos/create-tag-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#add-or-update-team-repository-permissions-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository" }, "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, { "$ref": "#/components/parameters/owner" }, @@ -22752,28 +17849,25 @@ } ], "requestBody": { - "required": false, + "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { - "permission": { + "pattern": { "type": "string", - "description": "The permission to grant the team on this repository. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.", - "enum": [ - "pull", - "push", - "admin" - ] + "description": "An optional glob pattern to match against when enforcing tag protection." } - } + }, + "required": [ + "pattern" + ] }, "examples": { "default": { - "summary": "Example of setting permission to pull", "value": { - "permission": "push" + "pattern": "v1.*" } } } @@ -22781,128 +17875,80 @@ } }, "responses": { - "204": { - "description": "Response" + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/tag-protection" + }, + "examples": { + "default": { + "$ref": "#/components/examples/tag-protection" + } + } + } + } }, "403": { "$ref": "#/components/responses/forbidden" }, - "422": { - "$ref": "#/components/responses/validation_failed" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" + "category": "repos", + "subcategory": "tags", + "deprecationDate": "2024-05-29", + "removalDate": "2024-08-30" }, "deprecated": true - }, + } + }, + "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}": { "delete": { - "summary": "Remove a repository from a team (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [Remove a repository from a team](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-repository-from-a-team) endpoint.\n\nIf the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. NOTE: This does not delete the repository, it just removes it from the team.", + "summary": "Deprecated - Delete a tag protection state for a repository", + "description": "**Note**: This operation is deprecated and will be removed after August 30th 2024\nUse the \"[Repository Rulesets](https://docs.github.com/enterprise-server@3.13/rest/repos/rules#delete-a-repository-ruleset)\" endpoint instead.\n\nThis deletes a tag protection state for a repository.\nThis endpoint is only available to repository administrators.", "tags": [ - "teams" + "repos" ], - "operationId": "teams/remove-repo-legacy", + "operationId": "repos/delete-tag-protection", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#remove-a-repository-from-a-team-legacy" + "url": "https://docs.github.com/enterprise-server@3.13/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository" }, "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, { "$ref": "#/components/parameters/owner" }, { "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "204": { - "description": "Response" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" - }, - "deprecated": true - } - }, - "/teams/{team_id}/teams": { - "get": { - "summary": "List child teams (Legacy)", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`List child teams`](https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-child-teams) endpoint.", - "tags": [ - "teams" - ], - "operationId": "teams/list-child-legacy", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/teams/teams#list-child-teams-legacy" - }, - "parameters": [ - { - "$ref": "#/components/parameters/team-id" - }, - { - "$ref": "#/components/parameters/per-page" }, { - "$ref": "#/components/parameters/page" + "$ref": "#/components/parameters/tag-protection-id" } ], "responses": { - "200": { - "description": "if child teams exist", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/team" - } - }, - "examples": { - "response-if-child-teams-exist": { - "$ref": "#/components/examples/team-items-response-if-child-teams-exist" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" + "204": { + "description": "Response" }, "403": { "$ref": "#/components/responses/forbidden" }, - "422": { - "$ref": "#/components/responses/validation_failed" + "404": { + "$ref": "#/components/responses/not_found" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "removalDate": "2021-02-01", - "deprecationDate": "2020-01-21", - "category": "teams", - "subcategory": "teams" + "category": "repos", + "subcategory": "tags", + "deprecationDate": "2024-05-29", + "removalDate": "2024-08-30" }, "deprecated": true } diff --git a/GitHub/README.md b/GitHub/README.md index 698b2cf..e63b5c9 100644 --- a/GitHub/README.md +++ b/GitHub/README.md @@ -1,47 +1,39 @@ GitHub is a web-based platform for Git version control, code review, issue tracking, and CI/CD via GitHub Actions. -This project provides two complementary ways to automate against GitHub: - -- **Studio Project workflows** built on the **GitHub Adapter** — a set of repository CRUD workflows (create a branch, commit a file, get a file, open a pull request). -- **OpenAPI specs** for building new automation directly against GitHub's REST API via an Integration Model. The `-latest` spec is a curated subset covering common CRUD for repository automation — see **OpenAPIs** below. +This project provides OpenAPI specs for automating against GitHub's REST API via an Integration Model, plus a Studio Project of ready-to-import CRUD workflows built on that model. ## Table of Contents - [Contents](#contents) - [Requirements](#requirements) - [Integration Configuration](#integration-configuration) - - [Adapter (Studio Project workflows)](#adapter-studio-project-workflows) - - [Integration Model (OpenAPI-based automation)](#integration-model-openapi-based-automation) -- [Studio Projects](#studio-projects) - - [GitHub Project](#github-project) - [OpenAPIs](#openapis) - [`github_rest_api-latest.json`](#github_rest_api-latestjson) - [`github_rest_api-1.1.4.json`](#github_rest_api-114json) +- [Studio Projects](#studio-projects) + - [GitHub Project](#github-project) + - [Folder Structure](#folder-structure) + - [Dependencies](#dependencies) ## Contents | Asset | Description | |---|---| | [OpenAPIs/](./OpenAPIs/) | GitHub REST API OpenAPI specs — curated `-latest` plus the full dated spec | -| [Studio Projects/](./Studio%20Projects/) | Itential Platform project containing the repository CRUD workflows | +| [Studio Projects/](./Studio%20Projects/) | Itential Platform project containing all 251 workflows in 16 folders | ## Requirements | Requirement | Version | |---|---| | Itential Platform | 6.x | -| GitHub Adapter | Required for the Studio Project workflows below | -| GitHub Integration Model | Required only if building new automation directly against the OpenAPI specs | +| `GitHub REST API:latest` Integration Model | Required to build automation against the OpenAPI specs, and to run the Studio Project below | -## Integration Configuration - -### Adapter (Studio Project workflows) +> **Note:** This project does not require Itential Gateway. All API calls are made directly from Itential Platform to GitHub's REST API. -Install the [GitHub Adapter](https://gitlab.com/itentialopensource/adapters/adapter-github) and configure an instance in **Admin > Adapters**, then update the `adapterId` value in each workflow task to match your instance name before importing. - -### Integration Model (OpenAPI-based automation) +## Integration Configuration -To build automation directly against the REST API instead, import one of the OpenAPI specs from `OpenAPIs/` as an Integration Model in **Admin > Integrations**, then create an integration pointing at your GitHub instance (or `api.github.com` for GitHub.com). +Import `github_rest_api-latest.json` as an Integration Model in **Admin > Integrations**, then create an integration pointing at your GitHub instance (`api.github.com` for GitHub.com, or your GitHub Enterprise Server hostname with `base_path: /api/v3`). Authentication is a bearer token in the `Authorization` header: @@ -49,140 +41,103 @@ Authentication is a bearer token in the `Authorization` header: Authorization: Bearer ``` -Generate a Personal Access Token at GitHub Settings → Developer settings → Personal access tokens, or use a GitHub App installation token. +Generate a Personal Access Token (or GitHub App installation token) at GitHub Settings → Developer settings → Personal access tokens. ---- - -## Studio Projects - -### GitHub Project - -| Folder | Workflows | Scope | -|---|---|---| -| Commit File | Commit File | Create or update a file's contents on a branch | -| Create Branch | Create Branch | Create a new branch from a reference branch | -| (root) | Create Pull Request, Get File | Open a pull request between branches; read a file's contents | - -#### Dependencies - -| Dependency | Notes | -|---|---| -| [GitHub Adapter](https://gitlab.com/itentialopensource/adapters/adapter-github) | Required. Update `adapterId` in each workflow task to match your instance name. | - -#### Workflow Input Reference - -All workflows accept a JSON object when run manually or called as a child workflow. - -##### Create Pull Request +The instance's `authentication`/`server` properties should look like this once configured: ```json { - "adapterId": "GitHub", - "repoOwner": "my-org", - "repoName": "my-repo", - "prTitle": "Add new feature", - "sourceBranch": "feature/my-change", - "targetBranch": "main" + "authentication": { + "bearerAuth": "" + }, + "server": { + "protocol": "https", + "host": "api.github.com", + "base_path": "" + } } ``` -| Field | Type | Required | Description | -|---|---|---|---| -| `adapterId` | string | Yes | Name of the configured GitHub adapter instance. | -| `repoOwner` | string | Yes | Repository owner (user or organization). | -| `repoName` | string | Yes | Repository name. | -| `prTitle` | string | Yes | Pull request title. | -| `sourceBranch` | string | Yes | Branch containing the changes. | -| `targetBranch` | string | Yes | Branch to merge into. | +For GitHub Enterprise Server, set `host` to your instance's hostname and `base_path` to `/api/v3`. -##### Commit File +> **Note:** The OpenAPI spec's `servers` entry is a static placeholder (`https://HOSTNAME/api/v3`) rather than the vendor's templated Enterprise Server URL — Itential Platform Integration Models require a static server URL, so the actual protocol/host/base_path are configured per-instance as shown above, same as GitLab's self-hosted-vs-SaaS split. -```json -{ - "adapterId": "GitHub", - "repoOwner": "my-org", - "repoName": "my-repo", - "filePath": "configs/router1.cfg", - "branchName": "main", - "commitMessage": "Update router1 config", - "fileContent": "hostname router1\n..." -} -``` +## OpenAPIs -| Field | Type | Required | Description | +| Spec | Version | Operations | Description | |---|---|---|---| -| `adapterId` | string | Yes | Name of the configured GitHub adapter instance. | -| `repoOwner` | string | Yes | Repository owner (user or organization). | -| `repoName` | string | Yes | Repository name. | -| `filePath` | string | Yes | Path of the file to create or update. | -| `branchName` | string | Yes | Branch to commit to. | -| `commitMessage` | string | Yes | Commit message. | -| `fileContent` | string | Yes | New file content. | +| [`github_rest_api-latest.json`](./OpenAPIs/github_rest_api-latest.json) | latest (curated) | 248 | Trimmed to 248 of 987 upstream operations covering common CRUD for automation — see breakdown below | +| [`github_rest_api-1.1.4.json`](./OpenAPIs/github_rest_api-1.1.4.json) | 1.1.4 | 1186 | Full, unmodified vendor spec | -##### Create Branch +### `github_rest_api-latest.json` -```json -{ - "adapterId": "GitHub", - "owner": "my-org", - "repoName": "my-repo", - "branchName": "feature/my-change", - "refBranchName": "main" -} -``` +Actively-maintained spec (`x-vendor-api-version: 3.1.3`). Trimmed to 248 of 987 upstream operations covering common CRUD for repository automation. Beyond the exclusions already carried over from the prior curation pass (GitHub Enterprise admin, security scanning, Packages, Pages), this pass additionally dropped: -| Field | Type | Required | Description | -|---|---|---|---| -| `adapterId` | string | Yes | Name of the configured GitHub adapter instance. | -| `owner` | string | Yes | Repository owner (user or organization). | -| `repoName` | string | Yes | Repository name. | -| `branchName` | string | Yes | Name for the new branch. | -| `refBranchName` | string | Yes | Existing branch to branch from. | +- **Legacy team endpoints** (`/teams/{team_id}/...`) — superseded by the org-scoped `/orgs/{org}/teams/{team_slug}/...` equivalents, which are included. +- **Emoji reactions** — a thin long tail of list/create/delete endpoints scattered across six different resource types (issues, comments, pull request review comments, releases, team discussions). Low automation value. +- **The most granular branch-protection sub-resources** — `enforce_admins`, `required_signatures`, and `restrictions` scoped by app/team/user individually. Core protection CRUD (get/update/delete on branch protection, PR review protection, status check protection and contexts, and access restrictions as a whole) is retained. -##### Get File +Pull the full spec from [GitHub's official OpenAPI description](https://github.com/github/rest-api-description) if you need one of the excluded areas. -```json -{ - "adapterId": "GitHub", - "repoOwner": "my-org", - "repoName": "my-repo", - "filePath": "configs/router1.cfg", - "branchName": "main" -} -``` +Resources included, by category: -| Field | Type | Required | Description | -|---|---|---|---| -| `adapterId` | string | Yes | Name of the configured GitHub adapter instance. | -| `repoOwner` | string | Yes | Repository owner (user or organization). | -| `repoName` | string | Yes | Repository name. | -| `filePath` | string | Yes | Path of the file to read. | -| `branchName` | string | Yes | Branch to read from. | +- **Organizations**: Get, Update, Delete, Members, Outside Collaborators, Public Members, Org Repositories +- **Teams**: List, Create, Get, Update, Delete (org-scoped), Discussions, Discussion Comments, External Groups, Members, Membership, Team Projects, Team Repositories +- **Repositories**: Get, Update, Delete, Collaborators, Invitations +- **Branches**: List, Get, Rename, Branch Protection, PR Review Protection, Status Check Protection/Contexts, Access Restrictions +- **Commits**: List, Get, Compare, Commit Comments, Commit Status +- **Checks**: Check Runs, Check Suites (list) +- **Repository Contents**: Get, Create/Update, Delete file contents +- **Actions**: Artifacts, Workflows, Workflow Runs, Workflow Jobs, Environment Secrets, Environment Variables +- **Issues**: List, Create, Get, Update, Comments, Events, Assignees, Labels, Lock, Milestones +- **Pull Requests**: List, Create, Get, Update, Comments, Requested Reviewers, Reviews +- **Releases**: List, Create, Get, Update, Delete, Release Assets +- **Deployments**: List, Create, Get, Delete, Deployment Status +- **Environments**: List, Create, Get, Update, Delete, Deployment Branch Policies, Deployment Protection Rules +- **Webhooks**: List, Create, Get, Update, Delete, Config, Deliveries +- **Tags**: List, Tag Protection +- **Users**: Authenticated user profile (get/update) + +### `github_rest_api-1.1.4.json` + +Full, unmodified vendor spec (1.1.4) — the vendor's complete API surface, preserved as-is. See `github_rest_api-latest.json` above for the curated subset if you just need common CRUD automation. --- -## OpenAPIs +## Studio Projects -| Spec | Version | Operations | Description | -|---|---|---|---| -| [`github_rest_api-latest.json`](./OpenAPIs/github_rest_api-latest.json) | latest (curated) | 320 | Trimmed to 320 of 987 upstream operations — see breakdown below | -| [`github_rest_api-1.1.4.json`](./OpenAPIs/github_rest_api-1.1.4.json) | 1.1.4 | 1186 | Full, unmodified vendor spec | +### GitHub Project -### `github_rest_api-latest.json` +Backed by the **`GitHub REST API:latest`** Integration Model (see [`github_rest_api-latest.json`](./OpenAPIs/github_rest_api-latest.json) above). The project contains **251 workflows** organized into **16 folders**, one workflow per curated operation. All workflows follow the naming convention ` ` (e.g. `List Pull Requests`, `Merge Pull Request`). -Actively-maintained spec (`x-vendor-api-version: 3.1.3`). Trimmed to 320 of 987 upstream operations covering common CRUD for repository automation. Excludes GitHub Enterprise admin, security scanning (Dependabot/code/secret scanning), Packages, Pages, and CI status-check APIs. Pull the full spec from [GitHub's official OpenAPI description](https://github.com/github/rest-api-description) if you need one of the excluded areas. +Several resource names are prefixed with `GitHub` (`GitHub Organization`, `GitHub Branch`, `GitHub Commit`, `GitHub Commit Comment`, `GitHub Repository File`, `GitHub Release`, `GitHub Deployment`, `GitHub Environment`, `GitHub Tag`) — these are generic terms that would otherwise collide with identically-named workflows already published for other products (Meraki's `Organization`, GitLab's `Branch`/`Commit`/`Release`/`Deployment`/`Environment`/`Tag`/etc.), since workflow names are unique across the whole Itential Platform instance, not scoped per-project. -Resources included, by category: +#### Folder Structure -- **Repository content**: Contents (files), Branches, Commits, Compare -- **Collaboration**: Issues, Pull Requests, Comments, Labels, Milestones, Collaborators, Invitations -- **Releases**: Releases, Tags -- **CI/CD**: Actions Workflows, Workflow Runs, Jobs, Artifacts -- **Deployment**: Environments, Deployments -- **Webhooks**: Repository Hooks -- **Organizations**: Org Teams, Members, Public Members, Outside Collaborators, Org Repos -- **User**: Authenticated user profile +| Folder | Workflows | Scope | +|---|---|---| +| Organizations | 15 | GitHub Organization, Organization Member, Outside Collaborator, Public Member, Organization Repository | +| Teams | 31 | Team, Team Discussion, Team Discussion Comment, Team External Group, Team Member, Team Membership, Team Project, Team Repository | +| Repositories | 11 | Repository, Collaborator, Repository Invitation | +| Branches | 18 | GitHub Branch, Branch Protection, PR Review Protection, Status Check Protection/Context, Access Restrictions | +| Commits | 13 | GitHub Commit, GitHub Commit Comment, Commit Status | +| Checks | 2 | Check Run, Check Suite (list only) | +| Repository Contents | 4 | GitHub Repository File | +| Actions | 42 | Artifact, Workflow, Workflow Run, Workflow Job, Environment Secret, Environment Variable | +| Issues | 35 | Issue, Issue Comment, Issue Event, Issue Assignee, Issue Label, Issue Lock, Label, Milestone | +| Pull Requests | 27 | Pull Request, Pull Request Comment, Requested Reviewer, Pull Request Review | +| Releases | 13 | GitHub Release, Release Asset | +| Deployments | 7 | GitHub Deployment, Deployment Status | +| Environments | 15 | GitHub Environment, Deployment Branch Policy, Deployment Protection Rule | +| Webhooks | 12 | Webhook, Webhook Config, Webhook Delivery | +| Tags | 4 | GitHub Tag, Tag Protection | +| Users | 2 | Authenticated User | -### `github_rest_api-1.1.4.json` +#### Dependencies -Full, unmodified vendor spec (1.1.4) — the vendor's complete API surface, preserved as-is. See `github_rest_api-latest.json` above for the curated subset if you just need common CRUD automation. +| Dependency | Notes | +|---|---| +| `GitHub REST API:latest` Integration Model | Import from [`github_rest_api-latest.json`](./OpenAPIs/github_rest_api-latest.json) before importing the project | +| `GitHub` integration instance | Create in **Admin > Integrations** with the connection properties above. Workflows are wired to an integration instance named `GitHub` — update the `adapter_id` value in each workflow task if yours is named differently | + +**Testing status:** all 251 workflows were created and schema-validated against a running Itential Platform instance. `Get Authenticated User` and `List Organization Members` were executed against a real GitHub account and confirmed returning live data. The remaining workflows have not been individually executed. diff --git a/GitHub/Studio Projects/GitHub.project.json b/GitHub/Studio Projects/GitHub.project.json index 14c6562..8aa253b 100644 --- a/GitHub/Studio Projects/GitHub.project.json +++ b/GitHub/Studio Projects/GitHub.project.json @@ -1,355 +1,95 @@ { - "_id": "66d0c63521161b4df27174b8", + "_id": "6a7ced6d1b0a1d59c3b6ba7d", "name": "GitHub", - "description": "GitHub asset including creating pull request, committing file, creating branch and getting file.", + "description": "Core CRUD workflows for the GitHub REST API, backed by the GitHub REST API Integration Model.", "components": [ { "iid": 0, - "reference": "ede1bfa7-45ab-429b-9d82-0ecadbdf6a14", + "reference": "46a0cc7d-3ac0-4a6a-9ce3-b36bd10d3c17", "type": "workflow", - "folder": "/Commit File", + "folder": "/Organizations", "document": { - "name": "Commit File", + "name": "Get GitHub Organization", + "description": "Get GitHub Organization", + "type": "automation", + "font_size": 12, "tasks": { - "1425": { - "name": "evaluation", - "canvasName": "evaluation", - "summary": "Verify File Not Found", - "description": "Verify if the file is not found", - "location": "Application", - "locationType": null, - "app": "WorkFlowEngine", - "type": "operation", - "displayName": "WorkFlowEngine", - "variables": { - "incoming": { - "all_true_flag": false, - "evaluation_groups": [ - { - "all_true_flag": false, - "evaluations": [ - { - "query": "IAPerror.code", - "operand_1": { - "variable": "githubError", - "task": "job" - }, - "operator": "==", - "operand_2": { - "variable": 404, - "task": "static" - } - } - ] - } - ] - }, - "outgoing": { - "return_value": null - } - }, - "groups": [], - "nodeLocation": { - "x": -3192, - "y": -48 - } - }, - "6102": { - "name": "putReposOwnerRepoContentsPath", - "canvasName": "putReposOwnerRepoContentsPath", - "summary": "Commit File", - "description": "Create a new file or replaces an existing file in a repository", - "location": "Adapter", - "locationType": "GitHub", - "app": "GitHub", - "type": "automatic", - "displayName": "GitHub", - "variables": { - "incoming": { - "owner": "$var.job.repoOwner", - "repo": "$var.job.repoName", - "pathParam": "$var.job.filePath", - "body": "$var.5ec.commitPayload", - "adapter_id": "$var.job.adapterId" - }, - "outgoing": { - "result": "$var.job.commitResult" - }, - "error": "$var.job.githubError", - "decorators": [] - }, - "groups": [], - "actor": "Pronghorn", - "scheduled": false, - "nodeLocation": { - "x": -3480, - "y": 132 - } - }, "workflow_start": { "name": "workflow_start", "groups": [], "nodeLocation": { - "x": -3480, - "y": -144 - } - }, - "workflow_end": { - "name": "workflow_end", - "groups": [], - "nodeLocation": { - "x": -3480, - "y": 240 - } - }, - "4e68": { - "name": "ViewData", - "canvasName": "ViewData", - "summary": "GitHub Error", - "description": "Show provision error and decision options", - "location": "Application", - "app": "WorkFlowEngine", - "displayName": "Tools", - "type": "manual", - "variables": { - "incoming": { - "header": "GitHub Error", - "message": "", - "body": "$var.job.githubError", - "variables": "", - "btn_success": "OK", - "btn_failure": "" - }, - "outgoing": {}, - "error": "", - "decorators": [] - }, - "view": "/workflow_engine/task/ViewData", - "groups": [], - "scheduled": false, - "nodeLocation": { - "x": -3192, - "y": 48 + "x": 264, + "y": 0 } }, - "915f": { - "name": "getReposOwnerRepoContentsPath", - "canvasName": "getReposOwnerRepoContentsPath", - "summary": "Get File", - "description": "Get the contents of a file", + "a1a1": { + "name": "orgs/get", + "canvasName": "orgs/get", + "summary": "orgs/get", + "description": "orgs/get", "location": "Adapter", - "locationType": "GitHub", - "app": "GitHub", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", "type": "automatic", "displayName": "GitHub", "variables": { "incoming": { - "owner": "$var.job.repoOwner", - "repo": "$var.job.repoName", - "pathParam": "$var.job.filePath", - "pathParamQuery": "", - "ref": "$var.job.branchName", - "adapter_id": "$var.job.adapterId" + "adapter_id": "GitHub", + "org": "$var.job.org" }, "outgoing": { - "result": "$var.job.fileResult" + "response": null }, - "error": "$var.job.githubError", + "error": "", "decorators": [] }, "groups": [], "actor": "Pronghorn", "scheduled": false, "nodeLocation": { - "x": -3480, - "y": -48 - } - }, - "5ec": { - "name": "transformation", - "canvasName": "transformation", - "summary": "Build Commit Payload", - "description": "Build Commit Payload", - "location": "Application", - "locationType": null, - "app": "WorkFlowEngine", - "type": "operation", - "displayName": "WorkFlowEngine", - "variables": { - "incoming": { - "tr_id": "622a021e7858d601db6606fb", - "variableMap": { - "commitMessage": "$var.job.commitMessage", - "fileContent": "$var.job.fileContent", - "branchName": "$var.job.branchName", - "encoding": "base64", - "fileResult": "$var.job.fileResult" - }, - "options": { - "extractOutput": true, - "validateIncoming": true, - "revertToDefaultValue": true - } - }, - "outgoing": { - "commitPayload": null - }, - "decorators": [] - }, - "groups": [], - "task_name": "Build Commit Payload - GitHub - REST", - "retrySettings": null, - "nodeLocation": { - "x": -3480, - "y": 48 + "x": 264, + "y": 150 } }, - "61eb": { - "name": "newVariable", - "canvasName": "newVariable", - "summary": "Create File Response Variable", - "description": "Create file response variable", - "location": "Application", - "locationType": null, - "app": "WorkFlowEngine", - "type": "operation", - "displayName": "WorkFlowEngine", - "variables": { - "incoming": { - "name": "fileResult", - "value": "$var.915f.error" - }, - "outgoing": { - "value": null - } - }, + "workflow_end": { + "name": "workflow_end", "groups": [], "nodeLocation": { - "x": -2904, - "y": -48 + "x": 264, + "y": 300 } } }, "transitions": { - "1425": { - "4e68": { - "type": "standard", - "state": "failure" - }, - "61eb": { - "type": "standard", - "state": "success" - } - }, - "5464": {}, - "6102": { - "workflow_end": { - "type": "standard", - "state": "success" - }, - "4e68": { - "type": "standard", - "state": "error" - } - }, "workflow_start": { - "915f": { + "a1a1": { "type": "standard", "state": "success" } }, - "workflow_end": {}, - "4e68": { + "a1a1": { "workflow_end": { "type": "standard", "state": "success" } }, - "915f": { - "1425": { - "type": "standard", - "state": "error" - }, - "5ec": { - "type": "standard", - "state": "success" - } - }, - "5ec": { - "6102": { - "type": "standard", - "state": "success" - } - }, - "61eb": { - "5ec": { - "type": "standard", - "state": "success" - } - }, - "702a": {}, - "f797": {}, - "332f": {}, - "a85b": {}, - "130d": {} + "workflow_end": {} }, "inputSchema": { "type": "object", "properties": { - "repoOwner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "filePath": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "branchName": { - "type": "string" - }, - "commitMessage": { - "type": "string" - }, - "fileContent": { + "org": { "type": "string" } }, "required": [ - "repoOwner", - "repoName", - "filePath", - "adapterId", - "branchName", - "commitMessage", - "fileContent" + "org" ] }, "outputSchema": { "type": "object", "properties": { - "repoOwner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "filePath": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "branchName": { - "type": "string" - }, - "commitMessage": { - "type": "string" - }, - "fileContent": { + "org": { "type": "string" }, "_id": { @@ -358,287 +98,386 @@ }, "initiator": { "type": "string" - }, - "githubError": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "commitResult": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "fileResult": { - "type": ["array", "boolean", "null", "number", "object", "string"] } } }, - "createdVersion": "5.40.5-2021.1.52.0", - "font_size": 12, - "lastUpdatedVersion": "5.55.2-2023.2.13", - "last_updated": "2025-01-23T16:55:03.061Z", - "preAutomationTime": 0, - "sla": 0, - "type": "automation", + "last_updated": "2026-08-12T22:02:24.836Z", "last_updated_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, - "created": "1970-01-01T00:00:00.000Z", - "canvasVersion": 3, + "lastUpdatedVersion": "4.69.69", + "uuid": "70d1bedd-1e2f-42cc-b8aa-e40f52192434", + "created": "2026-08-12T22:01:04.592Z", "created_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, "tags": [], "groups": [], - "migrationVersion": 3 + "migrationVersion": 8 } }, { "iid": 1, - "reference": "13db282a-7fc1-425d-94d2-6eab664672f9", + "reference": "6ade1967-9f45-4853-8a5f-5cf24db5a785", "type": "workflow", - "folder": "/", + "folder": "/Organizations", "document": { - "name": "Create Pull Request", + "name": "Update GitHub Organization", + "description": "Update GitHub Organization", + "type": "automation", + "font_size": 12, "tasks": { "workflow_start": { "name": "workflow_start", "groups": [], "nodeLocation": { - "x": -4452, - "y": 408 - } - }, - "workflow_end": { - "name": "workflow_end", - "groups": [], - "nodeLocation": { - "x": -4452, - "y": 672 - } - }, - "4e68": { - "name": "ViewData", - "canvasName": "ViewData", - "summary": "GitHub Error", - "description": "Show provision error and decision options", - "location": "Application", - "app": "WorkFlowEngine", - "displayName": "Tools", - "type": "manual", - "variables": { - "incoming": { - "header": "GitHub Error", - "message": "", - "body": "$var.job.githubError", - "variables": "", - "btn_success": "OK", - "btn_failure": "" - }, - "outgoing": {}, - "error": "", - "decorators": [] - }, - "view": "/workflow_engine/task/ViewData", - "groups": [], - "scheduled": false, - "nodeLocation": { - "x": -4152, - "y": 576 + "x": 264, + "y": 0 } }, - "820e": { - "name": "postReposOwnerRepoPulls", - "canvasName": "postReposOwnerRepoPulls", - "summary": "Create Pull Request", - "description": "Create a pull request", + "a1a1": { + "name": "orgs/update", + "canvasName": "orgs/update", + "summary": "orgs/update", + "description": "orgs/update", "location": "Adapter", - "locationType": "GitHub", - "app": "GitHub", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", "type": "automatic", "displayName": "GitHub", "variables": { "incoming": { - "owner": "$var.job.repoOwner", - "repo": "$var.job.repoName", - "body": "$var.16cc.merged_object", - "adapter_id": "$var.job.adapterId" + "adapter_id": "GitHub", + "org": "$var.job.org", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" }, "outgoing": { - "result": "$var.job.pullRequestResult" + "response": null }, - "error": "$var.job.githubError", + "error": "", "decorators": [] }, "groups": [], "actor": "Pronghorn", "scheduled": false, "nodeLocation": { - "x": -4452, - "y": 576 + "x": 264, + "y": 150 } }, - "16cc": { - "name": "merge", - "canvasName": "merge", - "summary": "Build Pull Request Payload", - "description": "Build Pull Request Payload", - "location": "Application", - "locationType": null, - "app": "WorkFlowEngine", - "type": "operation", - "displayName": "WorkFlowEngine", - "variables": { - "incoming": { - "data_to_merge": [ - { - "key": "title", - "value": { - "task": "job", - "variable": "prTitle", - "editable": true - } - }, - { - "key": "owner", - "value": { - "task": "job", - "variable": "repoOwner", - "editable": true - } - }, - { - "key": "repo", - "value": { - "task": "job", - "variable": "repoName", - "editable": true - } - }, - { - "key": "head", - "value": { - "task": "job", - "variable": "sourceBranch", - "editable": true - } - }, - { - "key": "base", - "value": { - "task": "job", - "variable": "targetBranch", - "editable": true - } - } - ] - }, - "outgoing": { - "merged_object": null - } - }, + "workflow_end": { + "name": "workflow_end", "groups": [], "nodeLocation": { - "x": -4452, - "y": 492 + "x": 264, + "y": 300 } } }, "transitions": { - "5464": {}, "workflow_start": { - "16cc": { - "type": "standard", - "state": "success" - } - }, - "workflow_end": {}, - "4e68": { - "workflow_end": { + "a1a1": { "type": "standard", "state": "success" } }, - "820e": { + "a1a1": { "workflow_end": { "type": "standard", "state": "success" - }, - "4e68": { - "type": "standard", - "state": "error" - } - }, - "16cc": { - "820e": { - "type": "standard", - "state": "success" } }, - "702a": {}, - "f797": {}, - "332f": {}, - "a85b": {}, - "130d": {} + "workflow_end": {} }, "inputSchema": { "type": "object", "properties": { - "repoOwner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "prTitle": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "sourceBranch": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "org": { + "type": "string" }, - "targetBranch": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "spec": { + "type": "object", + "properties": { + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "examples": [ + "\"http://github.blog\"" + ] + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether GitHub Advanced Security is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether Dependabot alerts is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether Dependabot security updates is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether dependency graph is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether secret scanning is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether secret scanning push protection is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + } + } } }, "required": [ - "repoOwner", - "repoName", - "adapterId", - "prTitle", - "sourceBranch", - "targetBranch" + "org", + "spec" ] }, "outputSchema": { "type": "object", "properties": { - "repoOwner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "prTitle": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "sourceBranch": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "org": { + "type": "string" }, - "targetBranch": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "spec": { + "type": "object", + "properties": { + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "examples": [ + "\"http://github.blog\"" + ] + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether GitHub Advanced Security is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether Dependabot alerts is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether Dependabot security updates is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether dependency graph is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether secret scanning is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "Whether secret scanning push protection is automatically enabled for new repositories.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request." + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + } + } }, "_id": { "type": "string", @@ -646,261 +485,121 @@ }, "initiator": { "type": "string" - }, - "githubError": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "pullRequestResult": { - "type": ["array", "boolean", "null", "number", "object", "string"] } } }, - "createdVersion": "5.40.5-2021.1.52.0", - "font_size": 12, - "lastUpdatedVersion": "5.55.2-2023.2.13", - "last_updated": "2025-01-23T16:55:03.064Z", - "preAutomationTime": 0, - "sla": 0, - "type": "automation", + "last_updated": "2026-08-12T22:02:24.836Z", "last_updated_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, - "created": "1970-01-01T00:00:00.000Z", - "canvasVersion": 3, + "lastUpdatedVersion": "4.69.69", + "uuid": "4f7b4c41-cc84-49d2-82ff-0bb91104736c", + "created": "2026-08-12T22:01:04.677Z", "created_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, "tags": [], "groups": [], - "migrationVersion": 3 + "migrationVersion": 8 } }, { "iid": 2, - "reference": "4ba8563f-a255-4ec4-af2a-be6f4c43af4f", + "reference": "835313dc-3c48-4ab7-bdc4-6077679a023e", "type": "workflow", - "folder": "/", + "folder": "/Organizations", "document": { - "name": "Get File", + "name": "Delete GitHub Organization", + "description": "Delete GitHub Organization", + "type": "automation", + "font_size": 12, "tasks": { - "1425": { - "name": "evaluation", - "canvasName": "evaluation", - "summary": "Verify File Not Found", - "description": "Verify if the file is not found", - "location": "Application", - "locationType": null, - "app": "WorkFlowEngine", - "type": "operation", - "displayName": "WorkFlowEngine", - "variables": { - "incoming": { - "all_true_flag": false, - "evaluation_groups": [ - { - "all_true_flag": false, - "evaluations": [ - { - "query": "IAPerror.code", - "operand_1": { - "variable": "githubError", - "task": "job" - }, - "operator": "==", - "operand_2": { - "variable": 404, - "task": "static" - } - } - ] - } - ] - }, - "outgoing": { - "return_value": null - } - }, - "groups": [], - "nodeLocation": { - "x": -3300, - "y": 420 - } - }, "workflow_start": { "name": "workflow_start", "groups": [], "nodeLocation": { - "x": -3588, - "y": 336 - } - }, - "workflow_end": { - "name": "workflow_end", - "groups": [], - "nodeLocation": { - "x": -3588, - "y": 528 - } - }, - "4e68": { - "name": "ViewData", - "canvasName": "ViewData", - "summary": "GitHub Error", - "description": "Show provision error and decision options", - "location": "Application", - "app": "WorkFlowEngine", - "displayName": "Tools", - "type": "manual", - "variables": { - "incoming": { - "header": "GitHub Error", - "message": "", - "body": "$var.job.githubError", - "variables": "", - "btn_success": "OK", - "btn_failure": "" - }, - "outgoing": {}, - "error": "", - "decorators": [] - }, - "view": "/workflow_engine/task/ViewData", - "groups": [], - "scheduled": false, - "nodeLocation": { - "x": -3300, - "y": 516 + "x": 264, + "y": 0 } }, - "915f": { - "name": "getReposOwnerRepoContentsPath", - "canvasName": "getReposOwnerRepoContentsPath", - "summary": "Get File", - "description": "Get the contents of a file", + "a1a1": { + "name": "orgs/delete", + "canvasName": "orgs/delete", + "summary": "orgs/delete", + "description": "orgs/delete", "location": "Adapter", - "locationType": "GitHub", - "app": "GitHub", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", "type": "automatic", "displayName": "GitHub", "variables": { "incoming": { - "owner": "$var.job.repoOwner", - "repo": "$var.job.repoName", - "pathParam": "$var.job.filePath", - "pathParamQuery": "", - "ref": "$var.job.branchName", - "adapter_id": "$var.job.adapterId" + "adapter_id": "GitHub", + "org": "$var.job.org" }, "outgoing": { - "result": "$var.job.fileResult" + "response": null }, - "error": "$var.job.githubError", + "error": "", "decorators": [] }, "groups": [], "actor": "Pronghorn", "scheduled": false, "nodeLocation": { - "x": -3588, - "y": 420 + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 } } }, "transitions": { - "1425": { - "4e68": { - "type": "standard", - "state": "failure" - }, - "workflow_end": { - "type": "standard", - "state": "success" - } - }, - "5464": {}, "workflow_start": { - "915f": { + "a1a1": { "type": "standard", "state": "success" } }, - "workflow_end": {}, - "4e68": { + "a1a1": { "workflow_end": { "type": "standard", "state": "success" } }, - "915f": { - "1425": { - "type": "standard", - "state": "error" - }, - "workflow_end": { - "type": "standard", - "state": "success" - } - }, - "702a": {}, - "f797": {}, - "332f": {}, - "a85b": {}, - "130d": {} + "workflow_end": {} }, "inputSchema": { "type": "object", "properties": { - "repoOwner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "filePath": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "branchName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "org": { + "type": "string" } }, "required": [ - "repoOwner", - "repoName", - "filePath", - "branchName", - "adapterId" + "org" ] }, "outputSchema": { "type": "object", "properties": { - "repoOwner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "filePath": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "branchName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "org": { + "type": "string" }, "_id": { "type": "string", @@ -908,381 +607,251 @@ }, "initiator": { "type": "string" - }, - "githubError": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "fileResult": { - "type": ["array", "boolean", "null", "number", "object", "string"] } } }, - "createdVersion": "5.40.5-2021.1.52.0", - "font_size": 12, - "lastUpdatedVersion": "5.55.2-2023.2.13", - "last_updated": "2025-01-23T16:55:03.063Z", - "preAutomationTime": 0, - "sla": 0, - "type": "automation", + "last_updated": "2026-08-12T22:02:24.836Z", "last_updated_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, - "created": "1970-01-01T00:00:00.000Z", - "canvasVersion": 3, + "lastUpdatedVersion": "4.69.69", + "uuid": "7b183866-4857-48c9-8a79-e2082657ac91", + "created": "2026-08-12T22:01:04.744Z", "created_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, "tags": [], "groups": [], - "migrationVersion": 3 + "migrationVersion": 8 } }, { "iid": 3, - "reference": "b80a2a25-d3e6-4d27-bf81-cc00ab590ac7", + "reference": "a337b711-077e-4677-9550-0a81e67b97ed", "type": "workflow", - "folder": "/Create Branch", + "folder": "/Organizations", "document": { - "name": "Create Branch", + "name": "List Organization Members", + "description": "List Organization Members", + "type": "automation", + "font_size": 12, "tasks": { - "1425": { - "name": "evaluation", - "canvasName": "evaluation", - "summary": "Verify Branch Not Found", - "description": "Verify if the branch is not found", - "location": "Application", - "locationType": null, - "app": "WorkFlowEngine", - "type": "operation", - "displayName": "WorkFlowEngine", - "variables": { - "incoming": { - "all_true_flag": false, - "evaluation_groups": [ - { - "all_true_flag": false, - "evaluations": [ - { - "query": "IAPerror.code", - "operand_1": { - "variable": "githubError", - "task": "job" - }, - "operator": "==", - "operand_2": { - "variable": 404, - "task": "static" - } - } - ] - } - ] - }, - "outgoing": { - "return_value": null - } - }, + "workflow_start": { + "name": "workflow_start", "groups": [], "nodeLocation": { - "x": -2532, - "y": 252 + "x": 264, + "y": 0 } }, - "3509": { - "name": "transformation", - "canvasName": "transformation", - "summary": "Build Branch Creation Payload", - "description": "Build branch creation payload", - "location": "Application", - "locationType": null, - "app": "WorkFlowEngine", - "type": "operation", - "displayName": "WorkFlowEngine", + "a1a1": { + "name": "orgs/list-members", + "canvasName": "orgs/list-members", + "summary": "orgs/list-members", + "description": "orgs/list-members", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", "variables": { "incoming": { - "tr_id": "622929b67858d601db6606fa", - "variableMap": { - "branchName": "$var.job.branchName", - "refBranchResponse": "$var.5d43.result" - }, - "options": { - "extractOutput": true, - "validateIncoming": true, - "revertToDefaultValue": true - } + "adapter_id": "GitHub", + "org": "$var.job.org" }, "outgoing": { - "branchCreationPayload": null - } + "response": null + }, + "error": "", + "decorators": [] }, "groups": [], - "task_name": "Build Branch Creation Payload - GitHub - REST", - "retrySettings": null, - "nodeLocation": { - "x": -2532, - "y": 432 - } - }, - "workflow_start": { - "name": "workflow_start", - "groups": [], + "actor": "Pronghorn", + "scheduled": false, "nodeLocation": { - "x": -2832, - "y": 156 + "x": 264, + "y": 150 } }, "workflow_end": { "name": "workflow_end", "groups": [], "nodeLocation": { - "x": -2832, - "y": 564 + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" } }, - "4e68": { - "name": "ViewData", - "canvasName": "ViewData", - "summary": "GitHub Error", - "description": "Show provision error and decision options", - "location": "Application", - "app": "WorkFlowEngine", - "displayName": "Tools", - "type": "manual", - "variables": { - "incoming": { - "header": "GitHub Error", - "message": "", - "body": "$var.job.githubError", - "variables": {}, - "btn_success": "OK", - "btn_failure": "" - }, - "outgoing": {}, - "error": "", - "decorators": [] - }, - "view": "/workflow_engine/task/ViewData", - "groups": [], - "scheduled": false, - "nodeLocation": { - "x": -2220, - "y": 516 + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" } }, - "5fc7": { - "name": "getReposOwnerRepoBranchesBranch", - "canvasName": "getReposOwnerRepoBranchesBranch", - "summary": "Get Branch", - "description": "Get a branch", - "location": "Adapter", - "locationType": "GitHub", - "app": "GitHub", - "type": "automatic", - "displayName": "GitHub", - "variables": { - "incoming": { - "owner": "$var.job.owner", - "repo": "$var.job.repoName", - "branch": "$var.job.branchName", - "adapter_id": "$var.job.adapterId" - }, - "outgoing": { - "result": "$var.job.branchResult" - }, - "error": "$var.job.githubError", - "decorators": [] + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + } + }, + "required": [ + "org" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f34a2a62-b09d-49ff-8ce0-5a4b7a7441f8", + "created": "2026-08-12T21:53:28.489Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 4, + "reference": "a9482fe7-73af-4604-993e-2bf34cadf58e", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Get Organization Member", + "description": "Get Organization Member", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", "groups": [], - "actor": "Pronghorn", - "scheduled": false, "nodeLocation": { - "x": -2832, - "y": 252 + "x": 264, + "y": 0 } }, - "5d43": { - "name": "getReposOwnerRepoBranchesBranch", - "canvasName": "getReposOwnerRepoBranchesBranch", - "summary": "Get Ref Branch", - "description": "Get the ref branch that the new branch is based on", + "a1a1": { + "name": "orgs/check-membership-for-user", + "canvasName": "orgs/check-membership-for-user", + "summary": "orgs/check-membership-for-user", + "description": "orgs/check-membership-for-user", "location": "Adapter", - "locationType": "GitHub", - "app": "GitHub", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", "type": "automatic", "displayName": "GitHub", "variables": { "incoming": { - "owner": "$var.job.owner", - "repo": "$var.job.repoName", - "branch": "$var.job.refBranchName", - "adapter_id": "$var.job.adapterId" + "adapter_id": "GitHub", + "org": "$var.job.org", + "username": "$var.job.username" }, "outgoing": { - "result": null + "response": null }, - "error": "$var.job.githubError", + "error": "", "decorators": [] }, "groups": [], "actor": "Pronghorn", "scheduled": false, "nodeLocation": { - "x": -2532, - "y": 336 + "x": 264, + "y": 150 } }, - "22b8": { - "name": "postReposOwnerRepoGitRefs", - "canvasName": "postReposOwnerRepoGitRefs", - "summary": "Create A Reference", - "description": "Create a reference in a repository", - "location": "Adapter", - "locationType": "GitHub", - "app": "GitHub", - "type": "automatic", - "displayName": "GitHub", - "variables": { - "incoming": { - "owner": "$var.job.owner", - "repo": "$var.job.repoName", - "body": "$var.3509.branchCreationPayload", - "adapter_id": "$var.job.adapterId" - }, - "outgoing": { - "result": "$var.job.branchResult" - }, - "error": "$var.job.githubError", - "decorators": [] - }, + "workflow_end": { + "name": "workflow_end", "groups": [], - "actor": "Pronghorn", - "scheduled": false, "nodeLocation": { - "x": -2532, - "y": 516 + "x": 264, + "y": 300 } } }, "transitions": { - "1425": { - "5d43": { - "type": "standard", - "state": "success" - }, - "4e68": { - "type": "standard", - "state": "failure" - } - }, - "3509": { - "22b8": { - "type": "standard", - "state": "success" - } - }, - "5464": {}, "workflow_start": { - "5fc7": { - "type": "standard", - "state": "success" - } - }, - "workflow_end": {}, - "4e68": { - "workflow_end": { - "type": "standard", - "state": "success" - } - }, - "5fc7": { - "1425": { - "type": "standard", - "state": "error" - }, - "workflow_end": { - "type": "standard", - "state": "success" - } - }, - "5d43": { - "3509": { + "a1a1": { "type": "standard", "state": "success" - }, - "4e68": { - "type": "standard", - "state": "error" } }, - "22b8": { - "4e68": { - "type": "standard", - "state": "error" - }, + "a1a1": { "workflow_end": { "type": "standard", "state": "success" } }, - "702a": {}, - "f797": {}, - "332f": {}, - "a85b": {} + "workflow_end": {} }, "inputSchema": { "type": "object", "properties": { - "branchName": { + "org": { "type": "string" }, - "owner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "refBranchName": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "username": { + "type": "string" } }, "required": [ - "branchName", - "owner", - "repoName", - "adapterId", - "refBranchName" + "org", + "username" ] }, "outputSchema": { "type": "object", "properties": { - "branchName": { + "org": { "type": "string" }, - "owner": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "repoName": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "adapterId": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "refBranchName": { - "type": ["array", "boolean", "null", "number", "object", "string"] + "username": { + "type": "string" }, "_id": { "type": "string", @@ -1290,452 +859,41193 @@ }, "initiator": { "type": "string" - }, - "githubError": { - "type": ["array", "boolean", "null", "number", "object", "string"] - }, - "branchResult": { - "type": ["array", "boolean", "null", "number", "object", "string"] } } }, - "createdVersion": "5.40.5-2021.1.52.0", - "font_size": 12, - "lastUpdatedVersion": "5.55.2-2023.2.13", - "last_updated": "2025-01-23T16:55:03.067Z", - "preAutomationTime": 0, - "sla": 0, - "type": "automation", + "last_updated": "2026-08-12T22:02:24.836Z", "last_updated_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, - "created": "1970-01-01T00:00:00.000Z", - "canvasVersion": 3, + "lastUpdatedVersion": "4.69.69", + "uuid": "943cf8b2-4d1d-41bd-990a-a86d1f708b8d", + "created": "2026-08-12T21:53:28.575Z", "created_by": { - "provenance": "Okta", + "provenance": "LDAP", "username": "admin@itential", "firstname": "admin@itential", - "inactive": false, - "sso": true, - "nameID": "admin@itential" + "inactive": false }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, "tags": [], "groups": [], - "migrationVersion": 3 + "migrationVersion": 8 } }, { "iid": 5, - "reference": "622a021e7858d601db6606fb", - "type": "transformation", - "folder": "/Commit File", - "document": { - "_id": "622a021e7858d601db6606fb", - "name": "Build Commit Payload", - "description": "", - "incoming": [ - { - "$id": "commitMessage", - "type": "string" - }, - { - "$id": "fileContent", - "type": "string" - }, - { - "$id": "branchName", - "type": "string" - }, - { - "$id": "encoding", - "type": "string" - }, - { - "$id": "fileResult", - "type": "object", - "properties": {}, - "required": [] - } - ], - "outgoing": [ - { - "$id": "commitPayload", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "content": { - "type": "string" - }, - "branch": { - "type": "string" - }, - "encoding": { - "type": "string" - }, - "sha": { - "type": "string" - } - }, - "required": [] - } - ], - "steps": [ - { - "id": 2, - "type": "assign", - "from": { - "location": "incoming", - "name": "branchName", - "ptr": "" - }, - "to": { - "location": "outgoing", - "name": "commitPayload", - "ptr": "/branch" - } - }, - { - "id": 3, - "type": "assign", - "from": { - "location": "incoming", - "name": "commitMessage", - "ptr": "" - }, - "to": { - "location": "outgoing", - "name": "commitPayload", - "ptr": "/message" - } - }, - { - "id": 4, - "type": "assign", - "from": { - "location": "incoming", - "name": "fileContent", - "ptr": "" - }, - "to": { - "location": "outgoing", - "name": "commitPayload", - "ptr": "/content" - } - }, - { - "id": 5, - "type": "assign", - "from": { - "location": "incoming", - "name": "encoding", - "ptr": "" - }, - "to": { - "location": "outgoing", - "name": "commitPayload", - "ptr": "/encoding" - } - }, - { - "id": 6, - "type": "method", - "library": "Logical", - "method": "nullish", - "args": [null, null], - "view": { - "row": 3, - "col": 2 - } - }, - { - "id": 7, - "type": "declaration", - "library": "String", - "method": "new String", - "args": [null], - "view": { - "row": 4, - "col": 1 - } - }, - { - "id": 9, - "type": "assign", - "from": { - "location": "declaration", - "name": 7, - "ptr": "/return" - }, - "to": { - "location": "method", - "name": 6, - "ptr": "/args/1/value" - } - }, - { - "id": 10, - "type": "assign", - "from": { - "location": "method", - "name": 6, - "ptr": "/return" - }, - "to": { - "location": "outgoing", - "name": "commitPayload", - "ptr": "/sha" - } - }, - { - "id": 11, - "type": "method", - "library": "Object", - "method": "optional chaining", - "args": [null, "response", "sha"], - "view": { - "row": 3, - "col": 1 - } - }, - { - "id": 12, - "type": "assign", - "from": { - "location": "incoming", - "name": "fileResult", - "ptr": "" - }, - "to": { - "location": "method", - "name": 11, - "ptr": "/args/0/value" - } - }, - { - "id": 13, - "type": "assign", - "from": { - "location": "method", - "name": 11, - "ptr": "/return" - }, - "to": { - "location": "method", - "name": 6, - "ptr": "/args/0/value" - } - } - ], - "functions": [], - "comments": [], - "view": { - "col": 2, - "row": 5 - }, - "created": "2025-01-23T16:43:12.535Z", - "createdBy": { - "_id": "67531c63592f8c45f4eabe88", - "provenance": "Okta", - "username": "admin@itential" - }, - "lastUpdated": "2025-01-23T16:55:03.067Z", - "lastUpdatedBy": { - "_id": "67531c63592f8c45f4eabe88", - "provenance": "Okta", - "username": "admin@itential" - }, - "version": "4.3.6-2023.2.5", - "tags": [] - } - }, - { - "iid": 6, - "reference": "622929b67858d601db6606fa", - "type": "transformation", - "folder": "/Create Branch", - "document": { - "_id": "622929b67858d601db6606fa", - "name": "Build Branch Creation Payload", - "description": "", - "incoming": [ - { - "$id": "branchName", - "type": "string" - }, - { - "$id": "refBranchResponse", - "type": "object", - "properties": { - "response": { - "type": "object", - "properties": { - "commit": { - "type": "object", - "properties": { - "sha": { - "type": "string" - } - }, - "required": [] - } - }, - "required": [] - } - }, - "required": [] - } - ], - "outgoing": [ - { - "$id": "branchCreationPayload", - "type": "object", - "properties": { - "ref": { - "type": "string" - }, - "sha": { - "type": "string" - } - }, - "required": [] - } - ], - "steps": [ - { - "id": 1, - "type": "assign", - "from": { - "location": "incoming", - "name": "refBranchResponse", - "ptr": "/response/commit/sha" - }, - "to": { - "location": "outgoing", - "name": "branchCreationPayload", - "ptr": "/sha" + "reference": "97ab9e1b-1336-4985-b558-d6ce8c3d4412", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Delete Organization Member", + "description": "Delete Organization Member", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/remove-member", + "canvasName": "orgs/remove-member", + "summary": "orgs/remove-member", + "description": "orgs/remove-member", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "org", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a888f77c-b785-4fcd-a0b0-782ccfeb2a4f", + "created": "2026-08-12T21:53:28.629Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 6, + "reference": "7a1b6a4d-0df4-47f5-9316-23627865aa39", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "List Outside Collaborators", + "description": "List Outside Collaborators", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/list-outside-collaborators", + "canvasName": "orgs/list-outside-collaborators", + "summary": "orgs/list-outside-collaborators", + "description": "orgs/list-outside-collaborators", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" } }, - { - "id": 2, - "type": "method", - "library": "String", - "method": "concat", - "args": ["refs/heads/", null], - "view": { - "row": 1, - "col": 1 + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + } + }, + "required": [ + "org" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "bf670404-55b0-4902-9b88-7c1793f0009f", + "created": "2026-08-12T21:53:28.675Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 7, + "reference": "4ef5a22d-252a-4903-983c-ab1e16b4eb59", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Delete Outside Collaborator", + "description": "Delete Outside Collaborator", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/remove-outside-collaborator", + "canvasName": "orgs/remove-outside-collaborator", + "summary": "orgs/remove-outside-collaborator", + "description": "orgs/remove-outside-collaborator", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" } }, - { - "id": 3, - "type": "assign", - "from": { - "location": "incoming", - "name": "branchName", - "ptr": "" + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" }, - "to": { - "location": "method", - "name": 2, - "ptr": "/args/1/value" + "username": { + "type": "string" } }, - { - "id": 4, - "type": "assign", - "from": { - "location": "method", - "name": 2, - "ptr": "/return" + "required": [ + "org", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" }, - "to": { - "location": "outgoing", - "name": "branchCreationPayload", - "ptr": "/ref" + "initiator": { + "type": "string" } } - ], - "functions": [], - "comments": [], - "view": { - "col": 2, - "row": 5 }, - "created": "2025-01-23T16:43:12.575Z", - "createdBy": { - "_id": "67531c63592f8c45f4eabe88", - "provenance": "Okta", - "username": "admin@itential" + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "7e660bd5-e3ed-49b1-bcea-c65b846e7291", + "created": "2026-08-12T21:53:28.714Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 8, + "reference": "51c38951-9f09-40a8-a031-ebbf2097d14d", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Convert Member to Outside Collaborator", + "description": "Convert Member to Outside Collaborator", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/convert-member-to-outside-collaborator", + "canvasName": "orgs/convert-member-to-outside-collaborator", + "summary": "orgs/convert-member-to-outside-collaborator", + "description": "orgs/convert-member-to-outside-collaborator", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "username": "$var.job.username", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "async": { + "type": "boolean", + "description": "When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.", + "default": false + } + } + } + }, + "required": [ + "org", + "username", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "async": { + "type": "boolean", + "description": "When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.", + "default": false + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "30dba8df-e888-410a-ba70-736589709c61", + "created": "2026-08-12T21:53:28.758Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 9, + "reference": "2d3d845e-e03d-4026-940d-e6152d08a804", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "List Public Members", + "description": "List Public Members", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/list-public-members", + "canvasName": "orgs/list-public-members", + "summary": "orgs/list-public-members", + "description": "orgs/list-public-members", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + } + }, + "required": [ + "org" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "478faf2c-c179-459e-8fd6-72daddae82bc", + "created": "2026-08-12T21:53:28.807Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 10, + "reference": "61a87dd3-18fe-44db-abb1-adc29f4e3773", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Get Public Member", + "description": "Get Public Member", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/check-public-membership-for-user", + "canvasName": "orgs/check-public-membership-for-user", + "summary": "orgs/check-public-membership-for-user", + "description": "orgs/check-public-membership-for-user", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "org", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "43cf86a8-e872-4b21-ab8e-284c5366ce4d", + "created": "2026-08-12T21:53:28.860Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 11, + "reference": "7fc92a6d-a86b-4415-9e4a-ee277f3acb7d", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Create Public Member", + "description": "Create Public Member", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/set-public-membership-for-authenticated-user", + "canvasName": "orgs/set-public-membership-for-authenticated-user", + "summary": "orgs/set-public-membership-for-authenticated-user", + "description": "orgs/set-public-membership-for-authenticated-user", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "org", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "593008c6-0f31-400f-8339-e14926f33eee", + "created": "2026-08-12T21:53:28.936Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 12, + "reference": "5411aa18-c747-4c08-ab41-afa4e5029276", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Delete Public Member", + "description": "Delete Public Member", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "orgs/remove-public-membership-for-authenticated-user", + "canvasName": "orgs/remove-public-membership-for-authenticated-user", + "summary": "orgs/remove-public-membership-for-authenticated-user", + "description": "orgs/remove-public-membership-for-authenticated-user", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "org", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "24a4b8b7-2886-487a-93de-461d62448d5a", + "created": "2026-08-12T21:53:29.020Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 13, + "reference": "354e5f7e-ecf6-4e85-bea8-12ec6dc69de5", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "List Organization Repositories", + "description": "List Organization Repositories", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-for-org", + "canvasName": "repos/list-for-org", + "summary": "repos/list-for-org", + "description": "repos/list-for-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + } + }, + "required": [ + "org" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "198ccb2d-a613-441b-9d51-2aa75d7652cc", + "created": "2026-08-12T21:53:29.068Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 14, + "reference": "1b89ab26-50c7-4fdf-9ad9-b7667a1b391d", + "type": "workflow", + "folder": "/Organizations", + "document": { + "name": "Create Organization Repository", + "description": "Create Organization Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-in-org", + "canvasName": "repos/create-in-org", + "summary": "repos/create-in-org", + "description": "repos/create-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository." + }, + "description": { + "type": "string", + "description": "A short description of the repository." + }, + "homepage": { + "type": "string", + "description": "A URL with more information about the repository." + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private.", + "default": false + }, + "visibility": { + "type": "string", + "description": "The visibility of the repository. **Note**: For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://docs.github.com/enterprise-server@3.13/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "enum": [ + "public", + "private", + "internal" + ] + }, + "has_issues": { + "type": "boolean", + "description": "Either `true` to enable issues for this repository or `false` to disable them.", + "default": true + }, + "has_projects": { + "type": "boolean", + "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", + "default": true + }, + "has_wiki": { + "type": "boolean", + "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", + "default": true + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "is_template": { + "type": "boolean", + "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", + "default": false + }, + "team_id": { + "type": "integer", + "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization." + }, + "auto_init": { + "type": "boolean", + "description": "Pass `true` to create an initial commit with empty README.", + "default": false + }, + "gitignore_template": { + "type": "string", + "description": "Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, \"Haskell\"." + }, + "license_template": { + "type": "string", + "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/enterprise-server@3.13/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\"." + }, + "allow_squash_merge": { + "type": "boolean", + "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", + "default": true + }, + "allow_merge_commit": { + "type": "boolean", + "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", + "default": true + }, + "allow_rebase_merge": { + "type": "boolean", + "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", + "default": true + }, + "allow_auto_merge": { + "type": "boolean", + "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.", + "default": false + }, + "delete_branch_on_merge": { + "type": "boolean", + "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**", + "default": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "custom_properties": { + "type": "object", + "description": "The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "name" + ] + } + }, + "required": [ + "org", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository." + }, + "description": { + "type": "string", + "description": "A short description of the repository." + }, + "homepage": { + "type": "string", + "description": "A URL with more information about the repository." + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private.", + "default": false + }, + "visibility": { + "type": "string", + "description": "The visibility of the repository. **Note**: For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://docs.github.com/enterprise-server@3.13/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation. \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", + "enum": [ + "public", + "private", + "internal" + ] + }, + "has_issues": { + "type": "boolean", + "description": "Either `true` to enable issues for this repository or `false` to disable them.", + "default": true + }, + "has_projects": { + "type": "boolean", + "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", + "default": true + }, + "has_wiki": { + "type": "boolean", + "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", + "default": true + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "is_template": { + "type": "boolean", + "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", + "default": false + }, + "team_id": { + "type": "integer", + "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization." + }, + "auto_init": { + "type": "boolean", + "description": "Pass `true` to create an initial commit with empty README.", + "default": false + }, + "gitignore_template": { + "type": "string", + "description": "Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, \"Haskell\"." + }, + "license_template": { + "type": "string", + "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/enterprise-server@3.13/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\"." + }, + "allow_squash_merge": { + "type": "boolean", + "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", + "default": true + }, + "allow_merge_commit": { + "type": "boolean", + "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", + "default": true + }, + "allow_rebase_merge": { + "type": "boolean", + "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", + "default": true + }, + "allow_auto_merge": { + "type": "boolean", + "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.", + "default": false + }, + "delete_branch_on_merge": { + "type": "boolean", + "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**", + "default": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "custom_properties": { + "type": "object", + "description": "The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "required": [ + "name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8fc0c77f-dfb6-4e41-afd0-5283365f8149", + "created": "2026-08-12T21:53:29.116Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 15, + "reference": "8dbe897a-db1f-49f2-a32d-5b555f85c8da", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Teams", + "description": "List Teams", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list", + "canvasName": "teams/list", + "summary": "teams/list", + "description": "teams/list", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + } + }, + "required": [ + "org" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "58b30ae2-b697-47cd-83f3-9e7aaea46297", + "created": "2026-08-12T21:53:29.155Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 16, + "reference": "21bb5602-4cd3-4859-8266-0a3a738b971b", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Create Team", + "description": "Create Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/create", + "canvasName": "teams/create", + "summary": "teams/create", + "description": "teams/create", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": "string", + "description": "The description of the team." + }, + "maintainers": { + "type": "array", + "description": "List GitHub IDs for organization members who will become team maintainers.", + "items": { + "type": "string" + } + }, + "repo_names": { + "type": "array", + "description": "The full name (e.g., \"organization-name/repository-name\") of repositories to add the team to.", + "items": { + "type": "string" + } + }, + "privacy": { + "type": "string", + "description": "The level of privacy this team should have. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \nDefault: `secret` \n**For a parent or child team:** \n * `closed` - visible to all members of this organization. \nDefault for child team: `closed`", + "enum": [ + "secret", + "closed" + ] + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team has chosen. The options are: \n * `notifications_enabled` - team members receive notifications when the team is @mentioned. \n * `notifications_disabled` - no one receives notifications. \nDefault: `notifications_enabled`", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + }, + "permission": { + "type": "string", + "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", + "enum": [ + "pull", + "push" + ], + "default": "pull" + }, + "parent_team_id": { + "type": "integer", + "description": "The ID of a team to set as the parent team." + }, + "ldap_dn": { + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. LDAP synchronization must be enabled to map LDAP entries to a team. Use the \"[Update LDAP mapping for a team](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team)\" endpoint to change the LDAP DN. For more information, see \"[Using LDAP](https://docs.github.com/enterprise-server@3.13/admin/identity-and-access-management/authenticating-users-for-your-github-enterprise-server-instance/using-ldap#enabling-ldap-sync).\"" + } + }, + "required": [ + "name" + ] + } + }, + "required": [ + "org", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": "string", + "description": "The description of the team." + }, + "maintainers": { + "type": "array", + "description": "List GitHub IDs for organization members who will become team maintainers.", + "items": { + "type": "string" + } + }, + "repo_names": { + "type": "array", + "description": "The full name (e.g., \"organization-name/repository-name\") of repositories to add the team to.", + "items": { + "type": "string" + } + }, + "privacy": { + "type": "string", + "description": "The level of privacy this team should have. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \nDefault: `secret` \n**For a parent or child team:** \n * `closed` - visible to all members of this organization. \nDefault for child team: `closed`", + "enum": [ + "secret", + "closed" + ] + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team has chosen. The options are: \n * `notifications_enabled` - team members receive notifications when the team is @mentioned. \n * `notifications_disabled` - no one receives notifications. \nDefault: `notifications_enabled`", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + }, + "permission": { + "type": "string", + "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", + "enum": [ + "pull", + "push" + ], + "default": "pull" + }, + "parent_team_id": { + "type": "integer", + "description": "The ID of a team to set as the parent team." + }, + "ldap_dn": { + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. LDAP synchronization must be enabled to map LDAP entries to a team. Use the \"[Update LDAP mapping for a team](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team)\" endpoint to change the LDAP DN. For more information, see \"[Using LDAP](https://docs.github.com/enterprise-server@3.13/admin/identity-and-access-management/authenticating-users-for-your-github-enterprise-server-instance/using-ldap#enabling-ldap-sync).\"" + } + }, + "required": [ + "name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "3d213b41-7d6b-4435-9e63-ca8a72de0965", + "created": "2026-08-12T21:53:29.219Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 17, + "reference": "dac7491a-75b1-4ea6-a28c-553b19d38eab", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Get Team", + "description": "Get Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/get-by-name", + "canvasName": "teams/get-by-name", + "summary": "teams/get-by-name", + "description": "teams/get-by-name", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "10aceb04-f885-4956-9dbe-3684293a7271", + "created": "2026-08-12T21:53:29.254Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 18, + "reference": "c387ff78-13cb-4dff-83e6-eb1c9d72cee0", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Update Team", + "description": "Update Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/update-in-org", + "canvasName": "teams/update-in-org", + "summary": "teams/update-in-org", + "description": "teams/update-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": "string", + "description": "The description of the team." + }, + "privacy": { + "type": "string", + "description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \n**For a parent or child team:** \n * `closed` - visible to all members of this organization.", + "enum": [ + "secret", + "closed" + ] + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are: \n * `notifications_enabled` - team members receive notifications when the team is @mentioned. \n * `notifications_disabled` - no one receives notifications.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + }, + "permission": { + "type": "string", + "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", + "enum": [ + "pull", + "push", + "admin" + ], + "default": "pull" + }, + "parent_team_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of a team to set as the parent team." + } + } + } + }, + "required": [ + "org", + "team_slug", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the team." + }, + "description": { + "type": "string", + "description": "The description of the team." + }, + "privacy": { + "type": "string", + "description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: \n**For a non-nested team:** \n * `secret` - only visible to organization owners and members of this team. \n * `closed` - visible to all members of this organization. \n**For a parent or child team:** \n * `closed` - visible to all members of this organization.", + "enum": [ + "secret", + "closed" + ] + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are: \n * `notifications_enabled` - team members receive notifications when the team is @mentioned. \n * `notifications_disabled` - no one receives notifications.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + }, + "permission": { + "type": "string", + "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified.", + "enum": [ + "pull", + "push", + "admin" + ], + "default": "pull" + }, + "parent_team_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of a team to set as the parent team." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e695a106-04fe-4efe-9b93-b6e652b5d27a", + "created": "2026-08-12T21:53:29.285Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 19, + "reference": "4b530018-1307-454c-aa9e-155eb2af6ec0", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Delete Team", + "description": "Delete Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/delete-in-org", + "canvasName": "teams/delete-in-org", + "summary": "teams/delete-in-org", + "description": "teams/delete-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "28f1fce6-5754-4b1b-a118-ee6a4c63f13a", + "created": "2026-08-12T21:53:29.318Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 20, + "reference": "2a54346d-9adf-48bf-a7f3-d5c865c0fb68", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Child Teams", + "description": "List Child Teams", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list-child-in-org", + "canvasName": "teams/list-child-in-org", + "summary": "teams/list-child-in-org", + "description": "teams/list-child-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "cbf83c70-edc8-4c81-8edf-22d86dd87e96", + "created": "2026-08-12T21:53:29.346Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 21, + "reference": "f488e8e4-e840-46ea-8161-11fe3329e646", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Team Discussions", + "description": "List Team Discussions", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list-discussions-in-org", + "canvasName": "teams/list-discussions-in-org", + "summary": "teams/list-discussions-in-org", + "description": "teams/list-discussions-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "162c6bd5-9f1a-410c-bb7e-ea66a1c6b826", + "created": "2026-08-12T21:53:29.377Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 22, + "reference": "df8f4428-7b25-4d98-b7ba-36ab8ca58eb3", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Create Team Discussion", + "description": "Create Team Discussion", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/create-discussion-in-org", + "canvasName": "teams/create-discussion-in-org", + "summary": "teams/create-discussion-in-org", + "description": "teams/create-discussion-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The discussion post's title." + }, + "body": { + "type": "string", + "description": "The discussion post's body text." + }, + "private": { + "type": "boolean", + "description": "Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.", + "default": false + } + }, + "required": [ + "title", + "body" + ] + } + }, + "required": [ + "org", + "team_slug", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The discussion post's title." + }, + "body": { + "type": "string", + "description": "The discussion post's body text." + }, + "private": { + "type": "boolean", + "description": "Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.", + "default": false + } + }, + "required": [ + "title", + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "92ed1528-c6b7-419b-b8b3-0b02e4e2920f", + "created": "2026-08-12T21:53:29.405Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 23, + "reference": "14a652d0-40fc-442f-acdd-af2842d4988b", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Get Team Discussion", + "description": "Get Team Discussion", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/get-discussion-in-org", + "canvasName": "teams/get-discussion-in-org", + "summary": "teams/get-discussion-in-org", + "description": "teams/get-discussion-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + } + }, + "required": [ + "org", + "team_slug", + "discussion_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e869de95-f457-4723-982d-425bc84085fa", + "created": "2026-08-12T21:53:29.432Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 24, + "reference": "67dc371a-4e67-4a78-a669-80add678fd17", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Update Team Discussion", + "description": "Update Team Discussion", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/update-discussion-in-org", + "canvasName": "teams/update-discussion-in-org", + "summary": "teams/update-discussion-in-org", + "description": "teams/update-discussion-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The discussion post's title." + }, + "body": { + "type": "string", + "description": "The discussion post's body text." + } + } + } + }, + "required": [ + "org", + "team_slug", + "discussion_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The discussion post's title." + }, + "body": { + "type": "string", + "description": "The discussion post's body text." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ac7d162b-0309-4350-9c95-39e7ab2be251", + "created": "2026-08-12T21:53:29.460Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 25, + "reference": "7e59d191-512e-4613-b9f0-d5b668613425", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Delete Team Discussion", + "description": "Delete Team Discussion", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/delete-discussion-in-org", + "canvasName": "teams/delete-discussion-in-org", + "summary": "teams/delete-discussion-in-org", + "description": "teams/delete-discussion-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + } + }, + "required": [ + "org", + "team_slug", + "discussion_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8820366f-4b4d-429e-9632-4d971471fda6", + "created": "2026-08-12T21:53:29.488Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 26, + "reference": "2c2237d0-5935-4da9-b3e6-42645056fd0e", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Team Discussion Comments", + "description": "List Team Discussion Comments", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list-discussion-comments-in-org", + "canvasName": "teams/list-discussion-comments-in-org", + "summary": "teams/list-discussion-comments-in-org", + "description": "teams/list-discussion-comments-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + } + }, + "required": [ + "org", + "team_slug", + "discussion_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "864b83a0-2084-4ce3-912d-88b12641a817", + "created": "2026-08-12T21:53:29.515Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 27, + "reference": "67b3917a-65d7-4aa2-a874-d5cd9d796bea", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Create Team Discussion Comment", + "description": "Create Team Discussion Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/create-discussion-comment-in-org", + "canvasName": "teams/create-discussion-comment-in-org", + "summary": "teams/create-discussion-comment-in-org", + "description": "teams/create-discussion-comment-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The discussion comment's body text." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "org", + "team_slug", + "discussion_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The discussion comment's body text." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "dd20ea3d-50f8-4c70-bb9d-3bdccd84483b", + "created": "2026-08-12T21:53:29.548Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 28, + "reference": "b4a1aec6-c779-429f-8383-2502a6e27416", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Get Team Discussion Comment", + "description": "Get Team Discussion Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/get-discussion-comment-in-org", + "canvasName": "teams/get-discussion-comment-in-org", + "summary": "teams/get-discussion-comment-in-org", + "description": "teams/get-discussion-comment-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number", + "comment_number": "$var.job.comment_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "comment_number": { + "type": "integer" + } + }, + "required": [ + "org", + "team_slug", + "discussion_number", + "comment_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "comment_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a2a60767-e30e-41bc-adf7-68261c2e1853", + "created": "2026-08-12T21:53:29.591Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 29, + "reference": "0f2accd8-b851-4849-8ecb-8ee1e11f7a1b", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Update Team Discussion Comment", + "description": "Update Team Discussion Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/update-discussion-comment-in-org", + "canvasName": "teams/update-discussion-comment-in-org", + "summary": "teams/update-discussion-comment-in-org", + "description": "teams/update-discussion-comment-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number", + "comment_number": "$var.job.comment_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "comment_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The discussion comment's body text." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "org", + "team_slug", + "discussion_number", + "comment_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "comment_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The discussion comment's body text." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "537143b1-5588-41fd-9d4d-d1984c01b223", + "created": "2026-08-12T21:53:29.618Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 30, + "reference": "82fdd8c7-265b-4a07-8ccd-71753286554a", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Delete Team Discussion Comment", + "description": "Delete Team Discussion Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/delete-discussion-comment-in-org", + "canvasName": "teams/delete-discussion-comment-in-org", + "summary": "teams/delete-discussion-comment-in-org", + "description": "teams/delete-discussion-comment-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "discussion_number": "$var.job.discussion_number", + "comment_number": "$var.job.comment_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "comment_number": { + "type": "integer" + } + }, + "required": [ + "org", + "team_slug", + "discussion_number", + "comment_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "discussion_number": { + "type": "integer" + }, + "comment_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8348da78-a6a7-49d9-97fb-be529170a489", + "created": "2026-08-12T21:53:29.658Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 31, + "reference": "912dc956-d43a-484b-94f1-6bc94647d922", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Team External Groups", + "description": "List Team External Groups", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list-linked-external-idp-groups-to-team-for-org", + "canvasName": "teams/list-linked-external-idp-groups-to-team-for-org", + "summary": "teams/list-linked-external-idp-groups-to-team-for-org", + "description": "teams/list-linked-external-idp-groups-to-team-for-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "b2f12ed2-8b45-4515-bfe9-b0bd4da7904b", + "created": "2026-08-12T21:53:29.697Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 32, + "reference": "d11a6123-11db-48cc-98d6-83fa075dc642", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Link External Group to Team", + "description": "Link External Group to Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/link-external-idp-group-to-team-for-org", + "canvasName": "teams/link-external-idp-group-to-team-for-org", + "summary": "teams/link-external-idp-group-to-team-for-org", + "description": "teams/link-external-idp-group-to-team-for-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "group_id": { + "type": "integer", + "description": "External Group Id", + "examples": [ + 1 + ] + } + }, + "required": [ + "group_id" + ] + } + }, + "required": [ + "org", + "team_slug", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "group_id": { + "type": "integer", + "description": "External Group Id", + "examples": [ + 1 + ] + } + }, + "required": [ + "group_id" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "cd31c8bc-9dd9-454c-9223-563085740364", + "created": "2026-08-12T21:53:29.728Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 33, + "reference": "9f073c7d-96cf-4a59-915f-e4a5e66f5e0c", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Unlink External Group from Team", + "description": "Unlink External Group from Team", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/unlink-external-idp-group-from-team-for-org", + "canvasName": "teams/unlink-external-idp-group-from-team-for-org", + "summary": "teams/unlink-external-idp-group-from-team-for-org", + "description": "teams/unlink-external-idp-group-from-team-for-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ac0bfece-fe9b-4814-ab42-da1f7d1b82d7", + "created": "2026-08-12T21:53:29.760Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 34, + "reference": "4bc7fee1-4193-4423-9a34-5b897f8cbebd", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Team Members", + "description": "List Team Members", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list-members-in-org", + "canvasName": "teams/list-members-in-org", + "summary": "teams/list-members-in-org", + "description": "teams/list-members-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "48314010-6976-49fd-8f86-4ff6bb0f916e", + "created": "2026-08-12T21:53:29.790Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 35, + "reference": "1ed4c3ae-5069-45c3-b91e-86fe776ea179", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Get Team Membership", + "description": "Get Team Membership", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/get-membership-for-user-in-org", + "canvasName": "teams/get-membership-for-user-in-org", + "summary": "teams/get-membership-for-user-in-org", + "description": "teams/get-membership-for-user-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "eeb72dbd-f1a3-448a-8644-34955805afdb", + "created": "2026-08-12T21:53:29.820Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 36, + "reference": "66ae645f-8550-425a-ae2a-66ef7647e4c9", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Update Team Membership", + "description": "Update Team Membership", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/add-or-update-membership-for-user-in-org", + "canvasName": "teams/add-or-update-membership-for-user-in-org", + "summary": "teams/add-or-update-membership-for-user-in-org", + "description": "teams/add-or-update-membership-for-user-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "username": "$var.job.username", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "username": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "role": { + "type": "string", + "description": "The role that this user should have in the team.", + "enum": [ + "member", + "maintainer" + ], + "default": "member" + } + } + } + }, + "required": [ + "org", + "team_slug", + "username", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "username": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "role": { + "type": "string", + "description": "The role that this user should have in the team.", + "enum": [ + "member", + "maintainer" + ], + "default": "member" + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2415b676-5133-42ae-be46-e6d214744b16", + "created": "2026-08-12T21:53:29.855Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 37, + "reference": "2e0d2504-3844-497a-95c3-42e3f6638039", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Delete Team Membership", + "description": "Delete Team Membership", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/remove-membership-for-user-in-org", + "canvasName": "teams/remove-membership-for-user-in-org", + "summary": "teams/remove-membership-for-user-in-org", + "description": "teams/remove-membership-for-user-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a3dbee8d-6026-4ea0-8fca-74c1dfcc1b7a", + "created": "2026-08-12T21:53:29.885Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 38, + "reference": "73d317e8-9588-46a0-86e0-1baa038d5249", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Team Projects", + "description": "List Team Projects", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list-projects-in-org", + "canvasName": "teams/list-projects-in-org", + "summary": "teams/list-projects-in-org", + "description": "teams/list-projects-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "99231442-b0f3-427a-9bca-77ad202d7b9a", + "created": "2026-08-12T21:53:29.916Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 39, + "reference": "da38da9b-9ae4-4f19-ae17-6bf73a7739a1", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Get Team Project", + "description": "Get Team Project", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/check-permissions-for-project-in-org", + "canvasName": "teams/check-permissions-for-project-in-org", + "summary": "teams/check-permissions-for-project-in-org", + "description": "teams/check-permissions-for-project-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "project_id": "$var.job.project_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "project_id": { + "type": "integer" + } + }, + "required": [ + "org", + "team_slug", + "project_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "39e5bdca-0a93-4512-b76c-d981f43e7b7a", + "created": "2026-08-12T21:53:29.944Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 40, + "reference": "58cc7ece-1f18-43f7-93d5-42006375c63f", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Update Team Project", + "description": "Update Team Project", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/add-or-update-project-permissions-in-org", + "canvasName": "teams/add-or-update-project-permissions-in-org", + "summary": "teams/add-or-update-project-permissions-in-org", + "description": "teams/add-or-update-project-permissions-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "project_id": "$var.job.project_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "permission": { + "type": "string", + "description": "The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "enum": [ + "read", + "write", + "admin" + ] + } + } + } + }, + "required": [ + "org", + "team_slug", + "project_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "permission": { + "type": "string", + "description": "The permission to grant to the team for this project. Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling this endpoint. For more information, see \"[HTTP method](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-rest-api#http-method).\"", + "enum": [ + "read", + "write", + "admin" + ] + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "4b1945de-e569-4162-9cba-2eb4ae585f95", + "created": "2026-08-12T21:53:29.972Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 41, + "reference": "3b6be842-c3f5-4791-b7d6-1d6f40ebef13", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Delete Team Project", + "description": "Delete Team Project", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/remove-project-in-org", + "canvasName": "teams/remove-project-in-org", + "summary": "teams/remove-project-in-org", + "description": "teams/remove-project-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "project_id": "$var.job.project_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "project_id": { + "type": "integer" + } + }, + "required": [ + "org", + "team_slug", + "project_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "project_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "15818cca-51d6-4588-a590-981fce24c0ef", + "created": "2026-08-12T21:53:29.998Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 42, + "reference": "f67f8515-d58c-41a7-b4e8-bc2f526871e3", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "List Team Repositories", + "description": "List Team Repositories", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/list-repos-in-org", + "canvasName": "teams/list-repos-in-org", + "summary": "teams/list-repos-in-org", + "description": "teams/list-repos-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "72500d5f-6da6-421f-9e92-debc37c0519f", + "created": "2026-08-12T21:53:30.025Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 43, + "reference": "b80e886c-785b-4a32-8941-7341eba612e6", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Get Team Repository", + "description": "Get Team Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/check-permissions-for-repo-in-org", + "canvasName": "teams/check-permissions-for-repo-in-org", + "summary": "teams/check-permissions-for-repo-in-org", + "description": "teams/check-permissions-for-repo-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug", + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "881799f6-0b69-4421-9d18-dd6538bdc3de", + "created": "2026-08-12T21:53:30.050Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 44, + "reference": "ced69355-aef0-424e-8886-0da2f89e9b3a", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Update Team Repository", + "description": "Update Team Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/add-or-update-repo-permissions-in-org", + "canvasName": "teams/add-or-update-repo-permissions-in-org", + "summary": "teams/add-or-update-repo-permissions-in-org", + "description": "teams/add-or-update-repo-permissions-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "permission": { + "type": "string", + "description": "The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository." + } + } + } + }, + "required": [ + "org", + "team_slug", + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "permission": { + "type": "string", + "description": "The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e2c7f332-77ad-43ee-ae0c-c6452391010c", + "created": "2026-08-12T21:53:30.080Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 45, + "reference": "e6c83696-d02a-4fad-bc68-0265fa94ff48", + "type": "workflow", + "folder": "/Teams", + "document": { + "name": "Delete Team Repository", + "description": "Delete Team Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "teams/remove-repo-in-org", + "canvasName": "teams/remove-repo-in-org", + "summary": "teams/remove-repo-in-org", + "description": "teams/remove-repo-in-org", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "org": "$var.job.org", + "team_slug": "$var.job.team_slug", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "org", + "team_slug", + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "org": { + "type": "string" + }, + "team_slug": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f6f2f375-e520-4f65-a9fa-ea8e94d916c0", + "created": "2026-08-12T21:53:30.106Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 46, + "reference": "8948625e-4a51-4b5c-b888-746c1a10935c", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Get Repository", + "description": "Get Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get", + "canvasName": "repos/get", + "summary": "repos/get", + "description": "repos/get", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8b845740-1dd2-4ceb-bea1-29ff9986b7fa", + "created": "2026-08-12T21:53:30.133Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 47, + "reference": "9f0ac743-07b3-40cf-989c-47626d0be515", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Update Repository", + "description": "Update Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update", + "canvasName": "repos/update", + "summary": "repos/update", + "description": "repos/update", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository." + }, + "description": { + "type": "string", + "description": "A short description of the repository." + }, + "homepage": { + "type": "string", + "description": "A URL with more information about the repository." + }, + "private": { + "type": "boolean", + "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-server@3.13/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", + "default": false + }, + "visibility": { + "type": "string", + "description": "The visibility of the repository.", + "enum": [ + "public", + "private", + "internal" + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.", + "properties": { + "advanced_security": { + "type": "object", + "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + }, + "secret_scanning": { + "type": "object", + "description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "description": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + } + } + }, + "has_issues": { + "type": "boolean", + "description": "Either `true` to enable issues for this repository or `false` to disable them.", + "default": true + }, + "has_projects": { + "type": "boolean", + "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", + "default": true + }, + "has_wiki": { + "type": "boolean", + "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", + "default": true + }, + "is_template": { + "type": "boolean", + "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", + "default": false + }, + "default_branch": { + "type": "string", + "description": "Updates the default branch for this repository." + }, + "allow_squash_merge": { + "type": "boolean", + "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", + "default": true + }, + "allow_merge_commit": { + "type": "boolean", + "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", + "default": true + }, + "allow_rebase_merge": { + "type": "boolean", + "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", + "default": true + }, + "delete_branch_on_merge": { + "type": "boolean", + "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", + "default": false + }, + "allow_update_branch": { + "type": "boolean", + "description": "Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.", + "default": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "archived": { + "type": "boolean", + "description": "Whether to archive this repository. `false` will unarchive a previously archived repository.", + "default": false + }, + "allow_forking": { + "type": "boolean", + "description": "Either `true` to allow private forks, or `false` to prevent private forks.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.", + "default": false + } + } + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository." + }, + "description": { + "type": "string", + "description": "A short description of the repository." + }, + "homepage": { + "type": "string", + "description": "A URL with more information about the repository." + }, + "private": { + "type": "boolean", + "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-server@3.13/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", + "default": false + }, + "visibility": { + "type": "string", + "description": "The visibility of the repository.", + "enum": [ + "public", + "private", + "internal" + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.", + "properties": { + "advanced_security": { + "type": "object", + "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + }, + "secret_scanning": { + "type": "object", + "description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "description": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + } + } + }, + "has_issues": { + "type": "boolean", + "description": "Either `true` to enable issues for this repository or `false` to disable them.", + "default": true + }, + "has_projects": { + "type": "boolean", + "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", + "default": true + }, + "has_wiki": { + "type": "boolean", + "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", + "default": true + }, + "is_template": { + "type": "boolean", + "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", + "default": false + }, + "default_branch": { + "type": "string", + "description": "Updates the default branch for this repository." + }, + "allow_squash_merge": { + "type": "boolean", + "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", + "default": true + }, + "allow_merge_commit": { + "type": "boolean", + "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", + "default": true + }, + "allow_rebase_merge": { + "type": "boolean", + "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", + "default": true + }, + "delete_branch_on_merge": { + "type": "boolean", + "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", + "default": false + }, + "allow_update_branch": { + "type": "boolean", + "description": "Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.", + "default": false + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "archived": { + "type": "boolean", + "description": "Whether to archive this repository. `false` will unarchive a previously archived repository.", + "default": false + }, + "allow_forking": { + "type": "boolean", + "description": "Either `true` to allow private forks, or `false` to prevent private forks.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.", + "default": false + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "702c0130-ffd9-4f32-994c-a5666d993156", + "created": "2026-08-12T21:53:30.159Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 48, + "reference": "3a1274f5-f2e3-4a2c-bffd-6835ca7ab058", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Delete Repository", + "description": "Delete Repository", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete", + "canvasName": "repos/delete", + "summary": "repos/delete", + "description": "repos/delete", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "bd3d6733-6d58-42f1-9dde-e7485fa68ba0", + "created": "2026-08-12T21:53:30.194Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 49, + "reference": "759cfbc0-5cbc-4015-9495-f88b590e0207", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "List Collaborators", + "description": "List Collaborators", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-collaborators", + "canvasName": "repos/list-collaborators", + "summary": "repos/list-collaborators", + "description": "repos/list-collaborators", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "35bf74ea-3f4d-44b6-9ffd-6cef672b1cbc", + "created": "2026-08-12T21:53:30.229Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 50, + "reference": "e67513ae-df17-45f7-a855-3c5d2ac7b7a8", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Get Collaborator", + "description": "Get Collaborator", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/check-collaborator", + "canvasName": "repos/check-collaborator", + "summary": "repos/check-collaborator", + "description": "repos/check-collaborator", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5871be85-2ec5-4ad6-8516-9361f981a8a2", + "created": "2026-08-12T21:53:30.256Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 51, + "reference": "7e695be0-7d7d-4fb6-abb5-907553446e7a", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Create Collaborator", + "description": "Create Collaborator", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/add-collaborator", + "canvasName": "repos/add-collaborator", + "summary": "repos/add-collaborator", + "description": "repos/add-collaborator", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "username": "$var.job.username", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "permission": { + "type": "string", + "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**", + "default": "push" + } + } + } + }, + "required": [ + "owner", + "repo", + "username", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "permission": { + "type": "string", + "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**", + "default": "push" + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "0df2f1a1-4335-4f6a-baa3-1c8a42c5c4b6", + "created": "2026-08-12T21:53:30.283Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 52, + "reference": "f42f6c28-ed93-4e78-83c5-64074ef2baf1", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Delete Collaborator", + "description": "Delete Collaborator", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/remove-collaborator", + "canvasName": "repos/remove-collaborator", + "summary": "repos/remove-collaborator", + "description": "repos/remove-collaborator", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a5091b21-a9af-46ee-892f-90fd151dc116", + "created": "2026-08-12T21:53:30.307Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 53, + "reference": "bd48cb4e-f58e-40c9-959d-53a36bdcdf06", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Get Collaborator Permission Level", + "description": "Get Collaborator Permission Level", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-collaborator-permission-level", + "canvasName": "repos/get-collaborator-permission-level", + "summary": "repos/get-collaborator-permission-level", + "description": "repos/get-collaborator-permission-level", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "username": "$var.job.username" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "username" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "username": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "53573f5e-5630-4e55-b1ea-3a389d2eae3b", + "created": "2026-08-12T21:53:30.349Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 54, + "reference": "125f3d86-e304-4cc3-9351-59e29eda8952", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "List Repository Invitations", + "description": "List Repository Invitations", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-invitations", + "canvasName": "repos/list-invitations", + "summary": "repos/list-invitations", + "description": "repos/list-invitations", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "152f8ed1-60d7-4274-891a-aa5e4a536b71", + "created": "2026-08-12T21:53:30.380Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 55, + "reference": "5f4d3f25-4d93-4c1e-99fe-0d3260944683", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Update Repository Invitation", + "description": "Update Repository Invitation", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-invitation", + "canvasName": "repos/update-invitation", + "summary": "repos/update-invitation", + "description": "repos/update-invitation", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "invitation_id": "$var.job.invitation_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "invitation_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "permissions": { + "type": "string", + "description": "The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`.", + "enum": [ + "read", + "write", + "maintain", + "triage", + "admin" + ] + } + } + } + }, + "required": [ + "owner", + "repo", + "invitation_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "invitation_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "permissions": { + "type": "string", + "description": "The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`.", + "enum": [ + "read", + "write", + "maintain", + "triage", + "admin" + ] + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2687a745-cc7a-428b-ba0a-a34d3a1bb9e7", + "created": "2026-08-12T21:53:30.407Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 56, + "reference": "d48b320a-36bc-4f69-8b8b-d3537b42ca0c", + "type": "workflow", + "folder": "/Repositories", + "document": { + "name": "Delete Repository Invitation", + "description": "Delete Repository Invitation", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-invitation", + "canvasName": "repos/delete-invitation", + "summary": "repos/delete-invitation", + "description": "repos/delete-invitation", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "invitation_id": "$var.job.invitation_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "invitation_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "invitation_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "invitation_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a2814acd-dacf-48a1-988a-f2beb6b5ef52", + "created": "2026-08-12T21:53:30.433Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 57, + "reference": "f823985a-0d94-44c1-afe5-b562e19d581e", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "List GitHub Branches", + "description": "List GitHub Branches", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-branches", + "canvasName": "repos/list-branches", + "summary": "repos/list-branches", + "description": "repos/list-branches", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "562c16ef-6555-409b-879c-0f5908824d9f", + "created": "2026-08-12T22:01:04.807Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 58, + "reference": "3a63d231-32b5-47ba-8885-7a03d1da391c", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Get GitHub Branch", + "description": "Get GitHub Branch", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-branch", + "canvasName": "repos/get-branch", + "summary": "repos/get-branch", + "description": "repos/get-branch", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "26d9921f-923d-4af8-aef6-7d08080986d4", + "created": "2026-08-12T22:01:04.871Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 59, + "reference": "d7c927bc-125d-47a9-8f6c-f2db8593290a", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Rename Branch", + "description": "Rename Branch", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/rename-branch", + "canvasName": "repos/rename-branch", + "summary": "repos/rename-branch", + "description": "repos/rename-branch", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "new_name": { + "type": "string", + "description": "The new name of the branch." + } + }, + "required": [ + "new_name" + ] + } + }, + "required": [ + "owner", + "repo", + "branch", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "new_name": { + "type": "string", + "description": "The new name of the branch." + } + }, + "required": [ + "new_name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "38bf863a-95e0-4459-a458-edbdaaa92082", + "created": "2026-08-12T21:53:30.492Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 60, + "reference": "24366f86-13cd-49e6-bfd6-c3c4cfecc855", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Get Branch Protection", + "description": "Get Branch Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-branch-protection", + "canvasName": "repos/get-branch-protection", + "summary": "repos/get-branch-protection", + "description": "repos/get-branch-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "eca7887b-6075-4c48-bdd7-588f2c03f22c", + "created": "2026-08-12T21:53:30.518Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 61, + "reference": "e2229dfb-146e-4655-a64e-6c98e419643c", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Update Branch Protection", + "description": "Update Branch Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-branch-protection", + "canvasName": "repos/update-branch-protection", + "summary": "repos/update-branch-protection", + "description": "repos/update-branch-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "required_status_checks": { + "type": [ + "object", + "null" + ], + "description": "Require status checks to pass before merging. Set to `null` to disable.", + "properties": { + "strict": { + "type": "boolean", + "description": "Require branches to be up to date before merging." + }, + "contexts": { + "type": "array", + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + } + }, + "checks": { + "type": "array", + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "type": "object", + "required": [ + "context" + ], + "properties": { + "context": { + "type": "string", + "description": "The name of the required check" + }, + "app_id": { + "type": "integer", + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." + } + } + } + } + }, + "required": [ + "strict", + "contexts" + ] + }, + "enforce_admins": { + "type": [ + "boolean", + "null" + ], + "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable." + }, + "required_pull_request_reviews": { + "type": [ + "object", + "null" + ], + "description": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.", + "properties": { + "dismissal_restrictions": { + "type": "object", + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + } + } + } + }, + "dismiss_stale_reviews": { + "type": "boolean", + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." + }, + "require_code_owner_reviews": { + "type": "boolean", + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) review them." + }, + "required_approving_review_count": { + "type": "integer", + "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." + }, + "require_last_push_approval": { + "type": "boolean", + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`.", + "default": false + }, + "bypass_pull_request_allowances": { + "type": "object", + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + } + } + } + } + }, + "restrictions": { + "type": [ + "object", + "null" + ], + "description": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with push access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with push access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with push access", + "items": { + "type": "string" + } + } + }, + "required": [ + "users", + "teams" + ] + }, + "required_linear_history": { + "type": "boolean", + "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation." + }, + "allow_force_pushes": { + "type": [ + "boolean", + "null" + ], + "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"" + }, + "allow_deletions": { + "type": "boolean", + "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation." + }, + "block_creations": { + "type": "boolean", + "description": "If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`." + }, + "required_conversation_resolution": { + "type": "boolean", + "description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`." + }, + "lock_branch": { + "type": "boolean", + "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.", + "default": false + }, + "allow_fork_syncing": { + "type": "boolean", + "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.", + "default": false + } + }, + "required": [ + "required_status_checks", + "enforce_admins", + "required_pull_request_reviews", + "restrictions" + ] + } + }, + "required": [ + "owner", + "repo", + "branch", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "required_status_checks": { + "type": [ + "object", + "null" + ], + "description": "Require status checks to pass before merging. Set to `null` to disable.", + "properties": { + "strict": { + "type": "boolean", + "description": "Require branches to be up to date before merging." + }, + "contexts": { + "type": "array", + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + } + }, + "checks": { + "type": "array", + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "type": "object", + "required": [ + "context" + ], + "properties": { + "context": { + "type": "string", + "description": "The name of the required check" + }, + "app_id": { + "type": "integer", + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." + } + } + } + } + }, + "required": [ + "strict", + "contexts" + ] + }, + "enforce_admins": { + "type": [ + "boolean", + "null" + ], + "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable." + }, + "required_pull_request_reviews": { + "type": [ + "object", + "null" + ], + "description": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.", + "properties": { + "dismissal_restrictions": { + "type": "object", + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + } + } + } + }, + "dismiss_stale_reviews": { + "type": "boolean", + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." + }, + "require_code_owner_reviews": { + "type": "boolean", + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) review them." + }, + "required_approving_review_count": { + "type": "integer", + "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." + }, + "require_last_push_approval": { + "type": "boolean", + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`.", + "default": false + }, + "bypass_pull_request_allowances": { + "type": "object", + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + } + } + } + } + }, + "restrictions": { + "type": [ + "object", + "null" + ], + "description": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with push access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with push access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with push access", + "items": { + "type": "string" + } + } + }, + "required": [ + "users", + "teams" + ] + }, + "required_linear_history": { + "type": "boolean", + "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation." + }, + "allow_force_pushes": { + "type": [ + "boolean", + "null" + ], + "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"" + }, + "allow_deletions": { + "type": "boolean", + "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation." + }, + "block_creations": { + "type": "boolean", + "description": "If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`." + }, + "required_conversation_resolution": { + "type": "boolean", + "description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`." + }, + "lock_branch": { + "type": "boolean", + "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.", + "default": false + }, + "allow_fork_syncing": { + "type": "boolean", + "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.", + "default": false + } + }, + "required": [ + "required_status_checks", + "enforce_admins", + "required_pull_request_reviews", + "restrictions" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1a454e22-9173-4cda-b668-49d4928a6e46", + "created": "2026-08-12T21:53:30.548Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 62, + "reference": "d1924708-bb5b-40d6-976a-3c7c1a00a706", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Delete Branch Protection", + "description": "Delete Branch Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-branch-protection", + "canvasName": "repos/delete-branch-protection", + "summary": "repos/delete-branch-protection", + "description": "repos/delete-branch-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "6878c33b-a574-4f7b-85b9-50d215c5fa08", + "created": "2026-08-12T21:53:30.584Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 63, + "reference": "61648b30-b77e-400b-8cdc-6faea4761686", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Get Pull Request Review Protection", + "description": "Get Pull Request Review Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-pull-request-review-protection", + "canvasName": "repos/get-pull-request-review-protection", + "summary": "repos/get-pull-request-review-protection", + "description": "repos/get-pull-request-review-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "83c4970c-5fbd-44f6-9b9b-7e82690a3c16", + "created": "2026-08-12T21:53:30.611Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 64, + "reference": "a3a5867a-a202-4add-8551-9fe5078d62ad", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Update Pull Request Review Protection", + "description": "Update Pull Request Review Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-pull-request-review-protection", + "canvasName": "repos/update-pull-request-review-protection", + "summary": "repos/update-pull-request-review-protection", + "description": "repos/update-pull-request-review-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "dismissal_restrictions": { + "type": "object", + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + } + } + } + }, + "dismiss_stale_reviews": { + "type": "boolean", + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." + }, + "require_code_owner_reviews": { + "type": "boolean", + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) have reviewed." + }, + "required_approving_review_count": { + "type": "integer", + "description": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." + }, + "require_last_push_approval": { + "type": "boolean", + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`", + "default": false + }, + "bypass_pull_request_allowances": { + "type": "object", + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "required": [ + "owner", + "repo", + "branch", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "dismissal_restrictions": { + "type": "object", + "description": "Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s with dismissal access", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s with dismissal access", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s with dismissal access", + "items": { + "type": "string" + } + } + } + }, + "dismiss_stale_reviews": { + "type": "boolean", + "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit." + }, + "require_code_owner_reviews": { + "type": "boolean", + "description": "Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.13/articles/about-code-owners/) have reviewed." + }, + "required_approving_review_count": { + "type": "integer", + "description": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers." + }, + "require_last_push_approval": { + "type": "boolean", + "description": "Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`", + "default": false + }, + "bypass_pull_request_allowances": { + "type": "object", + "description": "Allow specific users, teams, or apps to bypass pull request requirements.", + "properties": { + "users": { + "type": "array", + "description": "The list of user `login`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "teams": { + "type": "array", + "description": "The list of team `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + }, + "apps": { + "type": "array", + "description": "The list of app `slug`s allowed to bypass pull request requirements.", + "items": { + "type": "string" + } + } + } + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "55161e1a-1dd7-4f25-b0ba-329fb30bcb5a", + "created": "2026-08-12T21:53:30.637Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 65, + "reference": "4db74d81-c729-4024-969f-d01dfb7cb66a", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Delete Pull Request Review Protection", + "description": "Delete Pull Request Review Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-pull-request-review-protection", + "canvasName": "repos/delete-pull-request-review-protection", + "summary": "repos/delete-pull-request-review-protection", + "description": "repos/delete-pull-request-review-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "b7e07682-ce06-4837-8d2c-ae5b84bc76e2", + "created": "2026-08-12T21:53:30.661Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 66, + "reference": "1d37f1c0-e18e-4013-a0c5-db6c110ef472", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Get Status Check Protection", + "description": "Get Status Check Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-status-checks-protection", + "canvasName": "repos/get-status-checks-protection", + "summary": "repos/get-status-checks-protection", + "description": "repos/get-status-checks-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5bd4b32b-e4b0-4e06-8ef5-36f67d0d97be", + "created": "2026-08-12T21:53:30.688Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 67, + "reference": "3e91f47e-7d50-4ac3-b83e-a02ece0e546a", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Update Status Check Protection", + "description": "Update Status Check Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-status-check-protection", + "canvasName": "repos/update-status-check-protection", + "summary": "repos/update-status-check-protection", + "description": "repos/update-status-check-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "strict": { + "type": "boolean", + "description": "Require branches to be up to date before merging." + }, + "contexts": { + "type": "array", + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + } + }, + "checks": { + "type": "array", + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "type": "object", + "required": [ + "context" + ], + "properties": { + "context": { + "type": "string", + "description": "The name of the required check" + }, + "app_id": { + "type": "integer", + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." + } + } + } + } + } + } + }, + "required": [ + "owner", + "repo", + "branch", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "strict": { + "type": "boolean", + "description": "Require branches to be up to date before merging." + }, + "contexts": { + "type": "array", + "deprecated": true, + "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n", + "items": { + "type": "string" + } + }, + "checks": { + "type": "array", + "description": "The list of status checks to require in order to merge into this branch.", + "items": { + "type": "object", + "required": [ + "context" + ], + "properties": { + "context": { + "type": "string", + "description": "The name of the required check" + }, + "app_id": { + "type": "integer", + "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status." + } + } + } + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "cd2b0f77-8ce2-43c6-b10b-55c9f7d203f6", + "created": "2026-08-12T21:53:30.715Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 68, + "reference": "208508e5-65e1-4424-9b2d-e44368ae6457", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Delete Status Check Protection", + "description": "Delete Status Check Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/remove-status-check-protection", + "canvasName": "repos/remove-status-check-protection", + "summary": "repos/remove-status-check-protection", + "description": "repos/remove-status-check-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e4165c29-3fe7-459b-bad4-4139889d3126", + "created": "2026-08-12T21:53:30.739Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 69, + "reference": "0e7ce8ce-069f-4d5e-a103-4592755c60d2", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "List Status Check Contexts", + "description": "List Status Check Contexts", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-all-status-check-contexts", + "canvasName": "repos/get-all-status-check-contexts", + "summary": "repos/get-all-status-check-contexts", + "description": "repos/get-all-status-check-contexts", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "17cadae9-6fa9-4737-840b-002781bd8c71", + "created": "2026-08-12T21:53:30.763Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 70, + "reference": "616d5926-43f2-4bfb-9eb0-57eb11b6beff", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Create Status Check Context", + "description": "Create Status Check Context", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/add-status-check-contexts", + "canvasName": "repos/add-status-check-contexts", + "summary": "repos/add-status-check-contexts", + "description": "repos/add-status-check-contexts", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + } + }, + "required": [ + "owner", + "repo", + "branch", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "b60ea854-d93a-4ebe-a254-e3fac13456e6", + "created": "2026-08-12T21:53:30.791Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 71, + "reference": "e3a9eaf9-d386-4a30-b841-28d1e3416393", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Update Status Check Context", + "description": "Update Status Check Context", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/set-status-check-contexts", + "canvasName": "repos/set-status-check-contexts", + "summary": "repos/set-status-check-contexts", + "description": "repos/set-status-check-contexts", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + } + }, + "required": [ + "owner", + "repo", + "branch", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "0bc8984a-4b50-4b56-ba2a-2c7390e8c976", + "created": "2026-08-12T21:53:30.815Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 72, + "reference": "5e97eab4-22ab-4852-809f-cacd6c3e4086", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Delete Status Check Context", + "description": "Delete Status Check Context", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/remove-status-check-contexts", + "canvasName": "repos/remove-status-check-contexts", + "summary": "repos/remove-status-check-contexts", + "description": "repos/remove-status-check-contexts", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + } + }, + "required": [ + "owner", + "repo", + "branch", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "contexts": { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + }, + "required": [ + "contexts" + ], + "example": { + "contexts": [ + "contexts" + ] + } + }, + { + "type": "array", + "description": "The name of the status checks", + "items": { + "type": "string" + } + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d7a28a84-e68c-4ed1-ba91-5c006749b42c", + "created": "2026-08-12T21:53:30.840Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 73, + "reference": "12760cb2-754b-430f-b7d9-6675e4e35411", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Get Access Restrictions", + "description": "Get Access Restrictions", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-access-restrictions", + "canvasName": "repos/get-access-restrictions", + "summary": "repos/get-access-restrictions", + "description": "repos/get-access-restrictions", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "da09642b-5253-4e19-8814-41c118365bee", + "created": "2026-08-12T21:53:30.870Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 74, + "reference": "2c0b0c7f-33e1-4683-a54d-943b1abb01a3", + "type": "workflow", + "folder": "/Branches", + "document": { + "name": "Delete Access Restrictions", + "description": "Delete Access Restrictions", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-access-restrictions", + "canvasName": "repos/delete-access-restrictions", + "summary": "repos/delete-access-restrictions", + "description": "repos/delete-access-restrictions", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "branch": "$var.job.branch" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "branch" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e9f98747-a5bf-4b4e-9f7c-f04e88b80fe6", + "created": "2026-08-12T21:53:30.898Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 75, + "reference": "3d89df9c-c691-497b-95de-d4a10515ce21", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "List GitHub Commits", + "description": "List GitHub Commits", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-commits", + "canvasName": "repos/list-commits", + "summary": "repos/list-commits", + "description": "repos/list-commits", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "da41c29b-9e10-4315-ae7e-4bc6ede5ddb0", + "created": "2026-08-12T22:01:04.960Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 76, + "reference": "19229e71-7a17-42d8-b7ee-502dc3d99f3a", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "Get GitHub Commit", + "description": "Get GitHub Commit", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-commit", + "canvasName": "repos/get-commit", + "summary": "repos/get-commit", + "description": "repos/get-commit", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "ref": "$var.job.ref" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "ref" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "35030cd1-0452-4498-bcad-5559d6bafa12", + "created": "2026-08-12T22:01:05.041Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 77, + "reference": "2acee856-ed98-4b21-8a69-ca281d192510", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "Compare Commits", + "description": "Compare Commits", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/compare-commits", + "canvasName": "repos/compare-commits", + "summary": "repos/compare-commits", + "description": "repos/compare-commits", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "basehead": "$var.job.basehead" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "basehead": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "basehead" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "basehead": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "7e2d8bab-3d17-4887-b9b9-c6cbb4a19563", + "created": "2026-08-12T21:53:30.948Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 78, + "reference": "ab3a80f4-6e7d-4bea-bc0a-61aef1384d4e", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "List Branches for Head Commit", + "description": "List Branches for Head Commit", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-branches-for-head-commit", + "canvasName": "repos/list-branches-for-head-commit", + "summary": "repos/list-branches-for-head-commit", + "description": "repos/list-branches-for-head-commit", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "commit_sha": "$var.job.commit_sha" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "commit_sha" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "b4ce4fb6-8376-479f-b1d6-bb05d5d4c3e5", + "created": "2026-08-12T21:53:30.979Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 79, + "reference": "66e5761d-0f50-4457-bdf1-ab33cd1bfd1d", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "List Pull Requests Associated with Commit", + "description": "List Pull Requests Associated with Commit", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-pull-requests-associated-with-commit", + "canvasName": "repos/list-pull-requests-associated-with-commit", + "summary": "repos/list-pull-requests-associated-with-commit", + "description": "repos/list-pull-requests-associated-with-commit", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "commit_sha": "$var.job.commit_sha" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "commit_sha" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d9654d7e-c727-4e81-853e-d137aaadd501", + "created": "2026-08-12T21:53:31.008Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 80, + "reference": "fbaef9c6-3ad3-4f2b-ad2b-f9f319f4778a", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "List GitHub Commit Comments", + "description": "List GitHub Commit Comments", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-commit-comments-for-repo", + "canvasName": "repos/list-commit-comments-for-repo", + "summary": "repos/list-commit-comments-for-repo", + "description": "repos/list-commit-comments-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "577c9fdb-5a53-45c4-91c8-47500e85defb", + "created": "2026-08-12T22:01:05.080Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 81, + "reference": "203b7a92-288b-4839-aee6-1f2c99223dea", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "Get GitHub Commit Comment", + "description": "Get GitHub Commit Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-commit-comment", + "canvasName": "repos/get-commit-comment", + "summary": "repos/get-commit-comment", + "description": "repos/get-commit-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "comment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "created": "1970-01-01T00:00:00.000Z", + "createdVersion": "5.55.5", + "scenarios": [], + "uuid": "77faf889-c7c3-44fc-8af9-a93a37681d2a", + "canvasVersion": 3, + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 82, + "reference": "bf807e01-69a2-4778-a307-8b37a893fadb", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "Update GitHub Commit Comment", + "description": "Update GitHub Commit Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-commit-comment", + "canvasName": "repos/update-commit-comment", + "summary": "repos/update-commit-comment", + "description": "repos/update-commit-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment" + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "owner", + "repo", + "comment_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment" + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "created": "1970-01-01T00:00:00.000Z", + "createdVersion": "5.55.5", + "scenarios": [], + "uuid": "d78b36db-7652-4686-acd9-f34aa9306ba6", + "canvasVersion": 3, + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 83, + "reference": "09d4b246-8266-4f3f-b10e-d86260849760", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "Delete GitHub Commit Comment", + "description": "Delete GitHub Commit Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-commit-comment", + "canvasName": "repos/delete-commit-comment", + "summary": "repos/delete-commit-comment", + "description": "repos/delete-commit-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "comment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "created": "1970-01-01T00:00:00.000Z", + "createdVersion": "5.55.5", + "scenarios": [], + "uuid": "c7371df4-f1a1-46da-878f-5ea1c03db84a", + "canvasVersion": 3, + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 84, + "reference": "64a62c36-a5b9-44e1-85b9-b3214da7abeb", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "List Comments for Commit", + "description": "List Comments for Commit", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-comments-for-commit", + "canvasName": "repos/list-comments-for-commit", + "summary": "repos/list-comments-for-commit", + "description": "repos/list-comments-for-commit", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "commit_sha": "$var.job.commit_sha" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "commit_sha" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "adb1f892-eea6-4a1a-bb93-7f655521a55c", + "created": "2026-08-12T21:53:31.128Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 85, + "reference": "18a1be8a-6740-414d-ba3c-c24b7c0a389a", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "Create GitHub Commit Comment", + "description": "Create GitHub Commit Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-commit-comment", + "canvasName": "repos/create-commit-comment", + "summary": "repos/create-commit-comment", + "description": "repos/create-commit-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "commit_sha": "$var.job.commit_sha", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment." + }, + "path": { + "type": "string", + "description": "Relative path of the file to comment on." + }, + "position": { + "type": "integer", + "description": "Line index in the diff to comment on." + }, + "line": { + "type": "integer", + "description": "**Deprecated**. Use **position** parameter instead. Line number in the file to comment on." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "owner", + "repo", + "commit_sha", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "commit_sha": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment." + }, + "path": { + "type": "string", + "description": "Relative path of the file to comment on." + }, + "position": { + "type": "integer", + "description": "Line index in the diff to comment on." + }, + "line": { + "type": "integer", + "description": "**Deprecated**. Use **position** parameter instead. Line number in the file to comment on." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a062a3c2-1428-462d-9525-0b64dc9485cc", + "created": "2026-08-12T22:01:05.125Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 86, + "reference": "d592704d-2a85-4858-8e6e-e04491b36872", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "Get Combined Status for Ref", + "description": "Get Combined Status for Ref", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-combined-status-for-ref", + "canvasName": "repos/get-combined-status-for-ref", + "summary": "repos/get-combined-status-for-ref", + "description": "repos/get-combined-status-for-ref", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "ref": "$var.job.ref" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "ref" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "4fc5444c-30d0-48a4-8b5e-ddbd56cf9905", + "created": "2026-08-12T21:53:31.169Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 87, + "reference": "7ee1c182-132f-4d4b-adef-692cb0488112", + "type": "workflow", + "folder": "/Commits", + "document": { + "name": "List Commit Statuses for Ref", + "description": "List Commit Statuses for Ref", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-commit-statuses-for-ref", + "canvasName": "repos/list-commit-statuses-for-ref", + "summary": "repos/list-commit-statuses-for-ref", + "description": "repos/list-commit-statuses-for-ref", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "ref": "$var.job.ref" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "ref" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a1801cba-48f2-4240-a16b-7aca00df83a0", + "created": "2026-08-12T21:53:31.193Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 88, + "reference": "70d58e19-7219-431f-93a4-98d03ba6dd7f", + "type": "workflow", + "folder": "/Checks", + "document": { + "name": "List Check Runs", + "description": "List Check Runs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "checks/list-for-ref", + "canvasName": "checks/list-for-ref", + "summary": "checks/list-for-ref", + "description": "checks/list-for-ref", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "ref": "$var.job.ref" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "ref" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "60bb184d-22b8-455c-a44f-fb0b5e72446e", + "created": "2026-08-12T21:53:31.217Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 89, + "reference": "0cd1c74f-d3cf-4c46-9fe8-e3b65cbe1fb8", + "type": "workflow", + "folder": "/Checks", + "document": { + "name": "List Check Suites", + "description": "List Check Suites", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "checks/list-suites-for-ref", + "canvasName": "checks/list-suites-for-ref", + "summary": "checks/list-suites-for-ref", + "description": "checks/list-suites-for-ref", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "ref": "$var.job.ref" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "ref" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "13260c5f-ebdc-4e53-aaf0-b77569085afc", + "created": "2026-08-12T21:53:31.241Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 90, + "reference": "e5c45e56-3fc2-4f9c-b53e-bfa670ec8464", + "type": "workflow", + "folder": "/Repository Contents", + "document": { + "name": "Get GitHub Repository File", + "description": "Get GitHub Repository File", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-content", + "canvasName": "repos/get-content", + "summary": "repos/get-content", + "description": "repos/get-content", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "path": "$var.job.path" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "path" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "55d7f2b1-bd11-470e-95e7-566a15ba4948", + "created": "2026-08-12T22:01:05.178Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 91, + "reference": "767a5bf7-27cd-4b30-9e8c-570d7864ee80", + "type": "workflow", + "folder": "/Repository Contents", + "document": { + "name": "Create GitHub Repository File", + "description": "Create GitHub Repository File", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-or-update-file-contents", + "canvasName": "repos/create-or-update-file-contents", + "summary": "repos/create-or-update-file-contents", + "description": "repos/create-or-update-file-contents", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "path": "$var.job.path", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The commit message." + }, + "content": { + "type": "string", + "description": "The new file content, using Base64 encoding." + }, + "sha": { + "type": "string", + "description": "**Required if you are updating a file**. The blob SHA of the file being replaced." + }, + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch." + }, + "committer": { + "type": "object", + "description": "The person that committed the file. Default: the authenticated user.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-05T13:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + }, + "author": { + "type": "object", + "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-15T17:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + } + }, + "required": [ + "message", + "content" + ] + } + }, + "required": [ + "owner", + "repo", + "path", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The commit message." + }, + "content": { + "type": "string", + "description": "The new file content, using Base64 encoding." + }, + "sha": { + "type": "string", + "description": "**Required if you are updating a file**. The blob SHA of the file being replaced." + }, + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch." + }, + "committer": { + "type": "object", + "description": "The person that committed the file. Default: the authenticated user.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-05T13:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + }, + "author": { + "type": "object", + "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-15T17:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + } + }, + "required": [ + "message", + "content" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "804c81d1-e7a5-4f29-8285-8896a74a79ca", + "created": "2026-08-12T22:01:05.224Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 92, + "reference": "0970d451-1b06-4d7a-9a79-5f793c9755aa", + "type": "workflow", + "folder": "/Repository Contents", + "document": { + "name": "Update GitHub Repository File", + "description": "Update GitHub Repository File", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-or-update-file-contents", + "canvasName": "repos/create-or-update-file-contents", + "summary": "repos/create-or-update-file-contents", + "description": "repos/create-or-update-file-contents", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "path": "$var.job.path", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The commit message." + }, + "content": { + "type": "string", + "description": "The new file content, using Base64 encoding." + }, + "sha": { + "type": "string", + "description": "**Required if you are updating a file**. The blob SHA of the file being replaced." + }, + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch." + }, + "committer": { + "type": "object", + "description": "The person that committed the file. Default: the authenticated user.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-05T13:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + }, + "author": { + "type": "object", + "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-15T17:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + } + }, + "required": [ + "message", + "content" + ] + } + }, + "required": [ + "owner", + "repo", + "path", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The commit message." + }, + "content": { + "type": "string", + "description": "The new file content, using Base64 encoding." + }, + "sha": { + "type": "string", + "description": "**Required if you are updating a file**. The blob SHA of the file being replaced." + }, + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch." + }, + "committer": { + "type": "object", + "description": "The person that committed the file. Default: the authenticated user.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-05T13:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + }, + "author": { + "type": "object", + "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted." + }, + "email": { + "type": "string", + "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted." + }, + "date": { + "type": "string", + "examples": [ + "\"2013-01-15T17:13:22+05:00\"" + ] + } + }, + "required": [ + "name", + "email" + ] + } + }, + "required": [ + "message", + "content" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "fae6dfe6-7070-444a-ad18-2f9d8778d651", + "created": "2026-08-12T22:01:05.278Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 93, + "reference": "859745f5-b9e3-4b75-8b49-e3b9e5c3f4fd", + "type": "workflow", + "folder": "/Repository Contents", + "document": { + "name": "Delete GitHub Repository File", + "description": "Delete GitHub Repository File", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-file", + "canvasName": "repos/delete-file", + "summary": "repos/delete-file", + "description": "repos/delete-file", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "path": "$var.job.path", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The commit message." + }, + "sha": { + "type": "string", + "description": "The blob SHA of the file being deleted." + }, + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch" + }, + "committer": { + "type": "object", + "description": "object containing information about the committer.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author (or committer) of the commit" + }, + "email": { + "type": "string", + "description": "The email of the author (or committer) of the commit" + } + } + }, + "author": { + "type": "object", + "description": "object containing information about the author.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author (or committer) of the commit" + }, + "email": { + "type": "string", + "description": "The email of the author (or committer) of the commit" + } + } + } + }, + "required": [ + "message", + "sha" + ] + } + }, + "required": [ + "owner", + "repo", + "path", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "path": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The commit message." + }, + "sha": { + "type": "string", + "description": "The blob SHA of the file being deleted." + }, + "branch": { + "type": "string", + "description": "The branch name. Default: the repository\u2019s default branch" + }, + "committer": { + "type": "object", + "description": "object containing information about the committer.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author (or committer) of the commit" + }, + "email": { + "type": "string", + "description": "The email of the author (or committer) of the commit" + } + } + }, + "author": { + "type": "object", + "description": "object containing information about the author.", + "properties": { + "name": { + "type": "string", + "description": "The name of the author (or committer) of the commit" + }, + "email": { + "type": "string", + "description": "The email of the author (or committer) of the commit" + } + } + } + }, + "required": [ + "message", + "sha" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "6a8ac147-02c6-4f4c-a1d8-7fe3ee48ba4c", + "created": "2026-08-12T22:01:05.318Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 94, + "reference": "649a0525-7aee-4603-9232-de1d561d52af", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Artifacts", + "description": "List Artifacts", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-artifacts-for-repo", + "canvasName": "actions/list-artifacts-for-repo", + "summary": "actions/list-artifacts-for-repo", + "description": "actions/list-artifacts-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "cc85826d-87d7-4f97-a5bf-d83ac21aab6e", + "created": "2026-08-12T21:53:31.337Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 95, + "reference": "1c6f9e3e-d663-4b5c-b3c3-de5dabf48b46", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Artifact", + "description": "Get Artifact", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-artifact", + "canvasName": "actions/get-artifact", + "summary": "actions/get-artifact", + "description": "actions/get-artifact", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "artifact_id": "$var.job.artifact_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "artifact_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "artifact_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "artifact_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "67cbfe4c-16ae-4351-a864-b79642e31cc9", + "created": "2026-08-12T21:53:31.372Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 96, + "reference": "af68e783-220b-460c-ae89-04a0a1f13cfc", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Delete Artifact", + "description": "Delete Artifact", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/delete-artifact", + "canvasName": "actions/delete-artifact", + "summary": "actions/delete-artifact", + "description": "actions/delete-artifact", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "artifact_id": "$var.job.artifact_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "artifact_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "artifact_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "artifact_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "c00d0efd-29b7-4e81-9925-f24c82c1e93b", + "created": "2026-08-12T21:53:31.397Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 97, + "reference": "1f2a9421-3cec-4e21-816d-1f857ad5dedf", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Download Artifact", + "description": "Download Artifact", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/download-artifact", + "canvasName": "actions/download-artifact", + "summary": "actions/download-artifact", + "description": "actions/download-artifact", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "artifact_id": "$var.job.artifact_id", + "archive_format": "$var.job.archive_format" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "artifact_id": { + "type": "integer" + }, + "archive_format": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "artifact_id", + "archive_format" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "artifact_id": { + "type": "integer" + }, + "archive_format": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d58c20e8-6276-488b-aed2-2ea6b6d44804", + "created": "2026-08-12T21:53:31.421Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 98, + "reference": "127e19f1-fca2-461f-bb53-2d1287ed0139", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Workflow Job", + "description": "Get Workflow Job", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-job-for-workflow-run", + "canvasName": "actions/get-job-for-workflow-run", + "summary": "actions/get-job-for-workflow-run", + "description": "actions/get-job-for-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "job_id": "$var.job.job_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "job_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "job_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "job_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "06481406-bfbd-41e3-bc94-32c76cc432c5", + "created": "2026-08-12T21:53:31.446Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 99, + "reference": "88616cff-72f8-43fe-93d5-6d323af21712", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Download Job Logs", + "description": "Download Job Logs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/download-job-logs-for-workflow-run", + "canvasName": "actions/download-job-logs-for-workflow-run", + "summary": "actions/download-job-logs-for-workflow-run", + "description": "actions/download-job-logs-for-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "job_id": "$var.job.job_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "job_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "job_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "job_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "bdc03b9b-fef5-4bbe-a309-d99d77b59e33", + "created": "2026-08-12T21:53:31.469Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 100, + "reference": "ff3f341d-fc9f-4377-b605-38890cbabd1e", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Re-run Job", + "description": "Re-run Job", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/re-run-job-for-workflow-run", + "canvasName": "actions/re-run-job-for-workflow-run", + "summary": "actions/re-run-job-for-workflow-run", + "description": "actions/re-run-job-for-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "job_id": "$var.job.job_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "job_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." + } + } + } + }, + "required": [ + "owner", + "repo", + "job_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "job_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2363fca0-180f-4a89-a586-ef116acc750b", + "created": "2026-08-12T21:53:31.493Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 101, + "reference": "622b552b-1b78-452f-ba82-7617bc57c7b9", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Workflows", + "description": "List Workflows", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-repo-workflows", + "canvasName": "actions/list-repo-workflows", + "summary": "actions/list-repo-workflows", + "description": "actions/list-repo-workflows", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "00653b38-a9b6-458d-9613-b30aa1f6a2fb", + "created": "2026-08-12T21:53:31.521Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 102, + "reference": "45b241bd-3465-4368-8d1b-420d755ef662", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Workflow", + "description": "Get Workflow", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-workflow", + "canvasName": "actions/get-workflow", + "summary": "actions/get-workflow", + "description": "actions/get-workflow", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "workflow_id": "$var.job.workflow_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "owner", + "repo", + "workflow_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "47e7a78f-7df7-4b2a-a668-008ff012c72e", + "created": "2026-08-12T21:53:31.545Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 103, + "reference": "0f155c46-4526-4f41-8291-44093603817a", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Enable Workflow", + "description": "Enable Workflow", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/enable-workflow", + "canvasName": "actions/enable-workflow", + "summary": "actions/enable-workflow", + "description": "actions/enable-workflow", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "workflow_id": "$var.job.workflow_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "owner", + "repo", + "workflow_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "7e0d5f87-bb30-455d-99fc-71ce5f86df62", + "created": "2026-08-12T21:53:31.569Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 104, + "reference": "72bb31f6-dbcc-45e8-a194-32e2e54e8936", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Disable Workflow", + "description": "Disable Workflow", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/disable-workflow", + "canvasName": "actions/disable-workflow", + "summary": "actions/disable-workflow", + "description": "actions/disable-workflow", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "workflow_id": "$var.job.workflow_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "owner", + "repo", + "workflow_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d617b8ca-b1cc-47c7-9b57-11d503a4aad5", + "created": "2026-08-12T21:53:31.596Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 105, + "reference": "a1b851bc-81cc-4627-8c40-d7e5e5eda33c", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Create Workflow Dispatch Event", + "description": "Create Workflow Dispatch Event", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/create-workflow-dispatch", + "canvasName": "actions/create-workflow-dispatch", + "summary": "actions/create-workflow-dispatch", + "description": "actions/create-workflow-dispatch", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "workflow_id": "$var.job.workflow_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "spec": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The git reference for the workflow. The reference can be a branch or tag name." + }, + "inputs": { + "type": "object", + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "additionalProperties": true, + "maxProperties": 10 + } + }, + "required": [ + "ref" + ] + } + }, + "required": [ + "owner", + "repo", + "workflow_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "spec": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The git reference for the workflow. The reference can be a branch or tag name." + }, + "inputs": { + "type": "object", + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "additionalProperties": true, + "maxProperties": 10 + } + }, + "required": [ + "ref" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "daf574c9-e74e-45e1-95ff-1c57aaf3853a", + "created": "2026-08-12T21:53:31.621Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 106, + "reference": "ede102b0-a498-436c-8786-1c077560e33b", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Runs for Workflow", + "description": "List Runs for Workflow", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-workflow-runs", + "canvasName": "actions/list-workflow-runs", + "summary": "actions/list-workflow-runs", + "description": "actions/list-workflow-runs", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "workflow_id": "$var.job.workflow_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "owner", + "repo", + "workflow_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "workflow_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ca300da8-c326-41f6-8328-f58399c966d3", + "created": "2026-08-12T21:53:31.646Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 107, + "reference": "2b54cab5-2808-4c2e-88b0-88df90763596", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Workflow Runs", + "description": "List Workflow Runs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-workflow-runs-for-repo", + "canvasName": "actions/list-workflow-runs-for-repo", + "summary": "actions/list-workflow-runs-for-repo", + "description": "actions/list-workflow-runs-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ce566c6f-22da-4b95-8cd8-6e093de07a36", + "created": "2026-08-12T21:53:31.670Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 108, + "reference": "0df06c7f-8fe2-4a39-9e60-e65e4326de21", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Workflow Run", + "description": "Get Workflow Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-workflow-run", + "canvasName": "actions/get-workflow-run", + "summary": "actions/get-workflow-run", + "description": "actions/get-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "08176e69-8db8-4cb5-b200-cdbed7de274d", + "created": "2026-08-12T21:53:31.698Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 109, + "reference": "0dd430e3-8652-4a25-86d2-3716c8c0428d", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Delete Workflow Run", + "description": "Delete Workflow Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/delete-workflow-run", + "canvasName": "actions/delete-workflow-run", + "summary": "actions/delete-workflow-run", + "description": "actions/delete-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "c5ab73d0-c387-4b92-b6e3-07c104299492", + "created": "2026-08-12T21:53:31.729Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 110, + "reference": "245d4168-76bb-4af6-92e5-5714661b17e9", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Workflow Run Attempt", + "description": "Get Workflow Run Attempt", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-workflow-run-attempt", + "canvasName": "actions/get-workflow-run-attempt", + "summary": "actions/get-workflow-run-attempt", + "description": "actions/get-workflow-run-attempt", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id", + "attempt_number": "$var.job.attempt_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "attempt_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id", + "attempt_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "attempt_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d555c204-986c-4618-b13e-4de326696c69", + "created": "2026-08-12T21:53:31.754Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 111, + "reference": "1290aeff-b207-4bda-b3b8-b7d7d3f4c403", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Jobs for Workflow Run", + "description": "List Jobs for Workflow Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-jobs-for-workflow-run", + "canvasName": "actions/list-jobs-for-workflow-run", + "summary": "actions/list-jobs-for-workflow-run", + "description": "actions/list-jobs-for-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ce030a4a-b22d-4c3a-a084-2ea1a32c6d77", + "created": "2026-08-12T21:53:31.778Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 112, + "reference": "67a40a6c-8b31-4af9-a604-ca3f33f1b445", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Jobs for Workflow Run Attempt", + "description": "List Jobs for Workflow Run Attempt", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-jobs-for-workflow-run-attempt", + "canvasName": "actions/list-jobs-for-workflow-run-attempt", + "summary": "actions/list-jobs-for-workflow-run-attempt", + "description": "actions/list-jobs-for-workflow-run-attempt", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id", + "attempt_number": "$var.job.attempt_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "attempt_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id", + "attempt_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "attempt_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "edbd2c26-82e9-46f6-94fa-965e788ee538", + "created": "2026-08-12T21:53:31.806Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 113, + "reference": "45a6a929-04b4-49a3-902e-735193c8687d", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Workflow Run Artifacts", + "description": "List Workflow Run Artifacts", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-workflow-run-artifacts", + "canvasName": "actions/list-workflow-run-artifacts", + "summary": "actions/list-workflow-run-artifacts", + "description": "actions/list-workflow-run-artifacts", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "4b4d204b-4403-448e-a055-29b50ca4c9f5", + "created": "2026-08-12T21:53:31.829Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 114, + "reference": "48e5bf4e-1413-43e7-8c51-3dd6bcc19caa", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Cancel Workflow Run", + "description": "Cancel Workflow Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/cancel-workflow-run", + "canvasName": "actions/cancel-workflow-run", + "summary": "actions/cancel-workflow-run", + "description": "actions/cancel-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5b487e38-d3fc-4057-aeb8-c8f1d45127ba", + "created": "2026-08-12T21:53:31.852Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 115, + "reference": "f60280f0-9ba0-4644-b813-3a5a0b57ae5c", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Force Cancel Workflow Run", + "description": "Force Cancel Workflow Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/force-cancel-workflow-run", + "canvasName": "actions/force-cancel-workflow-run", + "summary": "actions/force-cancel-workflow-run", + "description": "actions/force-cancel-workflow-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "c4b24844-d8ce-4a38-accd-43f10a716906", + "created": "2026-08-12T21:53:31.879Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 116, + "reference": "92a88f40-163d-4041-94ab-08f867f9e2ff", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Re-run Workflow", + "description": "Re-run Workflow", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/re-run-workflow", + "canvasName": "actions/re-run-workflow", + "summary": "actions/re-run-workflow", + "description": "actions/re-run-workflow", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." + } + } + } + }, + "required": [ + "owner", + "repo", + "run_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a6a5cacf-863e-4624-921f-7cd65890ddd8", + "created": "2026-08-12T21:53:31.908Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 117, + "reference": "a961a1f5-9cca-4376-840a-31442c8d7091", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Re-run Failed Jobs", + "description": "Re-run Failed Jobs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/re-run-workflow-failed-jobs", + "canvasName": "actions/re-run-workflow-failed-jobs", + "summary": "actions/re-run-workflow-failed-jobs", + "description": "actions/re-run-workflow-failed-jobs", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." + } + } + } + }, + "required": [ + "owner", + "repo", + "run_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "enable_debug_logging": { + "type": "boolean", + "default": false, + "description": "Whether to enable debug logging for the re-run." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5e31886e-99d9-4560-89bf-420bd121f9a0", + "created": "2026-08-12T21:53:31.934Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 118, + "reference": "344079ad-0e84-4598-bd16-23e65860c1db", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Download Workflow Run Logs", + "description": "Download Workflow Run Logs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/download-workflow-run-logs", + "canvasName": "actions/download-workflow-run-logs", + "summary": "actions/download-workflow-run-logs", + "description": "actions/download-workflow-run-logs", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d14123f2-71da-4669-888c-27dfc2d1ca90", + "created": "2026-08-12T21:53:31.960Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 119, + "reference": "46098830-9c21-4afb-ba8e-53888a5abccc", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Delete Workflow Run Logs", + "description": "Delete Workflow Run Logs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/delete-workflow-run-logs", + "canvasName": "actions/delete-workflow-run-logs", + "summary": "actions/delete-workflow-run-logs", + "description": "actions/delete-workflow-run-logs", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "b230fda0-43ee-468b-9d74-fe83a1ca6a0f", + "created": "2026-08-12T21:53:31.986Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 120, + "reference": "587817c8-1cfd-4e40-ab54-c0cbe99dbd15", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Download Workflow Run Attempt Logs", + "description": "Download Workflow Run Attempt Logs", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/download-workflow-run-attempt-logs", + "canvasName": "actions/download-workflow-run-attempt-logs", + "summary": "actions/download-workflow-run-attempt-logs", + "description": "actions/download-workflow-run-attempt-logs", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id", + "attempt_number": "$var.job.attempt_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "attempt_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id", + "attempt_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "attempt_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1f84bf2e-0afc-4959-bef9-687605076fd5", + "created": "2026-08-12T21:53:32.011Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 121, + "reference": "f3b4597b-e186-4530-b882-f0cd08b435bc", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Reviews for Run", + "description": "Get Reviews for Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-reviews-for-run", + "canvasName": "actions/get-reviews-for-run", + "summary": "actions/get-reviews-for-run", + "description": "actions/get-reviews-for-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "0a477229-be0e-4738-b87d-9d91fb71be0c", + "created": "2026-08-12T21:53:32.036Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 122, + "reference": "05256729-ad42-4993-ab65-a53c1ca1816f", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Pending Deployments for Run", + "description": "Get Pending Deployments for Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-pending-deployments-for-run", + "canvasName": "actions/get-pending-deployments-for-run", + "summary": "actions/get-pending-deployments-for-run", + "description": "actions/get-pending-deployments-for-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "run_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2e3f0ef5-619b-41a1-b767-402906accb26", + "created": "2026-08-12T21:53:32.062Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 123, + "reference": "51995bce-a562-449f-a04f-36d7cde1a17c", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Review Pending Deployments for Run", + "description": "Review Pending Deployments for Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/review-pending-deployments-for-run", + "canvasName": "actions/review-pending-deployments-for-run", + "summary": "actions/review-pending-deployments-for-run", + "description": "actions/review-pending-deployments-for-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "environment_ids": { + "type": "array", + "description": "The list of environment ids to approve or reject", + "items": { + "type": "integer", + "examples": [ + 161171787 + ] + }, + "examples": [ + 161171787, + 161171795 + ] + }, + "state": { + "type": "string", + "description": "Whether to approve or reject deployment to the specified environments.", + "enum": [ + "approved", + "rejected" + ], + "examples": [ + "approved" + ] + }, + "comment": { + "type": "string", + "description": "A comment to accompany the deployment review", + "examples": [ + "Ship it!" + ] + } + }, + "required": [ + "environment_ids", + "state", + "comment" + ] + } + }, + "required": [ + "owner", + "repo", + "run_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "environment_ids": { + "type": "array", + "description": "The list of environment ids to approve or reject", + "items": { + "type": "integer", + "examples": [ + 161171787 + ] + }, + "examples": [ + 161171787, + 161171795 + ] + }, + "state": { + "type": "string", + "description": "Whether to approve or reject deployment to the specified environments.", + "enum": [ + "approved", + "rejected" + ], + "examples": [ + "approved" + ] + }, + "comment": { + "type": "string", + "description": "A comment to accompany the deployment review", + "examples": [ + "Ship it!" + ] + } + }, + "required": [ + "environment_ids", + "state", + "comment" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "00cc0f99-0d66-4d77-adec-3ee5552c641b", + "created": "2026-08-12T21:53:32.087Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 124, + "reference": "ba248a40-0c7a-48ca-8352-955ce07f54c8", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Review Custom Gates for Run", + "description": "Review Custom Gates for Run", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/review-custom-gates-for-run", + "canvasName": "actions/review-custom-gates-for-run", + "summary": "actions/review-custom-gates-for-run", + "description": "actions/review-custom-gates-for-run", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "run_id": "$var.job.run_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "anyOf": [ + { + "type": "object", + "properties": { + "environment_name": { + "type": "string", + "description": "The name of the environment to approve or reject." + }, + "comment": { + "type": "string", + "description": "Comment associated with the pending deployment protection rule. **Required when state is not provided.**" + } + }, + "required": [ + "environment_name", + "comment" + ] + }, + { + "type": "object", + "properties": { + "environment_name": { + "type": "string", + "description": "The name of the environment to approve or reject." + }, + "state": { + "type": "string", + "description": "Whether to approve or reject deployment to the specified environments.", + "enum": [ + "approved", + "rejected" + ] + }, + "comment": { + "type": "string", + "description": "Optional comment to include with the review." + } + }, + "required": [ + "environment_name", + "state" + ] + } + ] + } + }, + "required": [ + "owner", + "repo", + "run_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "run_id": { + "type": "integer" + }, + "spec": { + "anyOf": [ + { + "type": "object", + "properties": { + "environment_name": { + "type": "string", + "description": "The name of the environment to approve or reject." + }, + "comment": { + "type": "string", + "description": "Comment associated with the pending deployment protection rule. **Required when state is not provided.**" + } + }, + "required": [ + "environment_name", + "comment" + ] + }, + { + "type": "object", + "properties": { + "environment_name": { + "type": "string", + "description": "The name of the environment to approve or reject." + }, + "state": { + "type": "string", + "description": "Whether to approve or reject deployment to the specified environments.", + "enum": [ + "approved", + "rejected" + ] + }, + "comment": { + "type": "string", + "description": "Optional comment to include with the review." + } + }, + "required": [ + "environment_name", + "state" + ] + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a6f99eb5-8ee6-4d54-bac3-8a1b9075ca92", + "created": "2026-08-12T21:53:32.112Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 125, + "reference": "b0ff2129-0e3c-4dd8-9a79-c18b8fe6cbd1", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Environment Secrets", + "description": "List Environment Secrets", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-environment-secrets", + "canvasName": "actions/list-environment-secrets", + "summary": "actions/list-environment-secrets", + "description": "actions/list-environment-secrets", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f0fd4d16-bbcb-44a3-8622-0def012db2de", + "created": "2026-08-12T21:53:32.138Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 126, + "reference": "a86924ef-4c93-428d-bf80-84f9f534dedd", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Environment Secret", + "description": "Get Environment Secret", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-environment-secret", + "canvasName": "actions/get-environment-secret", + "summary": "actions/get-environment-secret", + "description": "actions/get-environment-secret", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "secret_name": "$var.job.secret_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "secret_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "deaaeb3a-c46b-496f-aee1-faa0c4c60d8d", + "created": "2026-08-12T21:53:32.162Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 127, + "reference": "803304b1-a6f0-48b2-810e-3de6216e3e07", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Create Environment Secret", + "description": "Create Environment Secret", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/create-or-update-environment-secret", + "canvasName": "actions/create-or-update-environment-secret", + "summary": "actions/create-or-update-environment-secret", + "description": "actions/create-or-update-environment-secret", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "secret_name": "$var.job.secret_name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "secret_name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2f5115a0-ca05-4970-be0f-36ec580841a9", + "created": "2026-08-12T21:53:32.185Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 128, + "reference": "d3961576-1f11-40fd-ac43-d22ee2867f80", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Update Environment Secret", + "description": "Update Environment Secret", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/create-or-update-environment-secret", + "canvasName": "actions/create-or-update-environment-secret", + "summary": "actions/create-or-update-environment-secret", + "description": "actions/create-or-update-environment-secret", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "secret_name": "$var.job.secret_name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "secret_name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-environment-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "b78c7d3f-6e77-4efc-b39a-b9eea17db318", + "created": "2026-08-12T21:53:32.209Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 129, + "reference": "156b087b-8d8d-4172-8d44-8babd1b79bcf", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Delete Environment Secret", + "description": "Delete Environment Secret", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/delete-environment-secret", + "canvasName": "actions/delete-environment-secret", + "summary": "actions/delete-environment-secret", + "description": "actions/delete-environment-secret", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "secret_name": "$var.job.secret_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "secret_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "secret_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "968dfca9-74f3-47c3-beb4-1aa2f5257c54", + "created": "2026-08-12T21:53:32.236Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 130, + "reference": "10b55989-cffa-4043-8ed5-676a70250e6f", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Environment Public Key", + "description": "Get Environment Public Key", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-environment-public-key", + "canvasName": "actions/get-environment-public-key", + "summary": "actions/get-environment-public-key", + "description": "actions/get-environment-public-key", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "0dd75e32-40d0-4c4d-b461-962aa1f57e35", + "created": "2026-08-12T21:53:32.260Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 131, + "reference": "85d0e53e-5877-4340-9e8d-1c9fab7e11eb", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "List Environment Variables", + "description": "List Environment Variables", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/list-environment-variables", + "canvasName": "actions/list-environment-variables", + "summary": "actions/list-environment-variables", + "description": "actions/list-environment-variables", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "bd34397b-7abd-4061-a0c3-db70500880a7", + "created": "2026-08-12T21:53:32.284Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 132, + "reference": "7fa4cbed-97c0-4797-9086-64f0b6f20392", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Get Environment Variable", + "description": "Get Environment Variable", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/get-environment-variable", + "canvasName": "actions/get-environment-variable", + "summary": "actions/get-environment-variable", + "description": "actions/get-environment-variable", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "name": "$var.job.name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "9a80c823-85fc-484f-8a76-91fd90b97493", + "created": "2026-08-12T21:53:32.308Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 133, + "reference": "f9a5eb62-604e-4944-84af-b3c61033a1b4", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Create Environment Variable", + "description": "Create Environment Variable", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/create-environment-variable", + "canvasName": "actions/create-environment-variable", + "summary": "actions/create-environment-variable", + "description": "actions/create-environment-variable", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ca157ed0-824e-46c0-bbad-3dab998148c6", + "created": "2026-08-12T21:53:32.336Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 134, + "reference": "ac7e5597-09d3-4d1c-9afc-91ad3ab66df7", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Update Environment Variable", + "description": "Update Environment Variable", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/update-environment-variable", + "canvasName": "actions/update-environment-variable", + "summary": "actions/update-environment-variable", + "description": "actions/update-environment-variable", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "name": "$var.job.name", + "environment_name": "$var.job.environment_name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + } + } + }, + "required": [ + "owner", + "repo", + "name", + "environment_name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2373af9c-7846-4324-9729-0ecac877d867", + "created": "2026-08-12T21:53:32.361Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 135, + "reference": "545c7cd5-4122-4c19-b380-f1a367b30893", + "type": "workflow", + "folder": "/Actions", + "document": { + "name": "Delete Environment Variable", + "description": "Delete Environment Variable", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "actions/delete-environment-variable", + "canvasName": "actions/delete-environment-variable", + "summary": "actions/delete-environment-variable", + "description": "actions/delete-environment-variable", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "name": "$var.job.name", + "environment_name": "$var.job.environment_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "environment_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "name", + "environment_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "aa686343-955a-44b4-abde-2a2355dd8182", + "created": "2026-08-12T21:53:32.386Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 136, + "reference": "8525e840-88cb-439e-a5c1-2d41b1713cfc", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Issues", + "description": "List Issues", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-for-repo", + "canvasName": "issues/list-for-repo", + "summary": "issues/list-for-repo", + "description": "issues/list-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "632ad597-c476-4bec-b06b-50288a5be455", + "created": "2026-08-12T21:53:32.415Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 137, + "reference": "d5bb2370-e908-4990-9653-f32d404b9516", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Create Issue", + "description": "Create Issue", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/create", + "canvasName": "issues/create", + "summary": "issues/create", + "description": "issues/create", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], + "description": "The title of the issue." + }, + "body": { + "type": "string", + "description": "The contents of the issue." + }, + "assignee": { + "type": [ + "string", + "null" + ], + "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_" + }, + "milestone": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer", + "description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._" + } + ], + "type": [ + "null", + "string", + "integer" + ] + }, + "labels": { + "type": "array", + "description": "Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "description": "Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._", + "items": { + "type": "string" + } + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], + "description": "The title of the issue." + }, + "body": { + "type": "string", + "description": "The contents of the issue." + }, + "assignee": { + "type": [ + "string", + "null" + ], + "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_" + }, + "milestone": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer", + "description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._" + } + ], + "type": [ + "null", + "string", + "integer" + ] + }, + "labels": { + "type": "array", + "description": "Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "description": "Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._", + "items": { + "type": "string" + } + } + }, + "required": [ + "title" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "01fd9e72-8ab4-4fea-bed6-a7f5b346f70a", + "created": "2026-08-12T21:53:32.446Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 138, + "reference": "89d81850-ccfe-4a1f-b407-e49ac21834c3", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Get Issue", + "description": "Get Issue", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/get", + "canvasName": "issues/get", + "summary": "issues/get", + "description": "issues/get", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "issue_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "bf2babc1-5160-4128-a720-d8aa05002fe3", + "created": "2026-08-12T21:53:32.473Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 139, + "reference": "4667ba9b-eca6-4f43-b4d3-3163e14c723d", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Update Issue", + "description": "Update Issue", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/update", + "canvasName": "issues/update", + "summary": "issues/update", + "description": "issues/update", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], + "description": "The title of the issue.", + "type": [ + "null", + "string", + "integer" + ] + }, + "body": { + "type": [ + "string", + "null" + ], + "description": "The contents of the issue." + }, + "assignee": { + "type": [ + "string", + "null" + ], + "description": "Username to assign to this issue. **This field is deprecated.**" + }, + "state": { + "type": "string", + "description": "The open or closed state of the issue.", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "not_planned", + "reopened", + null + ], + "description": "The reason for the state change. Ignored unless `state` is changed.", + "examples": [ + "not_planned" + ] + }, + "milestone": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer", + "description": "The `number` of the milestone to associate this issue with or use `null` to remove the current milestone. Only users with push access can set the milestone for issues. Without push access to the repository, milestone changes are silently dropped." + } + ], + "type": [ + "null", + "string", + "integer" + ] + }, + "labels": { + "type": "array", + "description": "Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped.", + "items": { + "type": "string" + } + } + } + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], + "description": "The title of the issue.", + "type": [ + "null", + "string", + "integer" + ] + }, + "body": { + "type": [ + "string", + "null" + ], + "description": "The contents of the issue." + }, + "assignee": { + "type": [ + "string", + "null" + ], + "description": "Username to assign to this issue. **This field is deprecated.**" + }, + "state": { + "type": "string", + "description": "The open or closed state of the issue.", + "enum": [ + "open", + "closed" + ] + }, + "state_reason": { + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "not_planned", + "reopened", + null + ], + "description": "The reason for the state change. Ignored unless `state` is changed.", + "examples": [ + "not_planned" + ] + }, + "milestone": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer", + "description": "The `number` of the milestone to associate this issue with or use `null` to remove the current milestone. Only users with push access can set the milestone for issues. Without push access to the repository, milestone changes are silently dropped." + } + ], + "type": [ + "null", + "string", + "integer" + ] + }, + "labels": { + "type": "array", + "description": "Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped.", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + } + } + } + ] + } + }, + "assignees": { + "type": "array", + "description": "Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped.", + "items": { + "type": "string" + } + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e96b6a37-5f77-4385-bfde-56a6f1536068", + "created": "2026-08-12T21:53:32.503Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 140, + "reference": "ddaca0e7-b874-4b7a-a6a7-ffab7cf5491b", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Events for Timeline", + "description": "List Events for Timeline", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-events-for-timeline", + "canvasName": "issues/list-events-for-timeline", + "summary": "issues/list-events-for-timeline", + "description": "issues/list-events-for-timeline", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "issue_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "560597f8-ce55-4917-82c7-df4c94779a87", + "created": "2026-08-12T21:53:32.537Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 141, + "reference": "ebdd4452-899b-4915-92f1-136c886a7a26", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Issue Comments", + "description": "List Issue Comments", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-comments-for-repo", + "canvasName": "issues/list-comments-for-repo", + "summary": "issues/list-comments-for-repo", + "description": "issues/list-comments-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8886df0f-07e9-47f6-88ee-03c002817f72", + "created": "2026-08-12T21:53:32.564Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 142, + "reference": "33368b2f-7932-4d40-971e-5d727f0ab610", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Get Issue Comment", + "description": "Get Issue Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/get-comment", + "canvasName": "issues/get-comment", + "summary": "issues/get-comment", + "description": "issues/get-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "comment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "9af0b161-6669-4b7e-97b9-7d56207520fc", + "created": "2026-08-12T21:53:32.592Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 143, + "reference": "a0e38244-6638-4ad4-8df3-14637316e218", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Update Issue Comment", + "description": "Update Issue Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/update-comment", + "canvasName": "issues/update-comment", + "summary": "issues/update-comment", + "description": "issues/update-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "owner", + "repo", + "comment_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e8b9e399-df4d-474c-b5db-d6d1bd65add6", + "created": "2026-08-12T21:53:32.617Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 144, + "reference": "e0173115-67f5-4acc-a169-03a518bfde1e", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Delete Issue Comment", + "description": "Delete Issue Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/delete-comment", + "canvasName": "issues/delete-comment", + "summary": "issues/delete-comment", + "description": "issues/delete-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "comment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "18a505a5-24ca-449c-b0e0-2379595dc38e", + "created": "2026-08-12T21:53:32.642Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 145, + "reference": "72b77fc6-5d7e-4990-a06a-362445c30a95", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Comments for Issue", + "description": "List Comments for Issue", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-comments", + "canvasName": "issues/list-comments", + "summary": "issues/list-comments", + "description": "issues/list-comments", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "issue_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "61360c38-9afc-460d-8aaf-764c81e3dd21", + "created": "2026-08-12T21:53:32.669Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 146, + "reference": "a88986a1-32b7-4757-a199-c00afbccaf71", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Create Comment", + "description": "Create Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/create-comment", + "canvasName": "issues/create-comment", + "summary": "issues/create-comment", + "description": "issues/create-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The contents of the comment." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d53f7861-d3dc-4f16-ae48-9580c5f36016", + "created": "2026-08-12T21:53:32.692Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 147, + "reference": "4dd79954-6e7d-4f5e-81c9-7a814cde20bf", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Issue Events", + "description": "List Issue Events", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-events-for-repo", + "canvasName": "issues/list-events-for-repo", + "summary": "issues/list-events-for-repo", + "description": "issues/list-events-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f8a9ca9c-9965-4821-a0d0-8b5143dcda36", + "created": "2026-08-12T21:53:32.717Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 148, + "reference": "86090b90-97c7-45cb-8f20-42b6e530f853", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Get Issue Event", + "description": "Get Issue Event", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/get-event", + "canvasName": "issues/get-event", + "summary": "issues/get-event", + "description": "issues/get-event", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "event_id": "$var.job.event_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "event_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "event_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "event_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2cf6e966-6c21-4e0b-af3a-abd981543356", + "created": "2026-08-12T21:53:32.741Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 149, + "reference": "d1bbb8f3-f5d7-4484-bf68-abe33eb43e14", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Events for Issue", + "description": "List Events for Issue", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-events", + "canvasName": "issues/list-events", + "summary": "issues/list-events", + "description": "issues/list-events", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "issue_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "39676c6c-19f9-4b7a-ab3a-c6672d6510af", + "created": "2026-08-12T21:53:32.767Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 150, + "reference": "acaf47ec-9bbf-4017-8e98-3257aea86db2", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Add Assignees", + "description": "Add Assignees", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/add-assignees", + "canvasName": "issues/add-assignees", + "summary": "issues/add-assignees", + "description": "issues/add-assignees", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "assignees": { + "type": "array", + "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + } + } + } + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "assignees": { + "type": "array", + "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + } + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "aaf792b3-3ab9-4a99-a6b8-d915188c5503", + "created": "2026-08-12T21:53:32.791Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 151, + "reference": "0c1667b3-7ba5-4a5e-a7df-86fcec702684", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Remove Assignees", + "description": "Remove Assignees", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/remove-assignees", + "canvasName": "issues/remove-assignees", + "summary": "issues/remove-assignees", + "description": "issues/remove-assignees", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "assignees": { + "type": "array", + "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + } + } + } + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "assignees": { + "type": "array", + "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._", + "items": { + "type": "string" + } + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "98db37f0-eeb2-4d47-a055-bb3bc87d8eb1", + "created": "2026-08-12T21:53:32.821Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 152, + "reference": "e5ef5627-368d-4ba3-b77a-a3ac380563e8", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Check User Can Be Assigned", + "description": "Check User Can Be Assigned", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/check-user-can-be-assigned-to-issue", + "canvasName": "issues/check-user-can-be-assigned-to-issue", + "summary": "issues/check-user-can-be-assigned-to-issue", + "description": "issues/check-user-can-be-assigned-to-issue", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "assignee": "$var.job.assignee" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "assignee": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "assignee" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "assignee": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "0d6a652d-d48c-4618-a87f-5cdfb8334dc9", + "created": "2026-08-12T21:53:32.849Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 153, + "reference": "eadaf28a-f8ef-4106-828e-cb7fc932a6fe", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Issue Labels", + "description": "List Issue Labels", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-labels-on-issue", + "canvasName": "issues/list-labels-on-issue", + "summary": "issues/list-labels-on-issue", + "description": "issues/list-labels-on-issue", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "issue_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ca93fc7c-0706-451b-931d-592d59747896", + "created": "2026-08-12T21:53:32.880Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 154, + "reference": "3c7ab5ea-e83f-4bfe-8f95-4bca71606804", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Create Issue Label", + "description": "Create Issue Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/add-labels", + "canvasName": "issues/add-labels", + "summary": "issues/add-labels", + "description": "issues/add-labels", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see \"[Set labels for an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see \"[Set labels for an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#set-labels-for-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a1ecd95b-6f07-4260-a0c5-241c6c157504", + "created": "2026-08-12T21:53:32.911Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 155, + "reference": "292a091d-cff3-43cf-8728-779f11f17ab1", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Update Issue Label", + "description": "Update Issue Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/set-labels", + "canvasName": "issues/set-labels", + "summary": "issues/set-labels", + "description": "issues/set-labels", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "oneOf": [ + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "description": "The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/enterprise-server@3.13/rest/issues/labels#add-labels-to-an-issue).\"", + "items": { + "type": "string" + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + }, + { + "type": "object", + "properties": { + "labels": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + } + } + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + } + }, + { + "type": "string" + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f113f5b3-6f59-4a30-b294-da18d88ca6c9", + "created": "2026-08-12T21:53:32.941Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 156, + "reference": "6721b1af-45c0-443c-969d-a0f7c5b48e45", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Delete Issue Label", + "description": "Delete Issue Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/remove-label", + "canvasName": "issues/remove-label", + "summary": "issues/remove-label", + "description": "issues/remove-label", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "name": "$var.job.name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "c345d0d2-2d2f-4171-8fb2-2e8a152791a8", + "created": "2026-08-12T21:53:32.971Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 157, + "reference": "cca6febb-6a88-44e6-a1a7-005b0744fad2", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Remove All Labels", + "description": "Remove All Labels", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/remove-all-labels", + "canvasName": "issues/remove-all-labels", + "summary": "issues/remove-all-labels", + "description": "issues/remove-all-labels", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "issue_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8d99ed73-3945-45bc-b521-2b9f8cbe05ca", + "created": "2026-08-12T21:53:33.001Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 158, + "reference": "6766cf87-373e-42c2-9585-1e59c08451f3", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Create Issue Lock", + "description": "Create Issue Lock", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/lock", + "canvasName": "issues/lock", + "summary": "issues/lock", + "description": "issues/lock", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + } + }, + "required": [ + "owner", + "repo", + "issue_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "lock_reason": { + "type": "string", + "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n * `off-topic` \n * `too heated` \n * `resolved` \n * `spam`", + "enum": [ + "off-topic", + "too heated", + "resolved", + "spam" + ] + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "2777083b-83b7-4e86-9e8d-ac0468458938", + "created": "2026-08-12T21:53:33.027Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 159, + "reference": "cd748811-7d36-4203-95ee-55d6be6c0862", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Delete Issue Lock", + "description": "Delete Issue Lock", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/unlock", + "canvasName": "issues/unlock", + "summary": "issues/unlock", + "description": "issues/unlock", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "issue_number": "$var.job.issue_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "issue_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "issue_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "9fc65325-b936-4d23-9e29-dd375ee44158", + "created": "2026-08-12T21:53:33.051Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 160, + "reference": "83a01a82-e256-4698-b438-fd7b16e3cf4f", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Labels", + "description": "List Labels", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-labels-for-repo", + "canvasName": "issues/list-labels-for-repo", + "summary": "issues/list-labels-for-repo", + "description": "issues/list-labels-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "59c15bec-0668-4fde-9a63-51186dc6fd25", + "created": "2026-08-12T21:53:33.075Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 161, + "reference": "1980f51e-4701-4897-96ad-8e4e52484a80", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Create Label", + "description": "Create Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/create-label", + "canvasName": "issues/create-label", + "summary": "issues/create-label", + "description": "issues/create-label", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" + }, + "color": { + "type": "string", + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." + }, + "description": { + "type": "string", + "description": "A short description of the label. Must be 100 characters or fewer." + } + }, + "required": [ + "name" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" + }, + "color": { + "type": "string", + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." + }, + "description": { + "type": "string", + "description": "A short description of the label. Must be 100 characters or fewer." + } + }, + "required": [ + "name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "fb9260cc-c0a5-4760-94a4-2c0bb32d0cc0", + "created": "2026-08-12T21:53:33.103Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 162, + "reference": "78a716dd-c1c7-499f-b791-898fcbb777a0", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Get Label", + "description": "Get Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/get-label", + "canvasName": "issues/get-label", + "summary": "issues/get-label", + "description": "issues/get-label", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "name": "$var.job.name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "65d86668-4935-49c6-8ef5-f5677544afa3", + "created": "2026-08-12T21:53:33.127Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 163, + "reference": "ce6de05e-68df-4fc6-a743-d4eea8490b5a", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Update Label", + "description": "Update Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/update-label", + "canvasName": "issues/update-label", + "summary": "issues/update-label", + "description": "issues/update-label", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "name": "$var.job.name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "new_name": { + "type": "string", + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" + }, + "color": { + "type": "string", + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." + }, + "description": { + "type": "string", + "description": "A short description of the label. Must be 100 characters or fewer." + } + } + } + }, + "required": [ + "owner", + "repo", + "name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "new_name": { + "type": "string", + "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\"" + }, + "color": { + "type": "string", + "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`." + }, + "description": { + "type": "string", + "description": "A short description of the label. Must be 100 characters or fewer." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8cea2136-2b45-49a3-9d5d-726e82209516", + "created": "2026-08-12T21:53:33.150Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 164, + "reference": "4e18721b-8179-4a2b-91ed-8b53fda26390", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Delete Label", + "description": "Delete Label", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/delete-label", + "canvasName": "issues/delete-label", + "summary": "issues/delete-label", + "description": "issues/delete-label", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "name": "$var.job.name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f55285ad-195b-4c4a-9ae2-6bde912cf182", + "created": "2026-08-12T21:53:33.175Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 165, + "reference": "02e0c884-e4ce-4623-9705-004ea593410f", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Milestones", + "description": "List Milestones", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-milestones", + "canvasName": "issues/list-milestones", + "summary": "issues/list-milestones", + "description": "issues/list-milestones", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e43f9b85-69e5-41eb-b452-8364cc096bee", + "created": "2026-08-12T21:53:33.201Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 166, + "reference": "2fe5813d-49be-47d1-85c0-2efac7be17fb", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Create Milestone", + "description": "Create Milestone", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/create-milestone", + "canvasName": "issues/create-milestone", + "summary": "issues/create-milestone", + "description": "issues/create-milestone", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the milestone." + }, + "state": { + "type": "string", + "description": "The state of the milestone. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "description": { + "type": "string", + "description": "A description of the milestone." + }, + "due_on": { + "type": "string", + "format": "date-time", + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." + } + }, + "required": [ + "title" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the milestone." + }, + "state": { + "type": "string", + "description": "The state of the milestone. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "description": { + "type": "string", + "description": "A description of the milestone." + }, + "due_on": { + "type": "string", + "format": "date-time", + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." + } + }, + "required": [ + "title" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5057323b-c7bd-4300-a07a-55f789d9e85a", + "created": "2026-08-12T21:53:33.226Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 167, + "reference": "02d768c0-fa44-46e2-a442-f3969e8fd9da", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Get Milestone", + "description": "Get Milestone", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/get-milestone", + "canvasName": "issues/get-milestone", + "summary": "issues/get-milestone", + "description": "issues/get-milestone", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "milestone_number": "$var.job.milestone_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "milestone_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "9e3e295c-cb6c-4077-8366-19214757cba3", + "created": "2026-08-12T21:53:33.254Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 168, + "reference": "1dcca975-b31f-4f34-98d6-351dd1b11beb", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Update Milestone", + "description": "Update Milestone", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/update-milestone", + "canvasName": "issues/update-milestone", + "summary": "issues/update-milestone", + "description": "issues/update-milestone", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "milestone_number": "$var.job.milestone_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the milestone." + }, + "state": { + "type": "string", + "description": "The state of the milestone. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "description": { + "type": "string", + "description": "A description of the milestone." + }, + "due_on": { + "type": "string", + "format": "date-time", + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." + } + } + } + }, + "required": [ + "owner", + "repo", + "milestone_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the milestone." + }, + "state": { + "type": "string", + "description": "The state of the milestone. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ], + "default": "open" + }, + "description": { + "type": "string", + "description": "A description of the milestone." + }, + "due_on": { + "type": "string", + "format": "date-time", + "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1826dc20-2aa3-4d8a-982e-0c87ac348a52", + "created": "2026-08-12T21:53:33.282Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 169, + "reference": "75f30a30-b69e-4e6f-953d-9eedacbeb32c", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "Delete Milestone", + "description": "Delete Milestone", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/delete-milestone", + "canvasName": "issues/delete-milestone", + "summary": "issues/delete-milestone", + "description": "issues/delete-milestone", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "milestone_number": "$var.job.milestone_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "milestone_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1766014c-ec9c-47da-a5b9-658671d39185", + "created": "2026-08-12T21:53:33.314Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 170, + "reference": "01cbf5fa-8192-467d-a9ba-a114b989b39d", + "type": "workflow", + "folder": "/Issues", + "document": { + "name": "List Labels for Milestone", + "description": "List Labels for Milestone", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "issues/list-labels-for-milestone", + "canvasName": "issues/list-labels-for-milestone", + "summary": "issues/list-labels-for-milestone", + "description": "issues/list-labels-for-milestone", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "milestone_number": "$var.job.milestone_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "milestone_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "milestone_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "7a52d05a-ee98-4db9-bd64-e2ab8b1c3dd4", + "created": "2026-08-12T21:53:33.343Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 171, + "reference": "6b5e6f72-0cd9-4ace-98f3-fecc8a3920a6", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Pull Requests", + "description": "List Pull Requests", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list", + "canvasName": "pulls/list", + "summary": "pulls/list", + "description": "pulls/list", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5ccbd292-c994-4847-b49e-25d910bceb46", + "created": "2026-08-12T21:53:33.375Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 172, + "reference": "8208c8f8-c402-4ef2-92d6-494dc1ffdfd2", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Create Pull Request", + "description": "Create Pull Request", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/create", + "canvasName": "pulls/create", + "summary": "pulls/create", + "description": "pulls/create", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the new pull request. Required unless `issue` is specified." + }, + "head": { + "type": "string", + "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`." + }, + "head_repo": { + "type": "string", + "description": "The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.", + "format": "repo.nwo", + "examples": [ + "octo-org/octo-repo" + ] + }, + "base": { + "type": "string", + "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository." + }, + "body": { + "type": "string", + "description": "The contents of the pull request." + }, + "maintainer_can_modify": { + "type": "boolean", + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." + }, + "draft": { + "type": "boolean", + "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/enterprise-server@3.13/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more." + }, + "issue": { + "type": "integer", + "format": "int64", + "description": "An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.", + "examples": [ + 1 + ] + } + }, + "required": [ + "head", + "base" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the new pull request. Required unless `issue` is specified." + }, + "head": { + "type": "string", + "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`." + }, + "head_repo": { + "type": "string", + "description": "The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.", + "format": "repo.nwo", + "examples": [ + "octo-org/octo-repo" + ] + }, + "base": { + "type": "string", + "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository." + }, + "body": { + "type": "string", + "description": "The contents of the pull request." + }, + "maintainer_can_modify": { + "type": "boolean", + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." + }, + "draft": { + "type": "boolean", + "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/enterprise-server@3.13/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more." + }, + "issue": { + "type": "integer", + "format": "int64", + "description": "An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.", + "examples": [ + 1 + ] + } + }, + "required": [ + "head", + "base" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "68570a5c-3c09-4ab8-acd1-c5cb81f718a5", + "created": "2026-08-12T21:53:33.407Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 173, + "reference": "3fb7c6a9-8cad-4414-90e7-ade467615761", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Get Pull Request", + "description": "Get Pull Request", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/get", + "canvasName": "pulls/get", + "summary": "pulls/get", + "description": "pulls/get", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "6a4588c5-fc7a-47cd-a8aa-c8e9f9e07c45", + "created": "2026-08-12T21:53:33.439Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 174, + "reference": "ab8bd282-0fc7-4023-ab82-7dbc274bbd7c", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Update Pull Request", + "description": "Update Pull Request", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/update", + "canvasName": "pulls/update", + "summary": "pulls/update", + "description": "pulls/update", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the pull request." + }, + "body": { + "type": "string", + "description": "The contents of the pull request." + }, + "state": { + "type": "string", + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ] + }, + "base": { + "type": "string", + "description": "The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository." + }, + "maintainer_can_modify": { + "type": "boolean", + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." + } + } + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the pull request." + }, + "body": { + "type": "string", + "description": "The contents of the pull request." + }, + "state": { + "type": "string", + "description": "State of this Pull Request. Either `open` or `closed`.", + "enum": [ + "open", + "closed" + ] + }, + "base": { + "type": "string", + "description": "The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository." + }, + "maintainer_can_modify": { + "type": "boolean", + "description": "Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.13/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "93bb207f-c252-4cf1-8489-9c490a49d4c8", + "created": "2026-08-12T21:53:33.468Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 175, + "reference": "eb5b10fa-7247-4c2d-bcf0-b37ff1a0e49f", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Pull Request Commits", + "description": "List Pull Request Commits", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list-commits", + "canvasName": "pulls/list-commits", + "summary": "pulls/list-commits", + "description": "pulls/list-commits", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "34bfcb4b-93be-445f-9474-76776525be3a", + "created": "2026-08-12T21:53:33.498Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 176, + "reference": "15ff182b-4536-4e04-9b5c-e1f20ee1ee9e", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Files", + "description": "List Files", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list-files", + "canvasName": "pulls/list-files", + "summary": "pulls/list-files", + "description": "pulls/list-files", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a12319fb-59bb-4a3f-8b48-a5e0f26da6d2", + "created": "2026-08-12T21:53:33.531Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 177, + "reference": "961b1fa0-125e-4294-86e5-5ff79aa22dc1", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Check if Merged", + "description": "Check if Merged", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/check-if-merged", + "canvasName": "pulls/check-if-merged", + "summary": "pulls/check-if-merged", + "description": "pulls/check-if-merged", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5d4a810d-100c-4a7d-a10c-8b134b0477c6", + "created": "2026-08-12T21:53:33.564Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 178, + "reference": "383df9f6-cc69-4e44-8c7a-96bf23695682", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Merge Pull Request", + "description": "Merge Pull Request", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/merge", + "canvasName": "pulls/merge", + "summary": "pulls/merge", + "description": "pulls/merge", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + } + } + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "commit_title": { + "type": "string", + "description": "Title for the automatic commit message." + }, + "commit_message": { + "type": "string", + "description": "Extra detail to append to automatic commit message." + }, + "sha": { + "type": "string", + "description": "SHA that pull request head must match to allow merge." + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5b15c9a7-c7ba-45ff-ab2c-fc884fc57168", + "created": "2026-08-12T21:53:33.592Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 179, + "reference": "f8196f31-05c5-4cab-a682-c05d2cfbd9ce", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Update Branch", + "description": "Update Branch", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/update-branch", + "canvasName": "pulls/update-branch", + "summary": "pulls/update-branch", + "description": "pulls/update-branch", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "expected_head_sha": { + "type": "string", + "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref." + } + } + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "expected_head_sha": { + "type": "string", + "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://docs.github.com/enterprise-server@3.13/rest/commits/commits#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ed8edca1-b6b9-40b2-88f3-abc230c86cd0", + "created": "2026-08-12T21:53:33.622Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 180, + "reference": "52919da8-e98e-4d1f-b9c3-547b9870800a", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Pull Request Comments", + "description": "List Pull Request Comments", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list-review-comments-for-repo", + "canvasName": "pulls/list-review-comments-for-repo", + "summary": "pulls/list-review-comments-for-repo", + "description": "pulls/list-review-comments-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e01e6568-0b3e-43b4-8f07-024fd8419888", + "created": "2026-08-12T21:53:33.652Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 181, + "reference": "bcae7d37-2511-41f2-8709-281b616fc7fc", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Get Pull Request Comment", + "description": "Get Pull Request Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/get-review-comment", + "canvasName": "pulls/get-review-comment", + "summary": "pulls/get-review-comment", + "description": "pulls/get-review-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "comment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "4b9b4a7d-ab6c-4370-81ba-3a0879ac96fe", + "created": "2026-08-12T21:53:33.684Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 182, + "reference": "5bc66d8a-6e58-4eb7-8687-3b7eb319a4fb", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Update Pull Request Comment", + "description": "Update Pull Request Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/update-review-comment", + "canvasName": "pulls/update-review-comment", + "summary": "pulls/update-review-comment", + "description": "pulls/update-review-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The text of the reply to the review comment." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "owner", + "repo", + "comment_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The text of the reply to the review comment." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f85e3e10-6d51-4a3d-9835-e5d406e9bfc6", + "created": "2026-08-12T21:53:33.713Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 183, + "reference": "43a1ed6a-9f0b-4bca-8939-29fb10817aa9", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Delete Pull Request Comment", + "description": "Delete Pull Request Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/delete-review-comment", + "canvasName": "pulls/delete-review-comment", + "summary": "pulls/delete-review-comment", + "description": "pulls/delete-review-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "comment_id": "$var.job.comment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "comment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "comment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "9b797051-c8d4-444d-a124-aa8b187f8a88", + "created": "2026-08-12T21:53:33.743Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 184, + "reference": "530bdbc1-aab5-46a4-bf72-e41463e97f81", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Review Comments for PR", + "description": "List Review Comments for PR", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list-review-comments", + "canvasName": "pulls/list-review-comments", + "summary": "pulls/list-review-comments", + "description": "pulls/list-review-comments", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "82a629c7-1ad1-4e9b-8f74-3e29d37e8c98", + "created": "2026-08-12T21:53:33.776Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 185, + "reference": "c981f035-07ea-40b9-8cc1-17cb7b4a2b12", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Create Review Comment", + "description": "Create Review Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/create-review-comment", + "canvasName": "pulls/create-review-comment", + "summary": "pulls/create-review-comment", + "description": "pulls/create-review-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The text of the review comment." + }, + "commit_id": { + "type": "string", + "description": "The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`." + }, + "path": { + "type": "string", + "description": "The relative path to the file that necessitates a comment." + }, + "position": { + "type": "integer", + "description": "**This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.", + "deprecated": true, + "x-github": { + "deprecationDate": "2022-11-01" + } + }, + "side": { + "type": "string", + "description": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/enterprise-server@3.13/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.", + "enum": [ + "LEFT", + "RIGHT" + ] + }, + "line": { + "type": "integer", + "description": "**Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to." + }, + "start_line": { + "type": "integer", + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation." + }, + "start_side": { + "type": "string", + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.", + "enum": [ + "LEFT", + "RIGHT", + "side" + ] + }, + "in_reply_to": { + "type": "integer", + "description": "The ID of the review comment to reply to. To find the ID of a review comment with [\"List review comments on a pull request\"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.", + "examples": [ + 2 + ] + }, + "subject_type": { + "type": "string", + "description": "The level at which the comment is targeted.", + "enum": [ + "line", + "file" + ] + } + }, + "required": [ + "body", + "commit_id", + "path" + ] + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The text of the review comment." + }, + "commit_id": { + "type": "string", + "description": "The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`." + }, + "path": { + "type": "string", + "description": "The relative path to the file that necessitates a comment." + }, + "position": { + "type": "integer", + "description": "**This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.", + "deprecated": true, + "x-github": { + "deprecationDate": "2022-11-01" + } + }, + "side": { + "type": "string", + "description": "In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/enterprise-server@3.13/articles/about-comparing-branches-in-pull-requests#diff-view-options)\" in the GitHub Help documentation.", + "enum": [ + "LEFT", + "RIGHT" + ] + }, + "line": { + "type": "integer", + "description": "**Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to." + }, + "start_line": { + "type": "integer", + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation." + }, + "start_side": { + "type": "string", + "description": "**Required when using multi-line comments unless using `in_reply_to`**. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\" in the GitHub Help documentation. See `side` in this table for additional context.", + "enum": [ + "LEFT", + "RIGHT", + "side" + ] + }, + "in_reply_to": { + "type": "integer", + "description": "The ID of the review comment to reply to. To find the ID of a review comment with [\"List review comments on a pull request\"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.", + "examples": [ + 2 + ] + }, + "subject_type": { + "type": "string", + "description": "The level at which the comment is targeted.", + "enum": [ + "line", + "file" + ] + } + }, + "required": [ + "body", + "commit_id", + "path" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "324cc9e0-ec17-4fb2-aab9-928c2db45bf1", + "created": "2026-08-12T21:53:33.814Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 186, + "reference": "3a2abb9b-13fc-4ee9-a179-2dfa0c32afdd", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Reply to Review Comment", + "description": "Reply to Review Comment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/create-reply-for-review-comment", + "canvasName": "pulls/create-reply-for-review-comment", + "summary": "pulls/create-reply-for-review-comment", + "description": "pulls/create-reply-for-review-comment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "comment_id": "$var.job.comment_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The text of the review comment." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "comment_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "comment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The text of the review comment." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "273ffc36-5063-4538-be1c-2e2178daf918", + "created": "2026-08-12T21:53:33.845Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 187, + "reference": "98f62490-7482-4b9c-9624-05f362c2cdce", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Requested Reviewers", + "description": "List Requested Reviewers", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list-requested-reviewers", + "canvasName": "pulls/list-requested-reviewers", + "summary": "pulls/list-requested-reviewers", + "description": "pulls/list-requested-reviewers", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ce0fb5d6-9198-4d51-8aff-a1f89d9c22ad", + "created": "2026-08-12T21:53:33.870Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 188, + "reference": "8eb03b84-9054-4ef3-88f5-9e8171b9bd56", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Create Requested Reviewer", + "description": "Create Requested Reviewer", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/request-reviewers", + "canvasName": "pulls/request-reviewers", + "summary": "pulls/request-reviewers", + "description": "pulls/request-reviewers", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "An array of user `login`s that will be requested.", + "items": { + "type": "string" + } + }, + "team_reviewers": { + "type": "array", + "description": "An array of team `slug`s that will be requested.", + "items": { + "type": "string" + } + } + }, + "anyOf": [ + { + "required": [ + "reviewers" + ] + }, + { + "required": [ + "team_reviewers" + ] + } + ] + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "An array of user `login`s that will be requested.", + "items": { + "type": "string" + } + }, + "team_reviewers": { + "type": "array", + "description": "An array of team `slug`s that will be requested.", + "items": { + "type": "string" + } + } + }, + "anyOf": [ + { + "required": [ + "reviewers" + ] + }, + { + "required": [ + "team_reviewers" + ] + } + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "b112d5a3-798e-4714-ab12-0bfc3b398a8d", + "created": "2026-08-12T21:53:33.901Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 189, + "reference": "e1f5f155-6192-4185-b61d-28a571a3d398", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Delete Requested Reviewer", + "description": "Delete Requested Reviewer", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/remove-requested-reviewers", + "canvasName": "pulls/remove-requested-reviewers", + "summary": "pulls/remove-requested-reviewers", + "description": "pulls/remove-requested-reviewers", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "An array of user `login`s that will be removed.", + "items": { + "type": "string" + } + }, + "team_reviewers": { + "type": "array", + "description": "An array of team `slug`s that will be removed.", + "items": { + "type": "string" + } + } + }, + "required": [ + "reviewers" + ] + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "An array of user `login`s that will be removed.", + "items": { + "type": "string" + } + }, + "team_reviewers": { + "type": "array", + "description": "An array of team `slug`s that will be removed.", + "items": { + "type": "string" + } + } + }, + "required": [ + "reviewers" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "efb0b07c-1b29-49b3-aa99-689458acba28", + "created": "2026-08-12T21:53:33.934Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 190, + "reference": "8c4bfb63-59ce-45e4-b23e-0713ffcb8c3b", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Pull Request Reviews", + "description": "List Pull Request Reviews", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list-reviews", + "canvasName": "pulls/list-reviews", + "summary": "pulls/list-reviews", + "description": "pulls/list-reviews", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1c9f0daf-0106-4d24-91a8-750dcaa6ae97", + "created": "2026-08-12T21:53:33.963Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 191, + "reference": "8e3d18e1-ab02-4b6f-b528-e9fbc2904faf", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Create Pull Request Review", + "description": "Create Pull Request Review", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/create-review", + "canvasName": "pulls/create-review", + "summary": "pulls/create-review", + "description": "pulls/create-review", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "commit_id": { + "type": "string", + "description": "The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value." + }, + "body": { + "type": "string", + "description": "**Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review." + }, + "event": { + "type": "string", + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready.", + "enum": [ + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" + ] + }, + "comments": { + "type": "array", + "description": "Use the following table to specify the location, destination, and contents of the draft review comment.", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The relative path to the file that necessitates a review comment." + }, + "position": { + "type": "integer", + "description": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file." + }, + "body": { + "type": "string", + "description": "Text of the review comment." + }, + "line": { + "type": "integer", + "examples": [ + 28 + ] + }, + "side": { + "type": "string", + "examples": [ + "RIGHT" + ] + }, + "start_line": { + "type": "integer", + "examples": [ + 26 + ] + }, + "start_side": { + "type": "string", + "examples": [ + "LEFT" + ] + } + }, + "required": [ + "path", + "body" + ] + } + } + } + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "commit_id": { + "type": "string", + "description": "The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value." + }, + "body": { + "type": "string", + "description": "**Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review." + }, + "event": { + "type": "string", + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews#submit-a-review-for-a-pull-request) when you are ready.", + "enum": [ + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" + ] + }, + "comments": { + "type": "array", + "description": "Use the following table to specify the location, destination, and contents of the draft review comment.", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The relative path to the file that necessitates a review comment." + }, + "position": { + "type": "integer", + "description": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first \"@@\" hunk header in the file you want to add a comment. The line just below the \"@@\" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file." + }, + "body": { + "type": "string", + "description": "Text of the review comment." + }, + "line": { + "type": "integer", + "examples": [ + 28 + ] + }, + "side": { + "type": "string", + "examples": [ + "RIGHT" + ] + }, + "start_line": { + "type": "integer", + "examples": [ + 26 + ] + }, + "start_side": { + "type": "string", + "examples": [ + "LEFT" + ] + } + }, + "required": [ + "path", + "body" + ] + } + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5dffaa05-f3e6-4bb7-a7cc-3cd2e6f0115b", + "created": "2026-08-12T21:53:33.990Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 192, + "reference": "682e11da-1b8d-4f04-8d10-2690a95ae0f1", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Get Pull Request Review", + "description": "Get Pull Request Review", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/get-review", + "canvasName": "pulls/get-review", + "summary": "pulls/get-review", + "description": "pulls/get-review", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "review_id": "$var.job.review_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "review_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "3c8cbea3-24eb-4f76-82dd-f52dcb716b45", + "created": "2026-08-12T21:53:34.020Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 193, + "reference": "550620da-2003-49da-a0ff-a7950bea7361", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Update Pull Request Review", + "description": "Update Pull Request Review", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/update-review", + "canvasName": "pulls/update-review", + "summary": "pulls/update-review", + "description": "pulls/update-review", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "review_id": "$var.job.review_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The body text of the pull request review." + } + }, + "required": [ + "body" + ] + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "review_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The body text of the pull request review." + } + }, + "required": [ + "body" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d2f3413d-40c8-4901-8846-9cdbc3ede9cf", + "created": "2026-08-12T21:53:34.051Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 194, + "reference": "c6c707bd-7882-4208-a577-10329a778a1a", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Delete Pull Request Review", + "description": "Delete Pull Request Review", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/delete-pending-review", + "canvasName": "pulls/delete-pending-review", + "summary": "pulls/delete-pending-review", + "description": "pulls/delete-pending-review", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "review_id": "$var.job.review_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "review_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "6f2f425a-16a8-43bb-9f27-1be37b7d4ccb", + "created": "2026-08-12T21:53:34.078Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 195, + "reference": "847d0f58-d0f4-4800-a240-413af9707f9b", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "List Comments for Review", + "description": "List Comments for Review", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/list-comments-for-review", + "canvasName": "pulls/list-comments-for-review", + "summary": "pulls/list-comments-for-review", + "description": "pulls/list-comments-for-review", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "review_id": "$var.job.review_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "review_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "4fb3965b-ab9a-4925-a751-71549a427288", + "created": "2026-08-12T21:53:34.106Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 196, + "reference": "bd984281-5afe-4c81-958b-7ba419cb10e0", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Dismiss Review", + "description": "Dismiss Review", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/dismiss-review", + "canvasName": "pulls/dismiss-review", + "summary": "pulls/dismiss-review", + "description": "pulls/dismiss-review", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "review_id": "$var.job.review_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The message for the pull request review dismissal" + }, + "event": { + "type": "string", + "enum": [ + "DISMISS" + ], + "examples": [ + "\"DISMISS\"" + ] + } + }, + "required": [ + "message" + ] + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "review_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "The message for the pull request review dismissal" + }, + "event": { + "type": "string", + "enum": [ + "DISMISS" + ], + "examples": [ + "\"DISMISS\"" + ] + } + }, + "required": [ + "message" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a3a24422-7782-49be-b352-1138a78ed469", + "created": "2026-08-12T21:53:34.137Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 197, + "reference": "0ba31dba-b7b3-420d-8eaf-6818da735baf", + "type": "workflow", + "folder": "/Pull Requests", + "document": { + "name": "Submit Review", + "description": "Submit Review", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "pulls/submit-review", + "canvasName": "pulls/submit-review", + "summary": "pulls/submit-review", + "description": "pulls/submit-review", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "pull_number": "$var.job.pull_number", + "review_id": "$var.job.review_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The body text of the pull request review" + }, + "event": { + "type": "string", + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.", + "enum": [ + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" + ] + } + }, + "required": [ + "event" + ] + } + }, + "required": [ + "owner", + "repo", + "pull_number", + "review_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "pull_number": { + "type": "integer" + }, + "review_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "The body text of the pull request review" + }, + "event": { + "type": "string", + "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.", + "enum": [ + "APPROVE", + "REQUEST_CHANGES", + "COMMENT" + ] + } + }, + "required": [ + "event" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "679f38b3-c93a-4ce8-8c05-744e1faef4be", + "created": "2026-08-12T21:53:34.173Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 198, + "reference": "97fb83fb-b66d-4d1f-8de5-8fc59f319ff5", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "List GitHub Releases", + "description": "List GitHub Releases", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-releases", + "canvasName": "repos/list-releases", + "summary": "repos/list-releases", + "description": "repos/list-releases", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e9cd0eff-92f0-4565-8573-59b96690f729", + "created": "2026-08-12T22:01:05.364Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 199, + "reference": "cb0d5bed-e5b0-4164-945f-3680c29eb2d7", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Create GitHub Release", + "description": "Create GitHub Release", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-release", + "canvasName": "repos/create-release", + "summary": "repos/create-release", + "description": "repos/create-release", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "tag_name": { + "type": "string", + "description": "The name of the tag." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." + }, + "name": { + "type": "string", + "description": "The name of the release." + }, + "body": { + "type": "string", + "description": "Text describing the contents of the tag." + }, + "draft": { + "type": "boolean", + "description": "`true` to create a draft (unpublished) release, `false` to create a published one.", + "default": false + }, + "prerelease": { + "type": "boolean", + "description": "`true` to identify the release as a prerelease. `false` to identify the release as a full release.", + "default": false + }, + "generate_release_notes": { + "type": "boolean", + "description": "Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.", + "default": false + }, + "make_latest": { + "type": "string", + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", + "enum": [ + "true", + "false", + "legacy" + ], + "default": true + } + }, + "required": [ + "tag_name" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "tag_name": { + "type": "string", + "description": "The name of the tag." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." + }, + "name": { + "type": "string", + "description": "The name of the release." + }, + "body": { + "type": "string", + "description": "Text describing the contents of the tag." + }, + "draft": { + "type": "boolean", + "description": "`true` to create a draft (unpublished) release, `false` to create a published one.", + "default": false + }, + "prerelease": { + "type": "boolean", + "description": "`true` to identify the release as a prerelease. `false` to identify the release as a full release.", + "default": false + }, + "generate_release_notes": { + "type": "boolean", + "description": "Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.", + "default": false + }, + "make_latest": { + "type": "string", + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", + "enum": [ + "true", + "false", + "legacy" + ], + "default": true + } + }, + "required": [ + "tag_name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "74ba53fd-8ea7-46dc-b178-ffb2f09ddd26", + "created": "2026-08-12T22:01:05.435Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 200, + "reference": "ed38a4c1-59f6-4f32-8c6f-fa15804c3aa5", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Get GitHub Release", + "description": "Get GitHub Release", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-release", + "canvasName": "repos/get-release", + "summary": "repos/get-release", + "description": "repos/get-release", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "release_id": "$var.job.release_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "release_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "d1703546-5f57-4ba8-b0cf-42eed22602d6", + "created": "2026-08-12T22:01:05.481Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 201, + "reference": "01d793b6-4dd4-4ce1-aa95-10b0ea8e9898", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Update GitHub Release", + "description": "Update GitHub Release", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-release", + "canvasName": "repos/update-release", + "summary": "repos/update-release", + "description": "repos/update-release", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "release_id": "$var.job.release_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "tag_name": { + "type": "string", + "description": "The name of the tag." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." + }, + "name": { + "type": "string", + "description": "The name of the release." + }, + "body": { + "type": "string", + "description": "Text describing the contents of the tag." + }, + "draft": { + "type": "boolean", + "description": "`true` makes the release a draft, and `false` publishes the release." + }, + "prerelease": { + "type": "boolean", + "description": "`true` to identify the release as a prerelease, `false` to identify the release as a full release." + }, + "make_latest": { + "type": "string", + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", + "enum": [ + "true", + "false", + "legacy" + ], + "default": true + } + } + } + }, + "required": [ + "owner", + "repo", + "release_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "tag_name": { + "type": "string", + "description": "The name of the tag." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch." + }, + "name": { + "type": "string", + "description": "The name of the release." + }, + "body": { + "type": "string", + "description": "Text describing the contents of the tag." + }, + "draft": { + "type": "boolean", + "description": "`true` makes the release a draft, and `false` publishes the release." + }, + "prerelease": { + "type": "boolean", + "description": "`true` to identify the release as a prerelease, `false` to identify the release as a full release." + }, + "make_latest": { + "type": "string", + "description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.", + "enum": [ + "true", + "false", + "legacy" + ], + "default": true + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "9ec94874-4c63-4840-906e-4e0089660c4f", + "created": "2026-08-12T22:01:05.521Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 202, + "reference": "22443ad6-7190-4cae-a8e8-0fbe0a40e2db", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Delete GitHub Release", + "description": "Delete GitHub Release", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-release", + "canvasName": "repos/delete-release", + "summary": "repos/delete-release", + "description": "repos/delete-release", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "release_id": "$var.job.release_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "release_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1e971a6f-8fd9-4ecf-b648-b8cccdc7b52a", + "created": "2026-08-12T22:01:05.564Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 203, + "reference": "d293bd67-f368-486b-91aa-09b01fd19ba3", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Get Latest Release", + "description": "Get Latest Release", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-latest-release", + "canvasName": "repos/get-latest-release", + "summary": "repos/get-latest-release", + "description": "repos/get-latest-release", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5dc11e5a-ee99-4d23-9813-74fc13bb1194", + "created": "2026-08-12T21:53:34.358Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 204, + "reference": "3b0abeeb-3338-4bb5-bf69-d31344f32a49", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Get Release by Tag", + "description": "Get Release by Tag", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-release-by-tag", + "canvasName": "repos/get-release-by-tag", + "summary": "repos/get-release-by-tag", + "description": "repos/get-release-by-tag", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "tag": "$var.job.tag" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tag": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "tag" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tag": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "fa5168cf-ae24-44a4-9557-8721acc440fc", + "created": "2026-08-12T21:53:34.390Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 205, + "reference": "fc977b5c-316e-445d-98b6-2f326db0f18e", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Generate Release Notes", + "description": "Generate Release Notes", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/generate-release-notes", + "canvasName": "repos/generate-release-notes", + "summary": "repos/generate-release-notes", + "description": "repos/generate-release-notes", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "tag_name": { + "type": "string", + "description": "The tag name for the release. This can be an existing tag or a new one." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists." + }, + "previous_tag_name": { + "type": "string", + "description": "The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release." + }, + "configuration_file_path": { + "type": "string", + "description": "Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used." + } + }, + "required": [ + "tag_name" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "tag_name": { + "type": "string", + "description": "The tag name for the release. This can be an existing tag or a new one." + }, + "target_commitish": { + "type": "string", + "description": "Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists." + }, + "previous_tag_name": { + "type": "string", + "description": "The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release." + }, + "configuration_file_path": { + "type": "string", + "description": "Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used." + } + }, + "required": [ + "tag_name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "dd9fd891-e518-46e4-bf5a-e6f2e1bd2320", + "created": "2026-08-12T21:53:34.429Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 206, + "reference": "52d8261c-7c9c-48cb-b699-6014f9fe053d", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "List Release Assets", + "description": "List Release Assets", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-release-assets", + "canvasName": "repos/list-release-assets", + "summary": "repos/list-release-assets", + "description": "repos/list-release-assets", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "release_id": "$var.job.release_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "release_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e0655a75-5ccf-4005-902b-911acd281adc", + "created": "2026-08-12T21:53:34.461Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 207, + "reference": "703cbdef-fcaa-4f3f-ad07-24d24709e9c1", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Get Release Asset", + "description": "Get Release Asset", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-release-asset", + "canvasName": "repos/get-release-asset", + "summary": "repos/get-release-asset", + "description": "repos/get-release-asset", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "asset_id": "$var.job.asset_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "asset_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "asset_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "asset_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "03ffe86e-655a-4a5b-9274-2acf823c69db", + "created": "2026-08-12T21:53:34.491Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 208, + "reference": "29d9ebd3-cd79-48c7-bb80-00cb70caa3d1", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Update Release Asset", + "description": "Update Release Asset", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-release-asset", + "canvasName": "repos/update-release-asset", + "summary": "repos/update-release-asset", + "description": "repos/update-release-asset", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "asset_id": "$var.job.asset_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "asset_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The file name of the asset." + }, + "label": { + "type": "string", + "description": "An alternate short description of the asset. Used in place of the filename." + }, + "state": { + "type": "string", + "examples": [ + "\"uploaded\"" + ] + } + } + } + }, + "required": [ + "owner", + "repo", + "asset_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "asset_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The file name of the asset." + }, + "label": { + "type": "string", + "description": "An alternate short description of the asset. Used in place of the filename." + }, + "state": { + "type": "string", + "examples": [ + "\"uploaded\"" + ] + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1aeb7dda-be99-4abf-9dda-5cde07c01755", + "created": "2026-08-12T21:53:34.525Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 209, + "reference": "3bce62c6-bf52-4702-8891-66802da90fbc", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Delete Release Asset", + "description": "Delete Release Asset", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-release-asset", + "canvasName": "repos/delete-release-asset", + "summary": "repos/delete-release-asset", + "description": "repos/delete-release-asset", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "asset_id": "$var.job.asset_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "asset_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "asset_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "asset_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "411b0dcf-1cb3-4201-b077-9c31f87a7695", + "created": "2026-08-12T21:53:34.567Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 210, + "reference": "4c3c4271-f2f2-40fb-bcca-5cb05b5ad781", + "type": "workflow", + "folder": "/Releases", + "document": { + "name": "Upload Release Asset", + "description": "Upload Release Asset", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/upload-release-asset", + "canvasName": "repos/upload-release-asset", + "summary": "repos/upload-release-asset", + "description": "repos/upload-release-asset", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "release_id": "$var.job.release_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "spec": { + "type": "string", + "format": "binary", + "description": "The raw file data" + } + }, + "required": [ + "owner", + "repo", + "release_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "release_id": { + "type": "integer" + }, + "spec": { + "type": "string", + "format": "binary", + "description": "The raw file data" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "39dba1f9-98de-4f43-8fbc-02aaee86dded", + "created": "2026-08-12T21:53:34.597Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 211, + "reference": "765f20ce-2c92-4dd9-8456-fe8b629615fa", + "type": "workflow", + "folder": "/Deployments", + "document": { + "name": "List GitHub Deployments", + "description": "List GitHub Deployments", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-deployments", + "canvasName": "repos/list-deployments", + "summary": "repos/list-deployments", + "description": "repos/list-deployments", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "9e888709-e3e2-411e-9f93-540e2400d163", + "created": "2026-08-12T22:01:05.604Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 212, + "reference": "e8a15449-e745-4db4-bd44-408fba80d603", + "type": "workflow", + "folder": "/Deployments", + "document": { + "name": "Create GitHub Deployment", + "description": "Create GitHub Deployment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-deployment", + "canvasName": "repos/create-deployment", + "summary": "repos/create-deployment", + "description": "repos/create-deployment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The ref to deploy. This can be a branch, tag, or SHA." + }, + "task": { + "type": "string", + "description": "Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).", + "default": "deploy" + }, + "auto_merge": { + "type": "boolean", + "description": "Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.", + "default": true + }, + "required_contexts": { + "type": "array", + "description": "The [status](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", + "items": { + "type": "string" + } + }, + "payload": { + "oneOf": [ + { + "type": "object", + "additionalProperties": true + }, + { + "type": "string", + "description": "JSON payload with extra information about the deployment.", + "default": "" + } + ] + }, + "environment": { + "type": "string", + "description": "Name for the target deployment environment (e.g., `production`, `staging`, `qa`).", + "default": "production" + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the deployment.", + "default": "" + }, + "transient_environment": { + "type": "boolean", + "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`", + "default": false + }, + "production_environment": { + "type": "boolean", + "description": "Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise." + } + }, + "required": [ + "ref" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The ref to deploy. This can be a branch, tag, or SHA." + }, + "task": { + "type": "string", + "description": "Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).", + "default": "deploy" + }, + "auto_merge": { + "type": "boolean", + "description": "Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.", + "default": true + }, + "required_contexts": { + "type": "array", + "description": "The [status](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", + "items": { + "type": "string" + } + }, + "payload": { + "oneOf": [ + { + "type": "object", + "additionalProperties": true + }, + { + "type": "string", + "description": "JSON payload with extra information about the deployment.", + "default": "" + } + ] + }, + "environment": { + "type": "string", + "description": "Name for the target deployment environment (e.g., `production`, `staging`, `qa`).", + "default": "production" + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the deployment.", + "default": "" + }, + "transient_environment": { + "type": "boolean", + "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`", + "default": false + }, + "production_environment": { + "type": "boolean", + "description": "Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise." + } + }, + "required": [ + "ref" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "55de3c3e-f5b7-4441-b2e9-412b3c20711c", + "created": "2026-08-12T22:01:05.641Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 213, + "reference": "d7a0e2ad-4a69-4f27-ae43-4b96420e07d3", + "type": "workflow", + "folder": "/Deployments", + "document": { + "name": "Get GitHub Deployment", + "description": "Get GitHub Deployment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-deployment", + "canvasName": "repos/get-deployment", + "summary": "repos/get-deployment", + "description": "repos/get-deployment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "deployment_id": "$var.job.deployment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "deployment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "27e503cc-806c-4657-8015-e15b5308752b", + "created": "2026-08-12T22:01:05.676Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 214, + "reference": "0679f949-934c-459d-9822-a2195740a08d", + "type": "workflow", + "folder": "/Deployments", + "document": { + "name": "Delete GitHub Deployment", + "description": "Delete GitHub Deployment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-deployment", + "canvasName": "repos/delete-deployment", + "summary": "repos/delete-deployment", + "description": "repos/delete-deployment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "deployment_id": "$var.job.deployment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "deployment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "183e09b3-f18e-4d24-b89d-cc47f4443e9c", + "created": "2026-08-12T22:01:05.720Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 215, + "reference": "de6c955e-a987-4f3c-9b76-a904ec0ac403", + "type": "workflow", + "folder": "/Deployments", + "document": { + "name": "List Deployment Status", + "description": "List Deployment Status", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-deployment-statuses", + "canvasName": "repos/list-deployment-statuses", + "summary": "repos/list-deployment-statuses", + "description": "repos/list-deployment-statuses", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "deployment_id": "$var.job.deployment_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "deployment_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "51326bb0-afa6-40af-9b89-da0aa5abfc06", + "created": "2026-08-12T21:53:34.682Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 216, + "reference": "fcf8ca9f-0aad-435f-ad6d-b2913d4255bd", + "type": "workflow", + "folder": "/Deployments", + "document": { + "name": "Create Deployment Status", + "description": "Create Deployment Status", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-deployment-status", + "canvasName": "repos/create-deployment-status", + "summary": "repos/create-deployment-status", + "description": "repos/create-deployment-status", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "deployment_id": "$var.job.deployment_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "state": { + "type": "string", + "description": "The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub.", + "enum": [ + "error", + "failure", + "inactive", + "in_progress", + "queued", + "pending", + "success" + ] + }, + "target_url": { + "type": "string", + "description": "The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`.", + "default": "" + }, + "log_url": { + "type": "string", + "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"`", + "default": "" + }, + "description": { + "type": "string", + "description": "A short description of the status. The maximum description length is 140 characters.", + "default": "" + }, + "environment": { + "type": "string", + "description": "Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used." + }, + "environment_url": { + "type": "string", + "description": "Sets the URL for accessing your environment. Default: `\"\"`", + "default": "" + }, + "auto_inactive": { + "type": "boolean", + "description": "Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true`" + } + }, + "required": [ + "state" + ] + } + }, + "required": [ + "owner", + "repo", + "deployment_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "state": { + "type": "string", + "description": "The state of the status. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub.", + "enum": [ + "error", + "failure", + "inactive", + "in_progress", + "queued", + "pending", + "success" + ] + }, + "target_url": { + "type": "string", + "description": "The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`.", + "default": "" + }, + "log_url": { + "type": "string", + "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"`", + "default": "" + }, + "description": { + "type": "string", + "description": "A short description of the status. The maximum description length is 140 characters.", + "default": "" + }, + "environment": { + "type": "string", + "description": "Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used." + }, + "environment_url": { + "type": "string", + "description": "Sets the URL for accessing your environment. Default: `\"\"`", + "default": "" + }, + "auto_inactive": { + "type": "boolean", + "description": "Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true`" + } + }, + "required": [ + "state" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "7ee57f31-f9d4-401f-bef6-7cb3be2b2b88", + "created": "2026-08-12T21:53:34.715Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 217, + "reference": "ef2fa403-dfbc-4ae3-93b7-e78d57a42dbe", + "type": "workflow", + "folder": "/Deployments", + "document": { + "name": "Get Deployment Status", + "description": "Get Deployment Status", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-deployment-status", + "canvasName": "repos/get-deployment-status", + "summary": "repos/get-deployment-status", + "description": "repos/get-deployment-status", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "deployment_id": "$var.job.deployment_id", + "status_id": "$var.job.status_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + }, + "status_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "deployment_id", + "status_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "deployment_id": { + "type": "integer" + }, + "status_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a286f366-6216-46f9-8823-53184a671cbd", + "created": "2026-08-12T21:53:34.746Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 218, + "reference": "6a11bcb1-3ffe-48e8-ac53-be81c53f858a", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "List GitHub Environments", + "description": "List GitHub Environments", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-all-environments", + "canvasName": "repos/get-all-environments", + "summary": "repos/get-all-environments", + "description": "repos/get-all-environments", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "3414578b-af5d-4d98-926c-7363d9a9742a", + "created": "2026-08-12T22:01:05.760Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 219, + "reference": "db4bb0b6-d586-469a-acf7-a5de50df8a82", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Get GitHub Environment", + "description": "Get GitHub Environment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-environment", + "canvasName": "repos/get-environment", + "summary": "repos/get-environment", + "description": "repos/get-environment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "76b9ed69-2386-4f72-9433-3e41b6344861", + "created": "2026-08-12T22:01:05.801Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 220, + "reference": "45a3d8f9-eb63-4ba3-bde4-a7c557061038", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Create GitHub Environment", + "description": "Create GitHub Environment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-or-update-environment", + "canvasName": "repos/create-or-update-environment", + "summary": "repos/create-or-update-environment", + "description": "repos/create-or-update-environment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "wait_timer": { + "type": "integer", + "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).", + "examples": [ + 30 + ] + }, + "prevent_self_review": { + "type": "boolean", + "description": "Whether or not a user who created the job is prevented from approving their own job.", + "examples": [ + false + ] + }, + "reviewers": { + "type": [ + "array", + "null" + ], + "description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of reviewer.", + "enum": [ + "User", + "Team" + ], + "examples": [ + "User" + ] + }, + "id": { + "type": "integer", + "description": "The id of the user or team who can review the deployment", + "examples": [ + 4532992 + ] + } + } + } + }, + "deployment_branch_policy": { + "type": [ + "object", + "null" + ], + "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.", + "properties": { + "protected_branches": { + "type": "boolean", + "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`." + }, + "custom_branch_policies": { + "type": "boolean", + "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`." + } + }, + "required": [ + "protected_branches", + "custom_branch_policies" + ] + } + }, + "additionalProperties": false + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "wait_timer": { + "type": "integer", + "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).", + "examples": [ + 30 + ] + }, + "prevent_self_review": { + "type": "boolean", + "description": "Whether or not a user who created the job is prevented from approving their own job.", + "examples": [ + false + ] + }, + "reviewers": { + "type": [ + "array", + "null" + ], + "description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of reviewer.", + "enum": [ + "User", + "Team" + ], + "examples": [ + "User" + ] + }, + "id": { + "type": "integer", + "description": "The id of the user or team who can review the deployment", + "examples": [ + 4532992 + ] + } + } + } + }, + "deployment_branch_policy": { + "type": [ + "object", + "null" + ], + "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.", + "properties": { + "protected_branches": { + "type": "boolean", + "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`." + }, + "custom_branch_policies": { + "type": "boolean", + "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`." + } + }, + "required": [ + "protected_branches", + "custom_branch_policies" + ] + } + }, + "additionalProperties": false + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "dc35853e-4a88-4923-849a-8398bf05387d", + "created": "2026-08-12T22:01:05.850Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 221, + "reference": "4f05a6fc-0c6b-44ba-92dc-b6fb1dc0e067", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Update GitHub Environment", + "description": "Update GitHub Environment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-or-update-environment", + "canvasName": "repos/create-or-update-environment", + "summary": "repos/create-or-update-environment", + "description": "repos/create-or-update-environment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "wait_timer": { + "type": "integer", + "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).", + "examples": [ + 30 + ] + }, + "prevent_self_review": { + "type": "boolean", + "description": "Whether or not a user who created the job is prevented from approving their own job.", + "examples": [ + false + ] + }, + "reviewers": { + "type": [ + "array", + "null" + ], + "description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of reviewer.", + "enum": [ + "User", + "Team" + ], + "examples": [ + "User" + ] + }, + "id": { + "type": "integer", + "description": "The id of the user or team who can review the deployment", + "examples": [ + 4532992 + ] + } + } + } + }, + "deployment_branch_policy": { + "type": [ + "object", + "null" + ], + "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.", + "properties": { + "protected_branches": { + "type": "boolean", + "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`." + }, + "custom_branch_policies": { + "type": "boolean", + "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`." + } + }, + "required": [ + "protected_branches", + "custom_branch_policies" + ] + } + }, + "additionalProperties": false + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "wait_timer": { + "type": "integer", + "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).", + "examples": [ + 30 + ] + }, + "prevent_self_review": { + "type": "boolean", + "description": "Whether or not a user who created the job is prevented from approving their own job.", + "examples": [ + false + ] + }, + "reviewers": { + "type": [ + "array", + "null" + ], + "description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of reviewer.", + "enum": [ + "User", + "Team" + ], + "examples": [ + "User" + ] + }, + "id": { + "type": "integer", + "description": "The id of the user or team who can review the deployment", + "examples": [ + 4532992 + ] + } + } + } + }, + "deployment_branch_policy": { + "type": [ + "object", + "null" + ], + "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.", + "properties": { + "protected_branches": { + "type": "boolean", + "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`." + }, + "custom_branch_policies": { + "type": "boolean", + "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`." + } + }, + "required": [ + "protected_branches", + "custom_branch_policies" + ] + } + }, + "additionalProperties": false + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e705042f-17d7-4a60-a10c-08696e96a48d", + "created": "2026-08-12T22:01:05.914Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 222, + "reference": "a799f034-5b34-4296-b7f8-60bf8ba5d9b4", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Delete GitHub Environment", + "description": "Delete GitHub Environment", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-an-environment", + "canvasName": "repos/delete-an-environment", + "summary": "repos/delete-an-environment", + "description": "repos/delete-an-environment", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "37cc51b0-c311-4e35-90f3-faf9eabdab13", + "created": "2026-08-12T22:01:05.953Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 223, + "reference": "e001d7bb-d6d4-4e1e-a7c2-9dadca88f1ea", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "List Deployment Branch Policies", + "description": "List Deployment Branch Policies", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-deployment-branch-policies", + "canvasName": "repos/list-deployment-branch-policies", + "summary": "repos/list-deployment-branch-policies", + "description": "repos/list-deployment-branch-policies", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + } + }, + "required": [ + "owner", + "repo", + "environment_name" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "ddf9bf9d-9c13-4854-856a-4719cafd537e", + "created": "2026-08-12T21:53:34.862Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 224, + "reference": "7d97cef3-fd88-4587-81db-ce983e2917e7", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Create Deployment Branch Policy", + "description": "Create Deployment Branch Policy", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-deployment-branch-policy", + "canvasName": "repos/create-deployment-branch-policy", + "summary": "repos/create-deployment-branch-policy", + "description": "repos/create-deployment-branch-policy", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "title": "Deployment branch and tag policy name pattern", + "type": "object", + "properties": { + "name": { + "description": "The name pattern that branches or tags must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).", + "type": "string", + "examples": [ + "release/*" + ] + }, + "type": { + "description": "Whether this rule targets a branch or tag", + "type": "string", + "enum": [ + "branch", + "tag" + ], + "examples": [ + "branch" + ] + } + }, + "required": [ + "name" + ] + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "spec": { + "title": "Deployment branch and tag policy name pattern", + "type": "object", + "properties": { + "name": { + "description": "The name pattern that branches or tags must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).", + "type": "string", + "examples": [ + "release/*" + ] + }, + "type": { + "description": "Whether this rule targets a branch or tag", + "type": "string", + "enum": [ + "branch", + "tag" + ], + "examples": [ + "branch" + ] + } + }, + "required": [ + "name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e2b3bd76-01e4-4e73-a3db-612dcda8c405", + "created": "2026-08-12T21:53:34.891Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 225, + "reference": "a296a85a-232c-43d7-b699-2703686a59df", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Get Deployment Branch Policy", + "description": "Get Deployment Branch Policy", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-deployment-branch-policy", + "canvasName": "repos/get-deployment-branch-policy", + "summary": "repos/get-deployment-branch-policy", + "description": "repos/get-deployment-branch-policy", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "branch_policy_id": "$var.job.branch_policy_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "branch_policy_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "branch_policy_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "branch_policy_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5707888b-cac2-4a78-a7e0-0e1628795f94", + "created": "2026-08-12T21:53:34.927Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 226, + "reference": "2a045460-8968-485a-9b9d-b74c2a83b2f2", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Update Deployment Branch Policy", + "description": "Update Deployment Branch Policy", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-deployment-branch-policy", + "canvasName": "repos/update-deployment-branch-policy", + "summary": "repos/update-deployment-branch-policy", + "description": "repos/update-deployment-branch-policy", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "branch_policy_id": "$var.job.branch_policy_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "branch_policy_id": { + "type": "integer" + }, + "spec": { + "title": "Deployment branch policy name pattern", + "type": "object", + "properties": { + "name": { + "description": "The name pattern that branches must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).", + "type": "string", + "examples": [ + "release/*" + ] + } + }, + "required": [ + "name" + ] + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "branch_policy_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "branch_policy_id": { + "type": "integer" + }, + "spec": { + "title": "Deployment branch policy name pattern", + "type": "object", + "properties": { + "name": { + "description": "The name pattern that branches must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).", + "type": "string", + "examples": [ + "release/*" + ] + } + }, + "required": [ + "name" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "e7762ee2-f5fd-4201-a408-f0b31f6eff0d", + "created": "2026-08-12T21:53:34.955Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 227, + "reference": "fd845769-613f-4075-85ac-9242c9e75802", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Delete Deployment Branch Policy", + "description": "Delete Deployment Branch Policy", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-deployment-branch-policy", + "canvasName": "repos/delete-deployment-branch-policy", + "summary": "repos/delete-deployment-branch-policy", + "description": "repos/delete-deployment-branch-policy", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "branch_policy_id": "$var.job.branch_policy_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "branch_policy_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "branch_policy_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "branch_policy_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5cc602a8-0eb0-40c4-a957-afc374a28461", + "created": "2026-08-12T21:53:34.982Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 228, + "reference": "be48b9fa-396d-40a1-a78c-008067eb409b", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "List Deployment Protection Rules", + "description": "List Deployment Protection Rules", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-all-deployment-protection-rules", + "canvasName": "repos/get-all-deployment-protection-rules", + "summary": "repos/get-all-deployment-protection-rules", + "description": "repos/get-all-deployment-protection-rules", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "environment_name": "$var.job.environment_name", + "repo": "$var.job.repo", + "owner": "$var.job.owner" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + } + }, + "required": [ + "environment_name", + "repo", + "owner" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "152cf882-1170-425f-92e4-802cda0d4b13", + "created": "2026-08-12T21:53:35.013Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 229, + "reference": "464963de-29bb-467c-a317-9da3689c779e", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Create Deployment Protection Rule", + "description": "Create Deployment Protection Rule", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-deployment-protection-rule", + "canvasName": "repos/create-deployment-protection-rule", + "summary": "repos/create-deployment-protection-rule", + "description": "repos/create-deployment-protection-rule", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "environment_name": "$var.job.environment_name", + "repo": "$var.job.repo", + "owner": "$var.job.owner", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "integration_id": { + "type": "integer", + "description": "The ID of the custom app that will be enabled on the environment." + } + } + } + }, + "required": [ + "environment_name", + "repo", + "owner", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "integration_id": { + "type": "integer", + "description": "The ID of the custom app that will be enabled on the environment." + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "65437aba-29b7-4ae0-9da9-46209c2e5eaa", + "created": "2026-08-12T21:53:35.047Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 230, + "reference": "1e3b0a27-4e5d-4d24-bc0d-16decff8f5e3", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Get Deployment Protection Rule", + "description": "Get Deployment Protection Rule", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-custom-deployment-protection-rule", + "canvasName": "repos/get-custom-deployment-protection-rule", + "summary": "repos/get-custom-deployment-protection-rule", + "description": "repos/get-custom-deployment-protection-rule", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "environment_name": "$var.job.environment_name", + "protection_rule_id": "$var.job.protection_rule_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "protection_rule_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "environment_name", + "protection_rule_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "environment_name": { + "type": "string" + }, + "protection_rule_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "0f00e9e9-930f-45f6-8b70-6436ba9a9bf6", + "created": "2026-08-12T21:53:35.081Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 231, + "reference": "b7095af9-33dd-4642-99c9-b267ab42eca9", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "Delete Deployment Protection Rule", + "description": "Delete Deployment Protection Rule", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/disable-deployment-protection-rule", + "canvasName": "repos/disable-deployment-protection-rule", + "summary": "repos/disable-deployment-protection-rule", + "description": "repos/disable-deployment-protection-rule", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "environment_name": "$var.job.environment_name", + "repo": "$var.job.repo", + "owner": "$var.job.owner", + "protection_rule_id": "$var.job.protection_rule_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "protection_rule_id": { + "type": "integer" + } + }, + "required": [ + "environment_name", + "repo", + "owner", + "protection_rule_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "protection_rule_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "7ca5c9ee-fec2-4edb-965a-74f83aea12f0", + "created": "2026-08-12T21:53:35.110Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 232, + "reference": "1a1f1e70-45a6-42e5-a780-64ecb4ac7d83", + "type": "workflow", + "folder": "/Environments", + "document": { + "name": "List Custom Deployment Rule Integrations", + "description": "List Custom Deployment Rule Integrations", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-custom-deployment-rule-integrations", + "canvasName": "repos/list-custom-deployment-rule-integrations", + "summary": "repos/list-custom-deployment-rule-integrations", + "description": "repos/list-custom-deployment-rule-integrations", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "environment_name": "$var.job.environment_name", + "repo": "$var.job.repo", + "owner": "$var.job.owner" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + } + }, + "required": [ + "environment_name", + "repo", + "owner" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "environment_name": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1c0d0ab3-54be-4d6e-a476-ab30e281b372", + "created": "2026-08-12T21:53:35.142Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 233, + "reference": "b35b8af2-2110-4041-bb19-9d8f482d5adf", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "List Webhooks", + "description": "List Webhooks", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-webhooks", + "canvasName": "repos/list-webhooks", + "summary": "repos/list-webhooks", + "description": "repos/list-webhooks", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "92d39618-16ad-4d0c-a2b5-73d3f99ce0ac", + "created": "2026-08-12T21:53:35.178Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 234, + "reference": "f31695b0-7ac1-4102-923a-de49d7b90a31", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Create Webhook", + "description": "Create Webhook", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-webhook", + "canvasName": "repos/create-webhook", + "summary": "repos/create-webhook", + "description": "repos/create-webhook", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "name": { + "type": "string", + "description": "Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`." + }, + "config": { + "type": "object", + "description": "Key/value pairs to provide settings for this webhook.", + "properties": { + "url": { + "type": "string", + "description": "The URL to which the payloads will be delivered.", + "format": "uri", + "examples": [ + "https://example.com/webhook" + ] + }, + "content_type": { + "type": "string", + "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", + "examples": [ + "\"json\"" + ] + }, + "secret": { + "type": "string", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", + "examples": [ + "\"********\"" + ] + }, + "insecure_ssl": { + "oneOf": [ + { + "type": "string", + "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", + "examples": [ + "\"0\"" + ] + }, + { + "type": "number" + } + ] + } + } + }, + "events": { + "type": "array", + "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for.", + "default": [ + "push" + ], + "items": { + "type": "string" + } + }, + "active": { + "type": "boolean", + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "default": true + } + }, + "additionalProperties": false + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": [ + "object", + "null" + ], + "properties": { + "name": { + "type": "string", + "description": "Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`." + }, + "config": { + "type": "object", + "description": "Key/value pairs to provide settings for this webhook.", + "properties": { + "url": { + "type": "string", + "description": "The URL to which the payloads will be delivered.", + "format": "uri", + "examples": [ + "https://example.com/webhook" + ] + }, + "content_type": { + "type": "string", + "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", + "examples": [ + "\"json\"" + ] + }, + "secret": { + "type": "string", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", + "examples": [ + "\"********\"" + ] + }, + "insecure_ssl": { + "oneOf": [ + { + "type": "string", + "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", + "examples": [ + "\"0\"" + ] + }, + { + "type": "number" + } + ] + } + } + }, + "events": { + "type": "array", + "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for.", + "default": [ + "push" + ], + "items": { + "type": "string" + } + }, + "active": { + "type": "boolean", + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "default": true + } + }, + "additionalProperties": false + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "bd91676c-04db-4148-a104-4d0bb41f8dab", + "created": "2026-08-12T21:53:35.209Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 235, + "reference": "5a381134-e2b7-4625-b506-9a6157a9cf63", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Get Webhook", + "description": "Get Webhook", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-webhook", + "canvasName": "repos/get-webhook", + "summary": "repos/get-webhook", + "description": "repos/get-webhook", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "eab51606-3265-45b2-b690-45d7c33ab63d", + "created": "2026-08-12T21:53:35.242Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 236, + "reference": "3c7a02a7-d740-4457-833c-37b5437ed649", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Update Webhook", + "description": "Update Webhook", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-webhook", + "canvasName": "repos/update-webhook", + "summary": "repos/update-webhook", + "description": "repos/update-webhook", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "config": { + "title": "Webhook Configuration", + "description": "Configuration object of the webhook", + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "The URL to which the payloads will be delivered.", + "format": "uri", + "examples": [ + "https://example.com/webhook" + ] + }, + "content_type": { + "type": "string", + "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", + "examples": [ + "\"json\"" + ] + }, + "secret": { + "type": "string", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", + "examples": [ + "\"********\"" + ] + }, + "insecure_ssl": { + "oneOf": [ + { + "type": "string", + "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", + "examples": [ + "\"0\"" + ] + }, + { + "type": "number" + } + ] + } + } + }, + "events": { + "type": "array", + "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", + "default": [ + "push" + ], + "items": { + "type": "string" + } + }, + "add_events": { + "type": "array", + "description": "Determines a list of events to be added to the list of events that the Hook triggers for.", + "items": { + "type": "string" + } + }, + "remove_events": { + "type": "array", + "description": "Determines a list of events to be removed from the list of events that the Hook triggers for.", + "items": { + "type": "string" + } + }, + "active": { + "type": "boolean", + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "default": true + } + } + } + }, + "required": [ + "owner", + "repo", + "hook_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "properties": { + "config": { + "title": "Webhook Configuration", + "description": "Configuration object of the webhook", + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "The URL to which the payloads will be delivered.", + "format": "uri", + "examples": [ + "https://example.com/webhook" + ] + }, + "content_type": { + "type": "string", + "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", + "examples": [ + "\"json\"" + ] + }, + "secret": { + "type": "string", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", + "examples": [ + "\"********\"" + ] + }, + "insecure_ssl": { + "oneOf": [ + { + "type": "string", + "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", + "examples": [ + "\"0\"" + ] + }, + { + "type": "number" + } + ] + } + } + }, + "events": { + "type": "array", + "description": "Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", + "default": [ + "push" + ], + "items": { + "type": "string" + } + }, + "add_events": { + "type": "array", + "description": "Determines a list of events to be added to the list of events that the Hook triggers for.", + "items": { + "type": "string" + } + }, + "remove_events": { + "type": "array", + "description": "Determines a list of events to be removed from the list of events that the Hook triggers for.", + "items": { + "type": "string" + } + }, + "active": { + "type": "boolean", + "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", + "default": true + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "1bc2243a-d925-44b3-85ef-2aa8e8bc40f5", + "created": "2026-08-12T21:53:35.271Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 237, + "reference": "75beb7da-94c6-43b9-8b27-3249fb8280d7", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Delete Webhook", + "description": "Delete Webhook", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-webhook", + "canvasName": "repos/delete-webhook", + "summary": "repos/delete-webhook", + "description": "repos/delete-webhook", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "30a545e2-1042-47b2-946c-25d2aa90cbf0", + "created": "2026-08-12T21:53:35.310Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 238, + "reference": "a168964d-bcf7-4d0d-b847-347c0ede2a22", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Ping Webhook", + "description": "Ping Webhook", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/ping-webhook", + "canvasName": "repos/ping-webhook", + "summary": "repos/ping-webhook", + "description": "repos/ping-webhook", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "8cbd941f-8b08-4574-964b-6a84ff9d882a", + "created": "2026-08-12T21:53:35.339Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 239, + "reference": "57154007-1edb-43c2-992d-925bdb131bba", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Test Push Webhook", + "description": "Test Push Webhook", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/test-push-webhook", + "canvasName": "repos/test-push-webhook", + "summary": "repos/test-push-webhook", + "description": "repos/test-push-webhook", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "f26223ab-a232-4691-ae14-3ecd4d83b8eb", + "created": "2026-08-12T21:53:35.367Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 240, + "reference": "5c6137e8-b748-45d3-b2b3-b714a5e75240", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Get Webhook Config", + "description": "Get Webhook Config", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-webhook-config-for-repo", + "canvasName": "repos/get-webhook-config-for-repo", + "summary": "repos/get-webhook-config-for-repo", + "description": "repos/get-webhook-config-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "6a4ebf28-f1ca-4b4a-b6c9-2a9c9d03ede3", + "created": "2026-08-12T21:53:35.399Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 241, + "reference": "ec2417ab-a8cf-4f82-a061-a6edd6bd8796", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Update Webhook Config", + "description": "Update Webhook Config", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/update-webhook-config-for-repo", + "canvasName": "repos/update-webhook-config-for-repo", + "summary": "repos/update-webhook-config-for-repo", + "description": "repos/update-webhook-config-for-repo", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "additionalProperties": false, + "properties": { + "url": { + "type": "string", + "description": "The URL to which the payloads will be delivered.", + "format": "uri", + "examples": [ + "https://example.com/webhook" + ] + }, + "content_type": { + "type": "string", + "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", + "examples": [ + "\"json\"" + ] + }, + "secret": { + "type": "string", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", + "examples": [ + "\"********\"" + ] + }, + "insecure_ssl": { + "oneOf": [ + { + "type": "string", + "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", + "examples": [ + "\"0\"" + ] + }, + { + "type": "number" + } + ] + } + } + } + }, + "required": [ + "owner", + "repo", + "hook_id", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "spec": { + "type": "object", + "additionalProperties": false, + "properties": { + "url": { + "type": "string", + "description": "The URL to which the payloads will be delivered.", + "format": "uri", + "examples": [ + "https://example.com/webhook" + ] + }, + "content_type": { + "type": "string", + "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", + "examples": [ + "\"json\"" + ] + }, + "secret": { + "type": "string", + "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", + "examples": [ + "\"********\"" + ] + }, + "insecure_ssl": { + "oneOf": [ + { + "type": "string", + "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", + "examples": [ + "\"0\"" + ] + }, + { + "type": "number" + } + ] + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "c129e599-9bb5-41ad-aa99-42a5438cb839", + "created": "2026-08-12T21:53:35.433Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 242, + "reference": "ac05f6a4-ad9d-4112-97a5-51c555ff3ad8", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "List Webhook Deliveries", + "description": "List Webhook Deliveries", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-webhook-deliveries", + "canvasName": "repos/list-webhook-deliveries", + "summary": "repos/list-webhook-deliveries", + "description": "repos/list-webhook-deliveries", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "0efcda66-999a-4a45-8338-b7c9fd1bf84c", + "created": "2026-08-12T21:53:35.461Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 243, + "reference": "66be2cad-87d6-4267-a81e-32f0bc6f8715", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Get Webhook Delivery", + "description": "Get Webhook Delivery", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/get-webhook-delivery", + "canvasName": "repos/get-webhook-delivery", + "summary": "repos/get-webhook-delivery", + "description": "repos/get-webhook-delivery", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id", + "delivery_id": "$var.job.delivery_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "delivery_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id", + "delivery_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "delivery_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "3cb786cf-f614-4716-a1a8-c6e17fe936e4", + "created": "2026-08-12T21:53:35.489Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 244, + "reference": "65b74136-78d8-4c63-ac9c-6bb93b9c4bc6", + "type": "workflow", + "folder": "/Webhooks", + "document": { + "name": "Redeliver Webhook Delivery", + "description": "Redeliver Webhook Delivery", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/redeliver-webhook-delivery", + "canvasName": "repos/redeliver-webhook-delivery", + "summary": "repos/redeliver-webhook-delivery", + "description": "repos/redeliver-webhook-delivery", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "hook_id": "$var.job.hook_id", + "delivery_id": "$var.job.delivery_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "delivery_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "hook_id", + "delivery_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "hook_id": { + "type": "integer" + }, + "delivery_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "a9dc3256-004f-4d36-aa6c-f8d0e5dd0112", + "created": "2026-08-12T21:53:35.520Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 245, + "reference": "853d03d6-e711-499a-b123-32c82a7dd906", + "type": "workflow", + "folder": "/Tags", + "document": { + "name": "List GitHub Tags", + "description": "List GitHub Tags", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-tags", + "canvasName": "repos/list-tags", + "summary": "repos/list-tags", + "description": "repos/list-tags", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "50523629-54ec-440d-94b9-dd53194a0f64", + "created": "2026-08-12T22:01:06.010Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 246, + "reference": "c6ae47e6-9b50-49a2-870d-8125b1501aed", + "type": "workflow", + "folder": "/Tags", + "document": { + "name": "List Tag Protections", + "description": "List Tag Protections", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/list-tag-protection", + "canvasName": "repos/list-tag-protection", + "summary": "repos/list-tag-protection", + "description": "repos/list-tag-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + } + }, + "required": [ + "owner", + "repo" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "3ac542b6-eb12-4343-a2b1-34ea6f68d78e", + "created": "2026-08-12T21:53:35.565Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 247, + "reference": "2423b48f-a4ca-4013-8351-4c66ce4c8499", + "type": "workflow", + "folder": "/Tags", + "document": { + "name": "Create Tag Protection", + "description": "Create Tag Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/create-tag-protection", + "canvasName": "repos/create-tag-protection", + "summary": "repos/create-tag-protection", + "description": "repos/create-tag-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "pattern": { + "type": "string", + "description": "An optional glob pattern to match against when enforcing tag protection." + } + }, + "required": [ + "pattern" + ] + } + }, + "required": [ + "owner", + "repo", + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "spec": { + "type": "object", + "properties": { + "pattern": { + "type": "string", + "description": "An optional glob pattern to match against when enforcing tag protection." + } + }, + "required": [ + "pattern" + ] + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "55020f24-af30-4d98-9a02-e3983a1bd770", + "created": "2026-08-12T21:53:35.594Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 248, + "reference": "970dec66-682a-4a9d-a458-1ac1b4bfc435", + "type": "workflow", + "folder": "/Tags", + "document": { + "name": "Delete Tag Protection", + "description": "Delete Tag Protection", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "repos/delete-tag-protection", + "canvasName": "repos/delete-tag-protection", + "summary": "repos/delete-tag-protection", + "description": "repos/delete-tag-protection", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "owner": "$var.job.owner", + "repo": "$var.job.repo", + "tag_protection_id": "$var.job.tag_protection_id" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tag_protection_id": { + "type": "integer" + } + }, + "required": [ + "owner", + "repo", + "tag_protection_id" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "owner": { + "type": "string" + }, + "repo": { + "type": "string" + }, + "tag_protection_id": { + "type": "integer" + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "5e0973a7-3d99-42f0-be4f-c9b4016a15b3", + "created": "2026-08-12T21:53:35.619Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 249, + "reference": "807a3a3c-24ce-4147-ba6e-1fdf7ec3e2ed", + "type": "workflow", + "folder": "/Users", + "document": { + "name": "Get Authenticated User", + "description": "Get Authenticated User", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "users/get-authenticated", + "canvasName": "users/get-authenticated", + "summary": "users/get-authenticated", + "description": "users/get-authenticated", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": {} + }, + "outputSchema": { + "type": "object", + "properties": { + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "764e37bc-9be9-4c51-8304-00a888a10050", + "created": "2026-08-12T21:53:35.652Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + }, + { + "iid": 250, + "reference": "be84a5d2-829c-4b49-aa70-6dc154aa447e", + "type": "workflow", + "folder": "/Users", + "document": { + "name": "Update Authenticated User", + "description": "Update Authenticated User", + "type": "automation", + "font_size": 12, + "tasks": { + "workflow_start": { + "name": "workflow_start", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 0 + } + }, + "a1a1": { + "name": "users/update-authenticated", + "canvasName": "users/update-authenticated", + "summary": "users/update-authenticated", + "description": "users/update-authenticated", + "location": "Adapter", + "locationType": "GitHub REST API:latest", + "app": "GitHub REST API:latest", + "type": "automatic", + "displayName": "GitHub", + "variables": { + "incoming": { + "adapter_id": "GitHub", + "bodyContentType": "application/json", + "requestBodyPayload": "$var.job.spec" + }, + "outgoing": { + "response": null + }, + "error": "", + "decorators": [] + }, + "groups": [], + "actor": "Pronghorn", + "scheduled": false, + "nodeLocation": { + "x": 264, + "y": 150 + } + }, + "workflow_end": { + "name": "workflow_end", + "groups": [], + "nodeLocation": { + "x": 264, + "y": 300 + } + } + }, + "transitions": { + "workflow_start": { + "a1a1": { + "type": "standard", + "state": "success" + } + }, + "a1a1": { + "workflow_end": { + "type": "standard", + "state": "success" + } + }, + "workflow_end": {} + }, + "inputSchema": { + "type": "object", + "properties": { + "spec": { + "type": "object", + "properties": { + "name": { + "description": "The new name of the user.", + "type": "string", + "examples": [ + "Omar Jahandar" + ] + }, + "email": { + "description": "The publicly visible email address of the user.", + "type": "string", + "examples": [ + "omar@example.com" + ] + }, + "blog": { + "description": "The new blog URL of the user.", + "type": "string", + "examples": [ + "blog.example.com" + ] + }, + "twitter_username": { + "description": "The new Twitter username of the user.", + "type": [ + "string", + "null" + ], + "examples": [ + "therealomarj" + ] + }, + "company": { + "description": "The new company of the user.", + "type": "string", + "examples": [ + "Acme corporation" + ] + }, + "location": { + "description": "The new location of the user.", + "type": "string", + "examples": [ + "Berlin, Germany" + ] + }, + "hireable": { + "description": "The new hiring availability of the user.", + "type": "boolean" + }, + "bio": { + "description": "The new short biography of the user.", + "type": "string" + } + } + } + }, + "required": [ + "spec" + ] + }, + "outputSchema": { + "type": "object", + "properties": { + "spec": { + "type": "object", + "properties": { + "name": { + "description": "The new name of the user.", + "type": "string", + "examples": [ + "Omar Jahandar" + ] + }, + "email": { + "description": "The publicly visible email address of the user.", + "type": "string", + "examples": [ + "omar@example.com" + ] + }, + "blog": { + "description": "The new blog URL of the user.", + "type": "string", + "examples": [ + "blog.example.com" + ] + }, + "twitter_username": { + "description": "The new Twitter username of the user.", + "type": [ + "string", + "null" + ], + "examples": [ + "therealomarj" + ] + }, + "company": { + "description": "The new company of the user.", + "type": "string", + "examples": [ + "Acme corporation" + ] + }, + "location": { + "description": "The new location of the user.", + "type": "string", + "examples": [ + "Berlin, Germany" + ] + }, + "hireable": { + "description": "The new hiring availability of the user.", + "type": "boolean" + }, + "bio": { + "description": "The new short biography of the user.", + "type": "string" + } + } + }, + "_id": { + "type": "string", + "pattern": "^[0-9a-f]{24}$" + }, + "initiator": { + "type": "string" + } + } + }, + "last_updated": "2026-08-12T22:02:24.836Z", + "last_updated_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "lastUpdatedVersion": "4.69.69", + "uuid": "4a54adee-ca3e-4d33-b8ec-f00abcf4fe02", + "created": "2026-08-12T21:53:35.682Z", + "created_by": { + "provenance": "LDAP", + "username": "admin@itential", + "firstname": "admin@itential", + "inactive": false + }, + "createdVersion": "5.55.5", + "scenarios": [], + "canvasVersion": 3, + "tags": [], + "groups": [], + "migrationVersion": 8 + } + } + ], + "folders": [ + { + "nodeType": "folder", + "name": "Organizations", + "children": [ + { + "iid": 0, + "nodeType": "component" + }, + { + "iid": 1, + "nodeType": "component" + }, + { + "iid": 2, + "nodeType": "component" + }, + { + "iid": 3, + "nodeType": "component" + }, + { + "iid": 4, + "nodeType": "component" + }, + { + "iid": 5, + "nodeType": "component" + }, + { + "iid": 6, + "nodeType": "component" + }, + { + "iid": 7, + "nodeType": "component" + }, + { + "iid": 8, + "nodeType": "component" + }, + { + "iid": 9, + "nodeType": "component" + }, + { + "iid": 10, + "nodeType": "component" + }, + { + "iid": 11, + "nodeType": "component" + }, + { + "iid": 12, + "nodeType": "component" + }, + { + "iid": 13, + "nodeType": "component" + }, + { + "iid": 14, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Teams", + "children": [ + { + "iid": 15, + "nodeType": "component" + }, + { + "iid": 16, + "nodeType": "component" + }, + { + "iid": 17, + "nodeType": "component" + }, + { + "iid": 18, + "nodeType": "component" + }, + { + "iid": 19, + "nodeType": "component" + }, + { + "iid": 20, + "nodeType": "component" + }, + { + "iid": 21, + "nodeType": "component" + }, + { + "iid": 22, + "nodeType": "component" + }, + { + "iid": 23, + "nodeType": "component" + }, + { + "iid": 24, + "nodeType": "component" + }, + { + "iid": 25, + "nodeType": "component" + }, + { + "iid": 26, + "nodeType": "component" + }, + { + "iid": 27, + "nodeType": "component" + }, + { + "iid": 28, + "nodeType": "component" + }, + { + "iid": 29, + "nodeType": "component" + }, + { + "iid": 30, + "nodeType": "component" + }, + { + "iid": 31, + "nodeType": "component" + }, + { + "iid": 32, + "nodeType": "component" + }, + { + "iid": 33, + "nodeType": "component" + }, + { + "iid": 34, + "nodeType": "component" + }, + { + "iid": 35, + "nodeType": "component" + }, + { + "iid": 36, + "nodeType": "component" + }, + { + "iid": 37, + "nodeType": "component" + }, + { + "iid": 38, + "nodeType": "component" + }, + { + "iid": 39, + "nodeType": "component" + }, + { + "iid": 40, + "nodeType": "component" + }, + { + "iid": 41, + "nodeType": "component" + }, + { + "iid": 42, + "nodeType": "component" + }, + { + "iid": 43, + "nodeType": "component" + }, + { + "iid": 44, + "nodeType": "component" + }, + { + "iid": 45, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Repositories", + "children": [ + { + "iid": 46, + "nodeType": "component" + }, + { + "iid": 47, + "nodeType": "component" + }, + { + "iid": 48, + "nodeType": "component" + }, + { + "iid": 49, + "nodeType": "component" + }, + { + "iid": 50, + "nodeType": "component" + }, + { + "iid": 51, + "nodeType": "component" + }, + { + "iid": 52, + "nodeType": "component" + }, + { + "iid": 53, + "nodeType": "component" + }, + { + "iid": 54, + "nodeType": "component" + }, + { + "iid": 55, + "nodeType": "component" + }, + { + "iid": 56, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Branches", + "children": [ + { + "iid": 57, + "nodeType": "component" + }, + { + "iid": 58, + "nodeType": "component" + }, + { + "iid": 59, + "nodeType": "component" + }, + { + "iid": 60, + "nodeType": "component" + }, + { + "iid": 61, + "nodeType": "component" + }, + { + "iid": 62, + "nodeType": "component" + }, + { + "iid": 63, + "nodeType": "component" + }, + { + "iid": 64, + "nodeType": "component" + }, + { + "iid": 65, + "nodeType": "component" + }, + { + "iid": 66, + "nodeType": "component" + }, + { + "iid": 67, + "nodeType": "component" + }, + { + "iid": 68, + "nodeType": "component" + }, + { + "iid": 69, + "nodeType": "component" + }, + { + "iid": 70, + "nodeType": "component" + }, + { + "iid": 71, + "nodeType": "component" + }, + { + "iid": 72, + "nodeType": "component" + }, + { + "iid": 73, + "nodeType": "component" + }, + { + "iid": 74, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Commits", + "children": [ + { + "iid": 75, + "nodeType": "component" + }, + { + "iid": 76, + "nodeType": "component" + }, + { + "iid": 77, + "nodeType": "component" + }, + { + "iid": 78, + "nodeType": "component" + }, + { + "iid": 79, + "nodeType": "component" + }, + { + "iid": 80, + "nodeType": "component" + }, + { + "iid": 81, + "nodeType": "component" + }, + { + "iid": 82, + "nodeType": "component" + }, + { + "iid": 83, + "nodeType": "component" + }, + { + "iid": 84, + "nodeType": "component" + }, + { + "iid": 85, + "nodeType": "component" + }, + { + "iid": 86, + "nodeType": "component" + }, + { + "iid": 87, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Checks", + "children": [ + { + "iid": 88, + "nodeType": "component" + }, + { + "iid": 89, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Repository Contents", + "children": [ + { + "iid": 90, + "nodeType": "component" + }, + { + "iid": 91, + "nodeType": "component" + }, + { + "iid": 92, + "nodeType": "component" + }, + { + "iid": 93, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Actions", + "children": [ + { + "iid": 94, + "nodeType": "component" + }, + { + "iid": 95, + "nodeType": "component" + }, + { + "iid": 96, + "nodeType": "component" + }, + { + "iid": 97, + "nodeType": "component" + }, + { + "iid": 98, + "nodeType": "component" + }, + { + "iid": 99, + "nodeType": "component" + }, + { + "iid": 100, + "nodeType": "component" + }, + { + "iid": 101, + "nodeType": "component" + }, + { + "iid": 102, + "nodeType": "component" + }, + { + "iid": 103, + "nodeType": "component" + }, + { + "iid": 104, + "nodeType": "component" + }, + { + "iid": 105, + "nodeType": "component" + }, + { + "iid": 106, + "nodeType": "component" + }, + { + "iid": 107, + "nodeType": "component" + }, + { + "iid": 108, + "nodeType": "component" + }, + { + "iid": 109, + "nodeType": "component" + }, + { + "iid": 110, + "nodeType": "component" + }, + { + "iid": 111, + "nodeType": "component" + }, + { + "iid": 112, + "nodeType": "component" + }, + { + "iid": 113, + "nodeType": "component" + }, + { + "iid": 114, + "nodeType": "component" + }, + { + "iid": 115, + "nodeType": "component" + }, + { + "iid": 116, + "nodeType": "component" + }, + { + "iid": 117, + "nodeType": "component" + }, + { + "iid": 118, + "nodeType": "component" + }, + { + "iid": 119, + "nodeType": "component" + }, + { + "iid": 120, + "nodeType": "component" + }, + { + "iid": 121, + "nodeType": "component" + }, + { + "iid": 122, + "nodeType": "component" + }, + { + "iid": 123, + "nodeType": "component" + }, + { + "iid": 124, + "nodeType": "component" + }, + { + "iid": 125, + "nodeType": "component" + }, + { + "iid": 126, + "nodeType": "component" + }, + { + "iid": 127, + "nodeType": "component" + }, + { + "iid": 128, + "nodeType": "component" + }, + { + "iid": 129, + "nodeType": "component" + }, + { + "iid": 130, + "nodeType": "component" + }, + { + "iid": 131, + "nodeType": "component" + }, + { + "iid": 132, + "nodeType": "component" + }, + { + "iid": 133, + "nodeType": "component" + }, + { + "iid": 134, + "nodeType": "component" + }, + { + "iid": 135, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Issues", + "children": [ + { + "iid": 136, + "nodeType": "component" + }, + { + "iid": 137, + "nodeType": "component" + }, + { + "iid": 138, + "nodeType": "component" + }, + { + "iid": 139, + "nodeType": "component" + }, + { + "iid": 140, + "nodeType": "component" + }, + { + "iid": 141, + "nodeType": "component" + }, + { + "iid": 142, + "nodeType": "component" + }, + { + "iid": 143, + "nodeType": "component" + }, + { + "iid": 144, + "nodeType": "component" + }, + { + "iid": 145, + "nodeType": "component" + }, + { + "iid": 146, + "nodeType": "component" + }, + { + "iid": 147, + "nodeType": "component" + }, + { + "iid": 148, + "nodeType": "component" + }, + { + "iid": 149, + "nodeType": "component" + }, + { + "iid": 150, + "nodeType": "component" + }, + { + "iid": 151, + "nodeType": "component" + }, + { + "iid": 152, + "nodeType": "component" + }, + { + "iid": 153, + "nodeType": "component" + }, + { + "iid": 154, + "nodeType": "component" + }, + { + "iid": 155, + "nodeType": "component" + }, + { + "iid": 156, + "nodeType": "component" + }, + { + "iid": 157, + "nodeType": "component" + }, + { + "iid": 158, + "nodeType": "component" + }, + { + "iid": 159, + "nodeType": "component" + }, + { + "iid": 160, + "nodeType": "component" + }, + { + "iid": 161, + "nodeType": "component" + }, + { + "iid": 162, + "nodeType": "component" + }, + { + "iid": 163, + "nodeType": "component" + }, + { + "iid": 164, + "nodeType": "component" + }, + { + "iid": 165, + "nodeType": "component" + }, + { + "iid": 166, + "nodeType": "component" + }, + { + "iid": 167, + "nodeType": "component" + }, + { + "iid": 168, + "nodeType": "component" + }, + { + "iid": 169, + "nodeType": "component" + }, + { + "iid": 170, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Pull Requests", + "children": [ + { + "iid": 171, + "nodeType": "component" + }, + { + "iid": 172, + "nodeType": "component" + }, + { + "iid": 173, + "nodeType": "component" }, - "lastUpdated": "2025-01-23T16:55:03.068Z", - "lastUpdatedBy": { - "_id": "67531c63592f8c45f4eabe88", - "provenance": "Okta", - "username": "admin@itential" + { + "iid": 174, + "nodeType": "component" }, - "version": "4.3.6-2023.2.5", - "tags": [] - } - } - ], - "folders": [ + { + "iid": 175, + "nodeType": "component" + }, + { + "iid": 176, + "nodeType": "component" + }, + { + "iid": 177, + "nodeType": "component" + }, + { + "iid": 178, + "nodeType": "component" + }, + { + "iid": 179, + "nodeType": "component" + }, + { + "iid": 180, + "nodeType": "component" + }, + { + "iid": 181, + "nodeType": "component" + }, + { + "iid": 182, + "nodeType": "component" + }, + { + "iid": 183, + "nodeType": "component" + }, + { + "iid": 184, + "nodeType": "component" + }, + { + "iid": 185, + "nodeType": "component" + }, + { + "iid": 186, + "nodeType": "component" + }, + { + "iid": 187, + "nodeType": "component" + }, + { + "iid": 188, + "nodeType": "component" + }, + { + "iid": 189, + "nodeType": "component" + }, + { + "iid": 190, + "nodeType": "component" + }, + { + "iid": 191, + "nodeType": "component" + }, + { + "iid": 192, + "nodeType": "component" + }, + { + "iid": 193, + "nodeType": "component" + }, + { + "iid": 194, + "nodeType": "component" + }, + { + "iid": 195, + "nodeType": "component" + }, + { + "iid": 196, + "nodeType": "component" + }, + { + "iid": 197, + "nodeType": "component" + } + ] + }, { - "iid": 1, - "nodeType": "component" + "nodeType": "folder", + "name": "Releases", + "children": [ + { + "iid": 198, + "nodeType": "component" + }, + { + "iid": 199, + "nodeType": "component" + }, + { + "iid": 200, + "nodeType": "component" + }, + { + "iid": 201, + "nodeType": "component" + }, + { + "iid": 202, + "nodeType": "component" + }, + { + "iid": 203, + "nodeType": "component" + }, + { + "iid": 204, + "nodeType": "component" + }, + { + "iid": 205, + "nodeType": "component" + }, + { + "iid": 206, + "nodeType": "component" + }, + { + "iid": 207, + "nodeType": "component" + }, + { + "iid": 208, + "nodeType": "component" + }, + { + "iid": 209, + "nodeType": "component" + }, + { + "iid": 210, + "nodeType": "component" + } + ] }, { "nodeType": "folder", - "name": "Commit File", + "name": "Deployments", "children": [ { - "iid": 0, + "iid": 211, "nodeType": "component" }, { - "iid": 5, + "iid": 212, + "nodeType": "component" + }, + { + "iid": 213, + "nodeType": "component" + }, + { + "iid": 214, + "nodeType": "component" + }, + { + "iid": 215, + "nodeType": "component" + }, + { + "iid": 216, + "nodeType": "component" + }, + { + "iid": 217, "nodeType": "component" } ] }, { "nodeType": "folder", - "name": "Create Branch", + "name": "Environments", "children": [ { - "iid": 3, + "iid": 218, "nodeType": "component" }, { - "iid": 6, + "iid": 219, + "nodeType": "component" + }, + { + "iid": 220, + "nodeType": "component" + }, + { + "iid": 221, + "nodeType": "component" + }, + { + "iid": 222, + "nodeType": "component" + }, + { + "iid": 223, + "nodeType": "component" + }, + { + "iid": 224, + "nodeType": "component" + }, + { + "iid": 225, + "nodeType": "component" + }, + { + "iid": 226, + "nodeType": "component" + }, + { + "iid": 227, + "nodeType": "component" + }, + { + "iid": 228, + "nodeType": "component" + }, + { + "iid": 229, + "nodeType": "component" + }, + { + "iid": 230, + "nodeType": "component" + }, + { + "iid": 231, + "nodeType": "component" + }, + { + "iid": 232, "nodeType": "component" } ] }, { - "iid": 2, - "nodeType": "component" + "nodeType": "folder", + "name": "Webhooks", + "children": [ + { + "iid": 233, + "nodeType": "component" + }, + { + "iid": 234, + "nodeType": "component" + }, + { + "iid": 235, + "nodeType": "component" + }, + { + "iid": 236, + "nodeType": "component" + }, + { + "iid": 237, + "nodeType": "component" + }, + { + "iid": 238, + "nodeType": "component" + }, + { + "iid": 239, + "nodeType": "component" + }, + { + "iid": 240, + "nodeType": "component" + }, + { + "iid": 241, + "nodeType": "component" + }, + { + "iid": 242, + "nodeType": "component" + }, + { + "iid": 243, + "nodeType": "component" + }, + { + "iid": 244, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Tags", + "children": [ + { + "iid": 245, + "nodeType": "component" + }, + { + "iid": 246, + "nodeType": "component" + }, + { + "iid": 247, + "nodeType": "component" + }, + { + "iid": 248, + "nodeType": "component" + } + ] + }, + { + "nodeType": "folder", + "name": "Users", + "children": [ + { + "iid": 249, + "nodeType": "component" + }, + { + "iid": 250, + "nodeType": "component" + } + ] } ], - "created": "2024-08-29T19:04:21.834Z", "createdBy": { - "_id": "6786b32af921f091fd105007", - "provenance": "Local AAA", + "_id": "699f3e2b85569c9f5d8e1f38", + "provenance": "LDAP", "username": "admin@itential" }, - "lastUpdated": "2025-01-23T16:55:03.054Z", "lastUpdatedBy": { - "_id": "67531c63592f8c45f4eabe88", - "provenance": "Okta", + "_id": "699f3e2b85569c9f5d8e1f38", + "provenance": "LDAP", "username": "admin@itential" }, - "iid": 55, - "thumbnail": "data:image/png;base64,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", - "backgroundColor": "#FFFFFF" -} + "created": "2026-08-12T22:02:22.041Z", + "lastUpdated": "2026-08-12T22:02:22.041Z", + "iid": 29, + "thumbnail": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUoAAABkCAYAAADg+Hn3AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAhGVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAh2kABAAAAAEAAABaAAAAAAAAAEgAAAABAAAASAAAAAEAA6ABAAMAAAABAAEAAKACAAQAAAABAAABSqADAAQAAAABAAAAZAAAAABcVM/PAAAACXBIWXMAAAsTAAALEwEAmpwYAAACymlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iPgogICAgICAgICA8dGlmZjpZUmVzb2x1dGlvbj43MjwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NzI8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDxleGlmOlBpeGVsWERpbWVuc2lvbj4zMzA8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjEyMDwvZXhpZjpQaXhlbFlEaW1lbnNpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgpwIzk+AABAAElEQVR4AXT9C4IjObIsidan76LeSmbns5mZqnwiogYyss8ZBOkOmKmpfQAHnWRk5J9//v/+r//7jz///POPf3/99QedX/z8+ccff/3iifjPX3/8+vMPfv7893R//vnXr3+RaSRSPU/wSf4AB572L7I6d3wndVgwRKutpjwlq590lLP/42/1Q+1IqNoIz4z+fxQZNg3Np/93fiYv3sPUB1tmf5V1Afz5d4H+9Rcl+VM/f/6iEH/8+9cvRn9THBR/6VkpFgx//YGTv6WQ9G8jAPPXH3/+RV+Q4j8JEFE2+EAgIPvk6K10gL/AViAhSpwaf05uiPaVGiIRGgfx5lf2f4rFKQRDDjHbzeY4GyP7ZVoMVOdLf7MUbuC2JhTxFRPBv2M/vXG0eobO0txuKEPdVg99eXLpZI90YSL/jgsvO8E/yN5gutM4CPM9fGw/ukmGPBxpfVqle8H99PiwIn/wh8+acij/Dddg8scliOdgp3c0wQe7mE7vSRsuP+eL9eVFt/rHZwDTZ/d0iVvziVkiywweZiCnJ1sEXfK4Ca3LpqZxkcz+1sLz6dmGH5YgFq7HrsI5KDIP+C4RTnSNkY7LVs2iCSGIjvlsKZirMf2+LkK55Fx3mo+zDgf95WM4jkDz8+uPf+VLfkJ2LAFc2+oQWqdi8vwfHFgKdgAN2xO44jTwikHmxifcunrFWIRiYuiZQLo4fv1yAzU2FYj1/69w7RzTim0FtI5knXvjMkAv+IfurBmglywuuvDwk4tdvwb0x69/pKfLAgoz8szRwNDFr5OMoV9I7GzJQPxy8RkXIf+DvcnrqNcQ1Gz9rSkYuPzJrQ3PvCjYv3/9Zan+/vMfXLWJmR+SdgpY2br+Zcc35l8W2Ea/VULy/6Jnc21MX+7WsvBqbmB6AGNVmhhi2wtTBQdIKf754/8l1yYFzJXOOcZbNQhbFeDDSWLIIcUOSYURQO6G2MrB/l/tWxxGL9dsUGXTNZSZZdOKeuFWzx70Yc4QSV375AZgfhWfkl5hGJtNd68j0fGIHvfsPjzFBxvY8h1FDAWC1XN6dSpjYhqGY8W6Y8IX2kEM40oVqjLTK9J3CmMtMXr4MjlA+Ln88MlAWZs3hJcKwq3JP5l4Y34M1re1y8tl1Ni78uIwz0Ukj13iIBYCb2648bFG7Q+q1KfLSu/f8W6SIL/YgL7pNFwuFgjAi/Ms1Xmdb0ajS0d3NoxCm0SJYG8MDKJJufodUh5LX+Kn5vLA3gUZu7ow4wZsJ50H/RCnNbg6gUY9jFe/qhpXtPdK8BYORrsW3bFMwGpMx1UiqsC1qTxcLBLH1yZrVMC8qrylqnJeXecdtm5DEqDGTbvJP/hCJb3JSGHF/+7Oy7CTcgIXwhSYV/P4032MsUFwcqJsf+d2E8bdXiV3f/oLvKtZCy926d4G/M/ulb07ldiNA6S3khIj+mvL0I0yywvLRQP4b4L7B9Xf0mj06x8PuiPRv9Cp/Q/ZgbZuTvO//3rbR4fA5AT8d6U2LiCg3TYpx1++CHjjWhz//oPd3zKsiNg1P+TihFVmTEyvBN2yVqeS45UFp2ZJ7YlK58XEqLis0d/xO84rwUpmUDzsA/aCuL4XWq936g2D9qbLGTAsw9HvZqQBpbW2qrcMGij42dB9WwHoHbK3JOiaQDg1YjjzaE14RqrmNatuFr57cLnZOgryyaBYb/lNOdxNA/aWGlRXBH1JbHSaHLpXqcKR42FkqkzaKsfASTKccukOXTLGFLZYQBSB5GBJuKGcXTwPhBdrrza5AcrLD0cmgkG2npGo/csAnGuxTy4Q8V9/72rIBo67+tRBoDU4u/RdO5svvU+Omjp0K4SkjcDNKZsdtzg+eKmyZvq44BgYY7Yy6nEQjjwc90odozLgU2lqvOKUT7oYfCcosOpYeJgLBz45u9AR+37PC9X1LYv3kUavm7+oDD4MNxfaoKoOyFYAywpY98gSD+9+3KrVPnIdiHhX78G1R9qBcAvTpcUm6UU4tvy2GpWI8ZpsBW4JuYkgdfpcPfTc5Y0SOFIzrMir+ULBW+H4VnYuF5t9tr1VEJZiWpgJjcFCGZvtFoZuetvLuCKSP6ZgfRACE+ErEfec7OPLeTfCVpqN69f/8VMGHfJSNONfbtBhEcBraL/Amj7czduvv/7Ffmmj5M6ezS+f3dMtKjZkdJsmzjhy0Ht0Z7zp45641wNU2nu7anr1y5Gutjx+/UMn7f9JLawJUGZ8+VKq4DYCu80ZkrgRKNtBFArDMrDR20vvXfhvDZS2xil2Jk2P/kaL8Pz5CqfwNM4D9rP9919AqZ3+8/PSszZxU2L903eob+7qOKyM1s39pTWjbWCW6F+sCmD5wrCsDDYCwqPPTQXycem/ZS8vffEuIpcUk/XHv3+zteLMae5MqblqIUEtnOh4Z4QjeTOuPr94ywXQ0DeFvFAu9k7q9GF9xns5wI4JzRfWyU4UlQ5pucXW9xwaKDXHqWGtSO1D66YwryHe0ZcNHjOWx4XjXYZNhwKBaIfu8a9MIA6SDjvxGEARR1psDAbRwI1HrAce2elLT64G3f/HMlshAM4W8yUnwaLgzO5Th5c5E0C84tvnGXNXqP40VhpzemOXRuGJGYDNobhlkD/I2DYiAOxEus8LqgByMKzpV7U65bSpuPxNhQeRuGViiztP4jz4WJEQkBD67iaQlxtGLDxnQf6tDpC2EZJPdm42eSUb960y652wehl0acs5d5u/3J1MkM2St+FVXLVxEq93pIZQgF0tdLvdMQ7L2KF+MbCxodexMSXaPGFnCM6HXUgLdGLj2qcK2D15AgPRgNh3pi/DP/jhY1hbdWmTZCwMBtMb0+1G4HYnSSc+LUeboA3gPGMrerj5qK8nIKaWfsI7ykaTQpDYjx9iQXLzQI+WK1fdDQDcepgSH+q80Gvh6ElUo3Ob6UdYjQQMbJi39wBZ7MbNq2I5NEESSoVJ9YLDaPlYhufiFjCdjtUJnpsuLubCmmyznPX2U+PQVmzbb6aMEGNCwl10BWIcAj0Ka4dHELM0py6DbQIKfVmWx5D8iAu8S8hY8oG4KmtvQu4snBlqXavfgmEo5jQv7m0gzSb6ZTqcfW3OZLo4I0Le8jUq40Mzg2qiaDFpAbSs7St98aRK2CFPNxncUZZsmyNdNssikYo0Cbu50DNDt+Yrt+e+MSgzLxBafbpe7d5aiadUeii6IJZUPp5G/722ZuemsXeD1lw7weMXb4PhKmapp/vJp6jAzU7bHF1QyMgNM4ReoO1SnOWV/FFfH6HWi6DeGxh7s5Add0h9eaNZPDsWnnlw19Bm6gsOrw6xnr1wAmUjdcGJq56UyelQ6cK3w25luF7PvXA5J5LsswIw1jaXIGgwOxfytdyTLKGquxJzRwpQMT54fEqmxDmUyltffTdhdJpDbH79Pxi4jBCp157T8mbYrqAdjdC8Q1YPDFBHexMwTjflyR9m59VB1Y80sxpcopBeCngq9lPhvtayEiXQaC7GhlqEw14DhC03hQISRHPjwEiNfTbPqzL5Jz8bZUmGGkaJPDmY36vFrKZj3X7nRpGzrQsC1btxbgwTc8E8ZqLQleHnmgjz3qyaux8btWY46gxR4zlm2KarXCcLsYTi6o4vznG8WJbW8Ur1ai8JS1cGzWotC3pdlHEvDGOZpTGaDkNzwtgwz1wQre1eMV0Yb5NWo7DcHNDsZ5svsA0S5sd49AeOM8Gi58sc4+NoHItnd88CoxAIVIOlq12b5BxYsLx77MIsEO9CZmH+qRqbZAJnsrkpibrxYP34fKtgFFeZ70sGgGXrJgCmO885EZ8WI1eLOAnZY8ze3DGatSqsGTL2KqfFcj4ZZC6lubj5P4hc3wqhPmyEsswFUWgsNmqttvFZZmpkEVKBg+NtRr7ShOWrmYRUMX/sfGZgLfZKvpU+nS6WB9RExzJ3Y+uduTkZDSffufshAYhqourystQ9mO9Fjk5/TgWbZqGWOwYG2AuNedA4yWMe8TDWNGGKHDecWH3IcVmaH1qp/kd7fM/uVTV+XDsWYzPf9SbzdZGAvNstrsOkFIhd+A6L7QP5wVNhGK92gCFTZr1k+GxoG8apKtoitOfzBeq5qDhH5/D4EOiiacXHM/PMNWY+0TBOxdismygXlnon7YU3unnWgDl1EJRhNYtjVxvkWjf3EjnogjZZN6TxXwzoxbZ2nCC9J8EqGpf+1pK+tmU+fBwvzOI2HGGYfJr7kGRTpfGAl2/ZERR12hiswwI5IiF1OYJYjkJTmBYDa+5NCXreehen+68F80ePQIzHVxPe2yGgobsYd+fpMuyWx9JRHG16k/eSBe/lLW7EeJRkoZsbLr66+oVlIbBSV+QdUG8M2fOFyBsUa+Bm18Z6lKgMp1lBzQz1ZQhelykdazs9Yb1PI3TTl9Z2eBqiXX1LZ7+wTJe+b0l5peYrmO1t6tJkhM7YZlRK1IyydLPoOsmvX3wZv5F1K17Jqa1U+PEGlMYc6NtJoPF51V9/r787UaQVDgz2Qty5Bv7YFjxX3S5yIHIJ9m6DL2/oicUOv7kD4oyRhzeneughxBHfTWGAVUEV7m7QnHXJeGB4YQD7gVXthqA17twqlvTPFTO9VLVI6R0Ns3kKToQgh/OUP0iLd4r01RDl9073CqBB8zs+c95FLf3yTuOU8TOrN7WX60XSVSLY2HxNbrnKYp+HxpT7VTSh84yOF0+U9/F7YOSe3WCagZsXOZ6e2P/ks1Be/AhE9sXo9UAIhMOxdxYWXydy0hiycDcjcPPtaYn5sSpvQHiitQiYNLGMtQmkuY9csf7JsZojl3LhgbWvBy3f3Wt0CLtudn9JpJJH6ikaRnIuI5elauj0pF8HF0yW2T1BMYyJAGivL/36OKnjAbOPMI/orNk13jMhKA/O29cMIQZdLmW+WojHgnzW/HVQefdSPlXL8H1MbwBlq0c3FKn179NJcIfYqBJsoNLb+ikYNH5EemONViZ5nLuS0itIwyntaLrpwUI+pMTr+imQAjsbVvRkhCUHP5uZxXAVGP8ttKIqYEulh21pLi4Wxa9/2cjcSCPm5EXDInUJFu8uoPwDbqV11/bCd2UZ6D8kZ6hsjHOJzM+IdP2PH8rz41v76gKkL9IICX4hJP7WKu7l4MEORXqbG0lpfcFydSP5Yi12gC9B+WYPUJqbvSqpjaT8dLyLHh2wrvToFmdQKYZvru9uTyfk4jT8fzXtLOsnnsYcUozbHCdwEzFYQQJOzvgxlIcptQbOXgNNOS9/9G0o50R5+HFWENG+MvCTT11BIqz7i+c7RrEwm4dXZYU6e+OVQ1vX3vlqoRen6tOLy0HOUKAqV2ouxnBYCn4Bt88WwZkQXwx9alQerqVdj/Dx0alCmjgMejFt3SFHI3VuPLS2l4lGitJ3iPyErQy45DDKxeJSFxAxJ1R6yMbqEHnbQxIdSO+a0cJxBWrQpKBB/OYtNIRQ4Eauc/U22uqD1CD0Wls/fB9uPbdLrlgVVWQuVL9Wc6wfnGNdCkukTVJWEDmx/5rXkG8vXUzoZf4EMRaQvkc8KecwIHe5vVe+RVwQWvBQstZdmew/ZUJrUDrxEWhnr19prLpmo2kDjm//85U5maqM5s+pKnmGTqy+50ZLBhdE0lWtxeavKrlY9e7C+A/dppHct3E2XqHB7IsssJroS0vmo/f+FhN5Cw2uYnBD1A55YyDovfgW7/xl2KQUhkLDPjf2T/IppRdONQM23LPZBokBnwwsa+y7IXWM3Kobo/lyxDpvx4Ya6qTqnAFG+tD0GTT6r4PctId8I9mSvzAd5Pc8w23ZykPdY0A2W8FGMuZJNUDcSTnPR8fIS6DcjRtyFnrjZYa/+HIQyV4GZF6b2TgsedQpPVwkUt80zhD83UAMyjEiTNoQiYriWs/axeB62Is32/UMeZF1jVwWnVexsxuHPMfR3f75ksKuxRFCVPQ5DT73XHvWQKyAbRZ0kPkdJQKWq0cerWe5JKXFax9dRQarE+l07PVnzbWmpxu6dpbTFpjWtW5P0KYXZ7Ry5cnj7GXPgAN7P3ohfgswCz3iyItRXVEWs8OQHtOJfJvoD6VdOXDjNAl/zdESWSffKI3jgJ/gEnOI4t2FWJQQMFkSI+/x7X6oRPo28pi9o3MxaD9fFtK+kSoy9WJRrcymGrEbkBAItNdEsEhZRpSBQNensymgenvyMU903DTaNJ2FHJPiqnWff86DHBD95W8BuAdLoh0vOrxLf5FDrE+04kUx6LNhlwWy+e3MuGiaCBcTlIqEeCg33TCgL6mELuDuaOorNl7lPJqJs7fAxfV/6JmmenUe19kpRdMByNwOVYHFG5PRffvKNgYN/PWD3OEYU5abcqkDPx+fEiQuS1TZHmmI4ErpmO3MI7N7VRv3lcoF8mqunXSN6zdSkE0vCFURtlycc23aBPXitlQEYTTMr1BryCOt9u4gniVjs9R7MWxSHc2AzejKf8sKrojiZr21sYV9OBGuJmE15yxnV+XbkOQRgociAcNwN0E5lRVNi8v1R57+wkbNAN+NhJtr19bpyMRSYS5vTn6smiULVAAPe8WL596v6dKosrEyCLY5B1X5sQyooNQ4evkTl9yfT+NQMywWzrdhelF0Sy2FLl9mkC+CgiPLcruCSJQ64UETIs/AM81X2HtfAb6rc+LH0HzniJ4BEK5J3K/lLGZduTF2O6PIYt4Ko+Pi8I6ulyNUW6X42WShw776GxFBzNxAuotD14waU29l1dvnafu5qfTt8Vvgq9VQgosB07PtFRRZQ/SluRlarAnUbr05jPK9CKBSsHzpU0vJaE2VduWCDMzWNjIXqcsGndekDW358O132HyeDsERcnYxYzfVfOUsP1dyv3uK7uJUN9HZmaNN0GK2OskU8WN954NjsSEN8LGMYQfRa9oI9zB7+lIAeKzz+Cn3B/fDIwbji5nCfbikHiVnLdTI7BVle7nRxal6p6zaF8OjdrDAYmAijFHu2dn3oxG8qIgdNougWesgcBon99kKkPPFHrHQ5OPqotakoU7QejLXwuKgrx7ykeHFK49mGb0LnBHS3PrZE5dYYbvjDY6W9e6/fNO+ewJJSsgODTOMXJQ48zJcAHtLjloHsIHIgAE9usWLfd6NOjkf6Ln+pG1u0sqhLGy7/6pDZLLkI12gww3/53/8OOX8SUD3cpPyXBWzg7kRUVK9CuTCPdocjMfDyijT+kayC+fyF0eLM6MKY8SwWHLrcnwh/XcvVNHisII05VDgGiB5d58qLIiTZIvrOgLLNgb2GcZiu3pWiD//ZTOutqxGF6Q+stE2n1gQB9FpH8j3Rkbhw1C2ETEw1D4TNK32hYUFk3eGpLhfHu+tvkEWfDtYvxBOAMZnuFKXFTI++kycf3pVykQNSpBUWXlqGWhvdVsSrFd/Is+WdJCVoa/DgWOaeyVukratqZ3DnTjd9ON6goMyDKnb4qY6paXASGgX+GIb/vbSAwx7TB/CJ1Wg7WflmLPczq+a5hK0OdjyB4KxpZt79dP5mqrMyjxdKtQxWG77h8vXpuAj657KWXX5b5/IZoFlDfc22niMrXWJT2MeZHeNUij5LD/6yMRo1to6/zkxcLVsUIUYISLXccuiq0FLfXkdGIq6uJBcAVg3/qK7m5j8cmplUcTwcPlUI7+Jd36R3slFroPcCspEMBhAx4icIIH6rcWEAFcZTMDxCy4Y0UxU//aJV+q47Mhp3t4d03GILKedIRyJZvTV0W4HwwA1/FnSv4L4neWZSQizBZ2pMa+XM3+dhBWnF27pIsQLaAlcDrbCpLsAvfqSVynUF7XIuZmV40LWNRhhNAbNWhJiJzq0GgroTjCUtqLXTLQVeRIjKyzV2wz3Oq9YHXS6kdtBi9nXPJTeTmvvP6UZVCw9DFwF6j6ftCNwnCw8sZ6MrwSp1DUAvecQawD46p8nHsCT3vpFZbpXQnl3446N//qwEMH6St1Gra+VzsiLEfX+BcxWk18XqTFXPdvXml7t1sgGfBFlp3DE1VtwlqY8504SxsdTd3arxeVVXeh73g5ZKHN2frY8ERmmycz2R+0Gf/O528Nzptnzxdmup62hGzCdyNzziQIlg2wc4c2h8WlYjMSgTN0sOtpfqVEqgaMYV4cwydFKlQ7Me33Nt7pDFoNUtqtPy5F1Nj9w+FqMYVW+V61NonLiMY/8w4HD+TwP/RqRfYGcwfnT9pYRti2f/Lc6WgvquvCw4WOf4nbHj8ZafnZ/ZPp0P5t73RSmH5uhaQVGcGEaoDwYcXS5KkDk6FPh0kIYeXODsodcArHSNn532aWgS0OIVrEDqIPbl0S9J4zqyJs9ZwVuzlqo/89pNNBQsghMp4i2tyjUVKM7cIX60uH+6e7S54KpQyyEM0JMRoiM6DVzLJwTmEtuJl1WcEl3mmP+QTLdl3RBTvrVYRc5hyg45lsftKIw88fjilbXK5hToKKSTkYBaQjaNSEVsDiVS9Vrh2/Fzbk7BoSePeXVfOnrQ/yqTSldajaRXB0uAQF2FTcB2LRJePUYnzaZjaskObgj9FBgvA45dRUhm8+PqfStL13HoT+FP850i0HZa3/5LwSWl3VNtYXyEF+TVgLw44z+8X/QdnYNPNxUB5Qjf4zNqfaj/6PLxXz64QaXRw/EXHdjhgjtH+eP7pNXwpcDMFe2MVKxr5nj49fBKiNMbEbJPh+AIdbgVbCeMvG12dT95PuoYG0tfDwSy/rDw8bQKHZs0E2pb0+HtQ7z5eZWHLvzYp25GdLuBSec+xGorfUxA0hWHncNBEPKchq5iwsz70W843Ox3W++dV0RCxoXn5F6OzPX48S00KOYJu6ghzQE3RmMMUOGSGWmyyLSOQGqTqW42bzxp1zqP7FEBbB5X1pZvnm55R9X2P5V84Z5yNuWwYHOs6RYvLvLbtmM3Vsl0mgTNy/LJ9N52tV8VBbVlJdLwpfYbFD4+KF3E3hjZ4q+Wtl7CbgVcqmen+PQ7vPUqA3vyLFwITzDSEsF6o8XUzv/iOcrnr4IaxfF0BdpTsaz19xewsBha5POZ30OxlEWz7mY17/zmUI4Oy2KJZasOfAj17M5HjdWn3D6s3a9H1BVsVcjekA+FvaMSUDnGaoXWFMeCVvFw3MH98SxZTv4bF5/HB+uOI/3+o1O5Gnd6x1vvtD48xDf7iwW40frvDD4oTPmCyta70JPkCbh+VCebpifNK8fMtx4Le/TPV5JXu5vc0sHMDnnd+k83Njmt9pC4ltN6HMgz0V1Dh3xxaFSSJrmnLCQMMqO8V6em+iS2+9ctjK+MaLppR48i+5zFRvbeADowxOHbiy1oc9YJxfrIvzeagggD0BuYsUFViqnSVve97a9+4JgvuDmRz1PfDhO9m41GMvmmz5zHR4h/zIHBgixE8IJXfkw/JFLI9m2GAD20lPds78gxS3sTTEU+vUBls3RTpuiHlXcWfGCEBNqAjdQQvRqn37VtPqvRY6NMzsHmGAXZmSuo0sHFiO0CpyV5/BcFtMj5vwzPpDFrCsJ9pYXp0yBd3WIPv77Ysd/eg7Wt8f7sz/0D6eLXMK5Nw6Gj8QkL7neb9m3pIZdXwQ4byPyq938RMnIza5YBDa9aFLuIsqvrnh2qgjOZePJZWXoQQ93R7H4oJd3SikcKrGYcRTd8XnhGg7HOGXMVLzWn9atkdqT5Ly4kmz44RBUJEpw8KwWI8rDizOsDpw/UaS/0cWiqNgwvlTieZF+VrWkekQw3GOFgUfzTqeovqSfGF6xP7NTgJFGa6+6nehcfXnjLCmR56fkGmfma+EuH81LrPkh4nM3974+xzdMtgBcurNDiwtf5Dkh82jHR8TxD5/hovuUFtl3f9CJyTVjQejrzK2ous0vR+QmNwuLSrw8+KNWhILu2TxU+GIh7ZKSAFQA7gLyw7Arzq1MjR605FeM29a4rJYv51Px1huAvjlJbCgzNSaj6ibGWEVKuKWyt5Nully8WHrdtjM5MfwBgcDqGK4P1NSPiHM+5ww/oZB+QldzzQ32Q4RsRPAtllABtKd9yNxYCiFhg8K4jwxzd2CCrMd5JZi8eErdLAQ1WyidCp2q3MNTrSL2CwX8SiQF7PcoYd3HfgfyZHH57MLKmB/N18eKZKX947ybADSrJbUGa14682WPE33i6PfinAv/ruXkLmztri7ZlHTuNiGMWTZ+kFKaqR+mFVFkr9TZuFKA6NoqEWlVMJIazu/6PD9IpbSBnSWiZLNNyiERxHLbT87R/J4M8aepqUH2tRX5bOseMYgHly/YE1weyE8SNs9XmHLO5mEuqmi9FlBaeE/88M+tLgrGkZ5PBtUR2ehAPz2/edALLwK3EltH9dUd7XvBPPtN3AF9ley6kxM/fXQjV+adja5lZAXuLTA9QXnRp0urs5emjpeyEXEBoLEjG/2gaJT3C+3B50Fft0lm+WLFnLZiEa4dDnPS3W6l291k7rrRaDMapTZ+Rmr8+ph/nGJjbG1dxuDCBuCnDPPJcV1dGHzwop8mfwO/46//eJdniJsXMvQLWOPBvC2BciDVFhYebrveSfkrfm4WRia6vczpJgiC79dynKgr6/ijEC4rhOHpjV7Tb9tm9iQi6jsrdHjo64Rprj8GYrNoou4kZn5ZQGcQydF8S7A/MvE4PfO05vItXc5ORxqyoGDTQUiAzk0vHOWvV7RMS/MszxneXajDF5MvabIWtAaGGrcVYMAycLZy7iT4V4hGXDC9F7E0q728LtQomka5aozeZ7CMP2ILhn+rEeHAk/I+R22aaJyMtc3kmTA4lvRFi4N55vgTfMN46L+18NzPRh8wPmcOU3y1impgFuFnuM5BjWI04xsNR8nPto1GK1e2jj7BPEvEdLWdr+W2fYbqNcX68YYhD1ffHGCIDk4vn6Y0lKuEcWtkayAnz4v102e2491ShL9AULrGrq9foMU3m9lOzbGHM01XXh90fBubEHmNUPerNr57mZF7ixd8Z12w07m5uSGSmKgo2ogeDULc7JtrEANtKXNk2Mp3W49HPTIIHdI/fmX6a0wBtDNz5cU3m4ppTJ+r9PZTUIMTy1z8CCU+uaA/5+/svxHRBd6aIZwSh8lxMLFuDfanrZVaCFhIR8fO1yrD2dBhEmPIfivtX+rekL31ytYdkkzYAxZ+netJPHFqQT5Mq/bODn70y//J/KuOp2v66xPXXdjo/FmlZkOcV+gfnI/fmLFdrFr5DZZhtmDiksy31V1kz3cbC6ZY7L0CnXj0AX6WUD1+Y7GFM8S1z13l7J5YnzJ/cfRWPSiue2DDbdlpw0NYNbVuD9ucjC49qM6IqucrwYUlizkIagkZDdc4RQjhWxvbDfvUBqbCVeeX/5UxEAdkS0kB7ew9jTFph9mhgVzdQf8n7kw+yyMkFo+Qcy8mCk7cP0FUTzCrAP0IELaH6Vefr/TnvdxJKtvFVpwf5+LF+qTnJUe/VekczCRzFJ1XOyfglJyf1zCjCBz3za86m2rbrfxcK3OO0r1/BYbxfFnRYmzbEKXcUnjuKu+12jXry78OmU03SXpOqfToPue3HvzMUBtgNS3ipNPG6yYrD80vORcjQ7jYFUZIHPrUqxIXZhwMW41FPeKPpxxqLtjgymeE0mQLWrOxuL1lVTDo/+N4Sjcot231vGVr15OWZcQf3+bH/vNt9FHqBwdN49zklYjEWpqj9SKjtijygBkK/fi55XxWDmC1ZNf/zDJjoa99+3DpgJOAn7b2V8FZpXuGxOMNGTYzQd4XLMaMuMk3jy9+JMhyhbyXLIYmRkNTiK6cBuot64tL/udTkm4ONEUuRTSe0VkqVRy4qGx2F2O/YqTumul/2qgMURfzfp2JfEcPSISxd+LwbbllaBJbM4D6UGeONFkNfnI8q/E40veC3tGNtL0GOXe0ASvdusVi2cPoPcS50gaBlNGq+6/gjXZtpfvgEH77X8zr5UFuQOabn+PaNYIO4fCvdC2seJXPIz2SvhlHOosVgj4Ohp18MekUL06J2gFi7M5T6Xe6kP8vLZufnGJ+8l3/fHxqYaDeV+zi3PLTsgQ+gbTRuhAwLz/jtAtrTrujbMyBd5RF7CbghREwRo25V0CvOfIO8+bQGg9v/+yuNLtrXQDZad7mo31ciI2x3ZsQwo5z5Lof/w83AHpc3RcRyFoq+PwgrZDj7Fe5ydv//sXf7StNgwHFE6AS9LklYUb8wQYDknB6cGEJ6PYueopEiJThcvA/61Jhe3v4CZ7c1IHz43ltZG908rdTfA0vyllLAYfJ2nCcANaLAXk99TwNzDwd2p7OTHSlXg7SL7mNUbD5//l/tEBfaMta/X+3Zfa4NNiTE6oMqhy2H2s2Fz+EsYqGJO0nBQNxrN9PH8r8gOWO124Yzyg+zM7K47NK9MvrcA6iPFyc6D5xHe6K2Sj+7FwZE4VfmIfhVHxfvUtvQuP49Nb5AT/Kk8z+GxdV+Wb3I+fhFjcML8mLwfRypF90+p9jF+BV67DP17cIPxURrKZPLJUsFdKQcvbhNWIfXThTZeF6y3uxeLAuDY4PfWticI9uICH+Kwdlz3R947lZQwC8uzdvEsT17MSQgTZ7pa42w/zYdRaXd8m1symvVHGAnyHu9MG4GZe8TTaHqmhC1nNUzwNxliL9PRizY/WXjzQXw2T6SZWyDK+mMLrCXJL592bFevEdAm/8LrYP1jr+6e9R9prF/YW3dn7Z7i9s0Ngs6Vr+/BFEuXen7mdbBmrzLfY/+GVs+LcGJDgia31er3pgfzQGXXw/RHZL9GQfAoTZmtXP5i1aih9nup9gtHMZentH9yJqYCUVYu94JjjsH9RMIN5WgteXRZuMPAnxLbKzJZLeoHDxd0X81ttZ24rQyz60P8OgzsTGzt+K1RpOrAPUiukWS9F+TD7prlzvCB7wqL0oxiOXvvIJJ35y3eQDGsyajGf+sppzg6imn2DiNhFtLao2tjb1dTf+cbxVFfjr81kivq5R2HWF2uyvt0Gwj+Dpz1gDM1GPKOk7E2hmHFKfiXm//JTPv73j/uDWmWa1Cj8BYOLG8UcjvOIAOEy6Cie7QmK6PD3N9ulSc3hXvwBI4z0/hfR4tKNu8iY/t6prn44+QVinTtiwDuy6eZnD9oxwxWWYkvphq3p6mdq1l2zZv403/rOTFaS76s9NbzzGhtqge/MUMysEdzY3127UdGoI56tdXqw4Lnd2hr3uzLKy0mV9+x0IgdDf5iy3/S39YWKO6j8x+T5Hd3xqy+ds0OuFS4iLe2+P9NzuqGf/+k77rlY23r7iAQZXBQH36ylpHFnrEi5t4VZResSqTcV6SPA9a//GdRSIinI45T9+n/OL11bja3Vvl9Z1QM80KRpLWUDa3m8SPI7ZsGCIFsxP7hi8GCyByfTaclJELrHw26QVpNSnVITghPVlJQInWkXHPvNcXMfPAE1RLHhx8UlEa/xcOPZ6ujbsG6lc/3ZFBWAVeuJ8I1Gr0dVMwTOOYzbmMQrrMYvepGh9UUgrWqx18Usv/ahWZ8fTz3biw5xWnOH+bM/wv8SP3Jge+Y8SjQHb5yd8UomKlJM5lOHUj+B8Zev0Z7HDy1nxqjH9Xu2CHtfyTxLH/H4K4tBaXfDyVruJPd7PepLO97zGqy3yVnBcDl3Ne2EXuS9tNAbnZz13d1dfIZsLNeBhMbyvoipO4yYdhHtO9sirdlzFe2/t735h2NWrtNz0Hld9EGwRu3ZyCpU1N4FWF1lNb0DoMEfHVc4IoH1zgMcgFrOjSeRWRZJbdrKGXNzrB24B+PsnVqvshPbXdvgvPHDelX0GUHgFs+y96+y3VtTYDORmYd0Fh5pQMk+snxxgsE1ydnoPxmExOsyu2SZDgfS/uI05/riTnJMLR4Dth/B1T/xhi9clSRG6XbHUs1zwM2zGEGhX4+7RlZJ5Qo1ukxTQHA3MvT8IjH1pFNtKcNpXoG4OtPGDkBqYpv/gW0OnOhtGsvtcgaZO8uLRbY2TD4C9q9XmxhGI6ZYj8G+HVklgxXr6Uv4mcZp09/P8RX8tC+mWHNLFLufxTvAZnlRXxzHA1vkDp/5iTvzVjoWX9y/wen5mmutm49UFvCbl8vRV4kWJXi5Ad8oDfS/a6vAU0oQ8YDZiVHDooe5EUzSyVMIk8LylqoCVY7yf1/5nL2q1dZX8mH0t+Hk6uY4T2b1ZlHgYN0EH5N8l8TaqCzjbNqEtmmLTlg6RtMRa4nIgNsz4OLgxEUehneyq0M6SwbYH/xR2CDh/xF0M8kx3qttAPS1IKwLmcZf9gsjFt+tm++LjjKfF9/HtpeGlmYDQXHmZb6WbsPa+qvQhfsoVO7L+l0L/EfSsiop+rnil6Q5JBlfUFhXGxRDv2NXXq/PpV4OMEBnWgpwnI3PD+ZT/2e4829kpuYQ/SsZvyUQ9jE4ELxhtLAeN5Onchqgg2Golz2JLqLZUXV7zuyUha9MhLIVqL6mv3adLepQpameoC/ml+gMeHrbxRoyh/BB8Nkj1iq2Zsahfq9v14GutOSrxpGvjfbh1tlgN5Noox53IYJ9y55/Dn/1PLDiRUd1v+hvr+X/qLrA0rw8OoNP2lWB8rddalT8b+I/Pb7Kz33odWp3AzN8l+4hWp1Vs/tP8wDvWtI39OJTMxQeYWVgT6RYlVHLNMg3w+vgGuoXCWULHN38PVU0wfhziKwVYO5OzEgOK46fNYzj0VGALUqzNpeub7fUda6/EGzk5eC7hPtiaXbxiMV/24QbPYqa3OW9OAOebU/TirE93n5EZxFtEI/B2hdoAwcrbu+40MTfljsTql08mpoijySJosusnS6nOb72d+/pQc+44x6gjCkiPDPjgzrN3UyinOFiGltvQ0HH65IbEx/BqLapnL9CL005t0adwvA74kTgZu5MMPMADp/spX7UtQtL0VlmzDtk3FfQKCvEAqRzx4M5VBhPQLJny51BxhSHn2yTN1jpKBkwz+GfNcQEpvBhFJHzBZsBhbR70MiZfLIzbIh8tfcf6f1aclYF74X8cO4eG5k2B54OaxcNEL5XlK/SxbC6wuaGQr9FGGJxU/xt94DdezWb65kCrQub8SQ/DJ5N0PCK/zdFHEsknouGt089AND2c81TeCP43bqHKPTg7PzFdiMiq4BSHhsu6foI6Ap0ai2tDf3LS17PLKSZl2R3vh8OxWJ8TGo/9xufswb/YZ+MZfPNtsIyzuX68h8W4EIVcPGJnj4zLyASf7771BqnP3pHTb4VuU4s0X5i55IqxAMXZKaj5JMQ5veUpkTYWlL4L78qHw/kkrh4jxh1+X4nvDCkgOPzscL+0L6UJ6t06rkWkjKF+PfN7lCAYC5vO3LX2f+2Co9/f8Y7KEZ9YdnV2dVERovajS9cO0YyyI1QY8H2Q8RsJx+fZ3jVTUN9d21uB8sxeszLBd3U4nsiOwj7qsp2X4/S0txCbzkpBd1HqN3qr9Jpe5eifHzpwVvx7Z7TdfQ05f5uhWYAD5R8Q6DNTa2VYWdI3I1/naPazp0/tisfdqjjyXjrDiq8Wk/l5oyGt2Ory4dTEq9G5tKvsgmz4Drr6fHTJFDm3L9a4AEopmXSuz9EiTZCSnBjku6WI6uJJLfbZrRZVHnF2+qTfSoLGGEb9PbYA5yo/ubrxp/+bjynLYTQJvl18PEPOyo3RHFb/2SswmvQpD6tMe1rXw3ofTqlscn1sf/LYfwT1Rb+AZtEqebFFtpjdTF8U9Z4vBrey6IE1iB72vxbF1kHrEk7vyLfXL+JxGScK7V266nmy9GL0snAuv1/yAPHPsLk5uFa2SbWZOr/4Ozrq6t3cjXXQlwGuUjdeRm24fpA597fS9YsIeX9qrXhEyAeHfv1S+Xa9nKmmwUTozef2wvwoh5O+jvIGLoOuLzjvW5g3X95Rrhga+aeUvBXEfU7OtiifOwNGvZJYLNz4n2PxH6yvHLkDYbh7GGZ80mrLgJ6HFPeLhQnTpZRCUHef9Cx5ggwtUi6+Bkf61D+xzl/2t28sOtmlNJvO9AuIAeky8p8pUd/bcOfAoFlaTpBGPi067VefZFzc6JuZVrhctDvx6sL6IB4xE+NDHp4Pc5HOJ6Btkjtr14Sqpe9igCgn82S5fmvS5g2Db46TuUa2lAwBQFjTkpRQ0S7XUaofh+OvJlsk76z24RaWxOPPMzE+fefPgXguhjg0fkC645rIpV7tnhyl0Iehu/GHQwCIHzgWMEVBcIkv7eeQeD/d1zmKx3kFUatIj1VMyrxPIcxmxeriqH44FNE/ltOJOL1cZ0mPPoptbNiA2RXyw07x7aL6s1atW/kUwOEySZdMdjHqtoQSj75rHQ7XGo634W1fWVTZsh9wbhNCJ1PT4w6RmYTw9dmnTrw0ldX3ytLCfci8VaDHZ9cgZz/m34R8fLJ7yih7NLvsEhnJ4pmPL8xxfjBBqh+tWwVy+UV2O09x9/WBwJwURV58Bz+n2C5Mw4rSyvgBOHod6I9qI+OfjUckA67yG48IjPlqvH/MXqGV0QB9SE4yQqU079AsXcLPKZWJZava2DYkqoFvoyApNBNdFTIr41nN2H6cDsX7y/J+2Gf/LBnBx6sXsoswnXKtvOvUnzxJCsIBw0vUTfXDqmq2YYZ84Sbq88b4NjQc6xgHVLBm9UqxT0CcXcXBFhsjv35aPseFUR9nAo1ENlq5cJ5sF0wL4sWxFEIWj0a1syiYcT25S+PTnv0PkV71azOryqQNoq90DJop87m+uKEW53C/HQXaWJ2rwRPIg23myKIa1/riHGNnTfeQae2g6ZFs6PH4H1/zgf5mINyD5WLZG4sXkkyqm+F6L243mZ96QOHkFn9P8zxf6rXhJoiem+Pj1pdGG3elcLlt1brXje0gylNiA9n+tXMir382N/GuMIdh26Tmohi8jkCCM5keeTcdjLTRowqbPLQ2QvoGK70iD9PTlXSxKgUSCMURSBEeEdr1IxnP4zOAbhMFx2tnzv5D7VhbbkbY4+B+XeOWRJe3Ug0E8DBgoYan00H7FSFDSC2+rxOHfTgTYMZ8uy5CxlE7SDIZAa95R3fudfObAWNFY7IAU2d4d8VszgbwZkUDXT4b667uyd6FUHLPV/w5MnY7EnTsYwde4qxFiZ58EJMQz8OPJ/yvYB3OGafrP06Ga6bsT/b2WVoY9lLL4HBVvqQR+JB7hhpcqR7+cT5jPSlb1HZZVDURDn1G3PFwSN8G9uptPIYYgpU0u3Ov7enLl756VkDU1Ztx8SN6XAtmTPOX0YB3HI/8wxm3RJ4/32QnmU+1KTllm9Ok//NAfI/vAm4F3wHR9O0a0X4Y47IeJf6YR3aiYY1i6+3r62D4fj119B/dj/ny/uFdJqI3B7rFAsHW5E2r4zFNF16M8vloeSk3vOOOt8NhuXa9YB53tncRzaf+uhssKWW75eIOIl/eSWwFu4cVUw51UjiSEwFw8XKTpLdqHBFLYzd6e8qM16hHYFVTKJksn2P1E3zrGX+ALDkc80iH+fQZ9q03zpt7bXivD5GfDrnZLOkWq28Xu3hRt5uacem8y6McELERGodlvKooNMuI2FguMQPlDmh5/UhOOZG8066+hqTpuf7pHw4xDuDyhlkdZ4bfqh1eXdLiOx/TgV0szotlECqCw64dR9pZKTpDr+7XV4Fqlhkz7DcHqJ+bavZCxF2zL6XnM03T221XSqMC4q4150kM6qffhzu4Km71FyeDqTcr6c6nclm9+Gy37Jb/4MlfIC7TlsAL7YNRc8LjLgLxMOTDRBeYkvEe9rwnH36hB3K1gW9O7BskoDg9y3V0Q/5GHTbOifMRGb1POB/dqLZCIj+NzLZ3NobTr2gNP3pU4lPZObjd12SSIl90phPoErzx9SUIX4nf3O+cHFJUx/c8bKzcQMLpT07H+nSc3W6ZghaLeLECuLFLIdb3IWx6vD315V/QX6xxy/+u0G2ECboEpej3NI+LfFtumHuHWQweuno5+9ZX3451a7vtJ4ExeXnjVb3LziXQ2A9SeNPnVd7YuOTzDa08BmSH0boC6PcC4WeTDPI1eWtsv0cZCj27lr4MiU0NPHTm0M0hIRcLIt9G62hf9xAzIx3tLblfKEEzW214CjA6B1azgBUXkB+C+SuRr/U3G9+glBjEt7MsMTyZWAM1xxXj8814OGSeKduzGyqlxoXnyco9zKqPqRu/X/hLg/pI6g8sD/pOu8NMbpy3cpa4/ELvsHO24Y3SWrYkwQizdHB44tMAjtnOhq7iWhrK7uA2vJYKQ+P94HTBiFVxuahRNlcJGVQGVNN+z8AursPf+HmQ2SkwTzl/dPJiLKZYC0CvMzaXnhuEQpes/S0rY0BeTPXCVELselt5xC9mWXJF5/XDI//ZHv6nzBK+alsM7W2d3yAJ1uknjOs52SCj6sNi/242cGIipINXHUXbZ3DK0CsDE/OdHb/6lC6BNt0M3DyUidefH+jNfr443s/j/Y67JPUhh085IPZHf9J3f5OOsdgnC8VchSdylGwBgtqI2EsWc1+4yMvYBfJ8dLPkmL++A4c1sU5at5fozLE/68YvReP5QRvEfxMzFPFRnG3wZ8/gKqSPbq2aAnOh83bv/ElY4+xGOW++IPiljBbGuv/2VCj/QgcZ/wwv3axNAV0+OODSZHtpoIfEvxYEjaH6s0OdZzMptmyS3PU4tFlak/H8Wrtpg/E9bAgPD0qB/OfrDfVzugqJqkh+yuV0docrJWxC+AlxLxCEdP8PN+lMCWbRcbSTP8nfQNlLQaWemXpOreoPVJxhqsBrr1F13833Kiwk6uP0Bb3GaY9Gxa15fDEid8npwsM+EFnwcBkWVJb6/QQC6hzG8Fw5NJpWbmsEm1bd06DL+T50EcqPmX0A9C2gk7i2s7FV2POVa7F0nILFh9WCQvHsZVkO9loccll7BTWjsO3c2kzwpCk/h0OV/1sPKZ/LO7+hfop/Zc6vOkOMq7PjF4fyb2P1NVb70oqPw7MY18M5oyYpx2Yg29AIiSPO/I0j3vPjRry8xM2nem0MoP66c0F/fAm3QgmgVcMlsryyw/T8cW5zdR167UHgPyX0rebukRDLAdy36jlwYvqC6DJD5zwWU1Wd/FZzcboysN1dowuNAEwPUwOZgTGZl0LzTOys0THnpaJiC9PExJhMLEPs34JIlFOVwLaapClSCRXrmX6yXGnnrxiiHDPhYIv4r/ar/iuVpnV2AiWpXVfD90cwdaTPXRmD/cT/tHvyR6cHN6Of8vEpMrB0wovC2SNYpFMo52mzotUIhEUWX5LTQidy7w3ULzn9C9R+G38z896jbobVavD1+nE61r4/Uk/E4vJPt5th6xKeg+5ANOScSS/Ti17BdB5FDlsYZL0Pa772j2fIszh3MaCoJlbMdmlsIB5/p9rFAP6RRiDSWQgpwcd59ZVv0sWd7cke0WECejj+zSdrvXl7Mz2UVdgLwhvv7HHs/z1esD9dvf7Df84oqucDQOX3fCMearP09SW0NXOwxi8Sr2YE/Yh7P/W12/Or6cL/TAXqmDy/uMbPON7pUad3I0oOOJtbcyrd6N4GOd5dEc0tXN5XIVcVTn8sz72NVtWdnAuWPpMgtf8C2PHFxO7Z2KW+NwQynMGYc9BVvbHAAMV/038iP2RyPmDbPvOWhe716nV8G2m8xWv8qAyhzbvZX7xJRWLHf1erYxei98PEzeiG9tRJRa+3xtxayuhBNXdaqY+9ENNYRarmzZ0fkUkQpgPCrJXaosiXSMHG8lb3mYSU+zfTwNFv6gE3OtGM7hjW4oC5uNssF98yR0fHFN/sJPfLJ2OqZBbOOHQ1Th3YL1RF3iXrhxz4NdTjEqTw2uu5VhT3gOPly7hpIRpzC35QTs6s0ayJTeYnNr1Qu06dTn0W1/vtItlGpu5jTifNBI2m9Oikf8Aizm42Zn65h93hxfYyHgNIOoUVj4OjO+E+zUEGkD+UX2ua1t1xZIXxuKrbkRURMe6tjSPbfFVrfX5yGGVTs2U7AccgBlyf0R4ZL+NUp//2C0NsBK2mi2GcieUEsP5tWBdUG5R0zqE8/njmsA1Q/JOnPb2yXQnDb2z/4QWEQRCfY+vR5lhQ0yvHsJ9PX5yb4cXFJAmRm45/sZC+Mgmzb3ryrTxRR/peRY/fGru3crJxri+RrjTRaX2dM7bPHagmcmnm55JdNDkMo1j4DDDZQIGt8LW244JBPz/iokOs6j9WHlVDL7HdDHFmY9C4zyGDAuJ6deOzMTJwjUs4Ot1YD+OWwhR3SysQ4WyzLOQbt5vabzcWq2PO62Z6Dj4c6T6ltXgYkUwxPbvnEFWV+BDaGVJXwej4RyigVGHNFPvBtW8kkExAbwV0yNPWUnHomKffcmvCeAgVCv6rbe0g1OeQ2QsjCK3aLE3rxYNMpMPXmii42hgQ/ozvwZbV4tl6+HLKY875fI45x3NxqP6oXqw/dMX05Azk2+w4cLRIXty3eL4lzEaccDwfd/kne4IQOShvh7Sf+fWJie4qoJpvdRfZYsnwYMo3f0+qYv2dXg7PdrVs5IGn06lLk188npWdbTgPyMV35hg+8W1oCtw4tH3P6Td2RSp/POOXT5vbJzLY54ZgGQ1/fcbvahN/yxXM6vBWa1znp3gWdv4lJR6y5nsdu25cTN77nHWx7sI5302Z77p9m509yXsLcgHeHSn6RJz/A2ev8sUt0lhPv3dujorXQIQxfq957uqCjQuQ36MYlhLfVXEbg5xIPIbzBCBHCJTZ51tvwnxXjj7IuLugMPh1K2+1Wla+dZHHT0sF6Sx2OLgVEI0Mt95GohObm10yTa/4mlA7hOFf2diAYbYKF+EH/8qjibYqTqmbeyRK35yEoSCcRRhvhowe3/EIp7sC2V1u5QfaWW0XLa3pF8NbZvPgUZ41Os8dgnEoY/ATo9dqdWYojaM0PDtYtRM61PzFVqGda9rLOgJA2yTkO4ecsm1OyaMzZDgw1McdGl1YjyqO7SfKSkwD78FcL9Rq6PoqILDEz0FWisWeGi77Rtia04TR1l/SxTfQcHnRZlgNoqg4Zn/jA4we6at3AjHrPOrhMIrgdMfxLmyx2d352Ub1QyZGnSul+WDgMmS4Z3M7THJtfaq/jeuDR7gNVP3X5rupaqP8Ntr/4sDVuPUpFxxtpjr79JFZe2Q9CbwzCG/s/uRX3YRfaL5n+mLbOG/IEnAj2k1XnNKw5Wir3I0K2/v2JR/I924ODD829X2WydgVaQ4ezNkmD72Z12fUJMlxTzruUE7CzGQiDCif3/5cq8JYz1B+auE/YeSlRVYM/Q69UESy87mBGXhMIiBxvxSaj6bDhRwmnKBzVTWXVs4W4FO/iApL/5cBsbw7MleWrS8vru/4Vcj+T9IgbLRV0goIoEmNDTE3NM7CZOwPe74nGqfLVaNNmIpXTbstSWbO4B5eNpw6+ULkYGprDo4zFxNyNDqW0T5Yyf1iQiXQJ4LxcbavyxN8cgMGVcO8q9cY96P41sEXZmW2zpC6SqI8Z8WOfrVafs/GPIa9MwrXy/iQtelxRj7EVpP9F6+lmAUY8fl6sY49RBz0Dvwi/+Jjxf6ABgH2w+1MNLhZB8b0nCNkm6n8v+DeBSrVtz3PM30vLEqfZlTz/JscEsdq2hDOwhx+f47pydS6esb1A0vxrJ9cdsIko39LuOWmv0Ho2T87HThG+WSKtlKVfX1t83z+Tq4eUPvacc79B5eSD+gAVnfVxUwVdj35hY0qP59MK9Tu8jE1J6flW2AyuEpReHcYtxAk8iTbxGrKLLf55WNUSQ0ivRPvQnDH34JAgxVj/pliELyto1xr4rj/CgI9ThHq2rjh9Y6ApqkBd5db5AwExy/G4PuAwhtO4OfMsts8wWjlezsta6hPJ0Ho5N7nHgvj9w3v3KGwBf6v7u5if9Plxzi6JznL2VY2q7NYKrz9QywMdQAAQABJREFUTYkFKMv5ssjOzC2pmfjysBy1w1KDD0/huhrTqD/uiZgo6nvVOuvLR8cRfcYr1OYV7ckHa6CJJNfeJGi3WUW1x0AoLGsxAnFWw4r/0SR8lfP91OIQQMYZT5Lj429jSzDO62LzI0Apro1n2GZKbn7M4YfD0POmfuswxnBoVld0M3sbbIJkXhvoBDyh3Zr50LnCBWH4uVykd/wUH/vF6jDVAR6u3FAU7cPI854A34aFCLmZcYxs/oxZHmXPLpn47IdLFxZ//40/7MNo79PWt+Cc3T/4Xcj5Uv7hevzERiI/4/AGy99NZFfr80l1lZDLyo2quHWCwvur9Met2BalmydqAJsBetXMjBHZ/2xeU2CHpCR2FWp4Kml1vVZMN5MfmWPs09EhVrdX1W4JDyaBa87GW2+OQO7aDPX+iV7T014yGlAaQrSPTQsfd92InqOqIa3Q57MNQz9+GeSOm88XD2cfbwi9ff6DwYSK36wO94DqBdE8m8HZPtltZMyw68CAejYjZ5blyaWxgJ57crCallTbHsUZQA3AXt91D5ipGuxijq1ozh16cIIwleXT4mXkt+TdjRrGEHrJ/zvLoNAW5HH2uXJmj/vZFeoszPDjW9wL/VEW2626L49M5CNIe852XR5qbv3YS/5w5/JjIN9WKJv1qOJ7i/zlbFWNc8TzVSy+gENuuRbP+s/PhfeGYNbe2eAq9Q/gR2cmV5wXx9M9fxJ+pgpq8y0fo3lg5QxmM7yqp07O4OWsJv2WT6OHUZMPjtu8jheDYRz/1LnZblV+9Odb+w+HMgYvzjbX7H7wPh7PxgZhnLOlUm6uyFJ9dFws1MTNT/yuHpXtTH7dqHSpinNTheqwELZjhbMo+tq5k92mTryOB5jIuXXsazrU86ng5J1QEYs1smly/Kf1VDzHkTvv3UyXdugCqQ+V/0aPtqUvqZFdeF0Z2v14WJmRjY+/HhTsuPvrOmfwrBzuijAImmMP3OvSeBt+/hKrzIDTz76rW9WT2S1dFe0pmx4Iu4vMIzNnjj/MKO1vtSh3hPzMg2cYtSmOpestePNiDABxsWDAPlt5lXa2Y8Mof3S9QP1noEMFDfs8mVvYIymexyMNAkPTUtL0+ngtHbAUzSQawZyYpOT2ESS6Xaw66vm/OIsFpDBbpk02W5x8CLIdsJg+cZ1Mo3B0unNlbOmk2fhiEY/cGMpRh7RHI14HQrL4gb3uXTunPz51P9sbn9f4PDj+8J5B2M9hFh97Oi0BsMY77foM2sjEWp/Onz4bjzJtxHkA8V1O3w0xHtT9OhKV+NhhIf7LMT/qf8fMtxuGvX7yObyebxPs9X8xDPs3A2YMxk9s3RGaD052U8aCijsUyAjkdCOcvZNvTBjzmMw7xSYWKnMDrMBwiiMb+koev6r0HR3FVYw31cmG8VrBGqzw1tAc5FdezHm6mQodhs8o/cQBNffKrnpKDuq0JpGdIaHzZUUQpy4sP8YsHJ1L71dKQUvE3htPyg14grurbEoFTfuNnLGlV28stWJoLopRWXZAdN9YAU/SKWE1D4P856VU5Kb5CfCQm954VGPmzx300t00guPjDlmOSnbuCfKizvlsJakXa2HuEDnllJu+/yqJVFseLa7l8kIx0Xd/r4wAefixA9ParGoMTwXwvKEzbjJ7PE79CLi7YpW0TMNnjnTyRsYUIGR4SXeXt7P+tVBmVlwaG2uaBZEYo3aLSjSj2Q8jeDh5uMPIphzlEGTqnrTrzOE1FbXTXkxPeqpKlfEHS+cze0eSk/nSWxe3MOSp7NsjCJdPqT3ZBwfC5QzsVvJsL64uLfvqPeyxs31ztY7qj3tnxvLy02ajf/uPC91HHufpRMml7GHq53I+fuIfTt5yOt5igYq34d4wpJObcZsegXvVOz+G6Tbz5s2tR/961PZqEA/g+0/B4GRzZS3EfR+QakSMyEbc5Ph2n2Wi6YIEM7XrCi8VfroAN8/Axn1HuXch9m9Okv6H+15D9WAaCfHH2cc2AW8sq44QxEZlL776HEhEilrWboY+Dmeedr2okw/6e18/JcWxrAB1vuESphzjMBJKdSUUez4qD0l5Brq7SHr0aQ9vHnIl1a86ngsZAaIO4cQKBXEbi79YPmuB6VExTYePUd7ixUzntlg8yJ7+ozPmyQLhEn+mS7uTeoQuE2upVMni4lh/cTVaTrGOh+6nzRqWJCpm8zDJ4xaAHoGp1sxthsGv+7/3My2zyvhZuASwvD6kc31O2oB1pq/O5uf4npy2HU85rqmV1D4B/y9DuIzqHtGKUlZEU42Gmj8qL3D14R7mv2QCxH82KvHKrlBxZPNZ3q5gSVv1LrfsPfvDpbANELx2CB7Hx07be86+D8py7NjPCuPPXn64MGC4vr7yB8+Tf/xGczGEb/kUE7NofJkXrZ8dyuWdZXUz6PD5CiO8ePxutMvGoVd84bnD2vMKV7CRghDFGXBX+mqAQG2orOfkWaV+GPRQFVRWm5hjb6n7q+KM+Vrb35dkJ9k/tiZWhk0kXr1zG68beu6VzYvsr5Kq/ObcC7d/pw04705L/YtMoJ8+7DI29WXhBW9rGpHq7ESeVs7JrGKhcx5SEgefU6VW1OtVahK4WfpgLSJBZnoe82OfVNb/zl5BrB5Gt1l9cebDOA8fqUsnHkZF7E1yXq2NXUqxroTPVm61455ebwvVMfFx9ENc4rmdNV94Me6qe/aYfdruxsbzQwx+vi7zBQBgNZj5J+4M33pQNz79fOzPY7SuI7Pn8ZOvuJSfvb21yW7BnRaNubn0VLsGroU2JkryOIyoMH+C7BfjsE5vZop/Ay+iJxtOAJzaHDYJg2mUL25DDHNn9cmmlmUb3vmNk8jfBpheHUbbgOSzf+dPHCDxKcanTl2d4h7XbL5jYQ9/JsX64ZYm3+BenAA//j++xxNEm7Ob300Ff7er6S62XXrDEXR3gpe/y/7Zj4qcCMg4bE+n4NP/X+Str0CZzf7iutJnr7YXX8kymq8wzykDdndFLTvPbJiWyQuMUWuNHo/WsEBdck/cdwymfmRdmFpKZ2JesdsJgIjbpjdiiQDf3WQklVGfYG+D7NeCEBnI/Dx/jE8sudM4/QlH+GyGFWA+TQO9KBB4ru92va45GsVV56SaVBBBRGl/9v71YzeyX3/55ZT9i2Od40+4WB6i2UBkTPe+YfHk8sU6GycL8faSi0P+1dsjrRyAoX/cUQmjQzNJVfpZDqOYNsQEzCEBKMASbXaMDUKwp3PyfCl+bMoeVJbpVH8iqa9OP+UG6uE21u5JAP7WluPTei4n/Z5vuW0/MZMge8IEIid44s/5JXEIJ8qIf4iL0U1KCu1muyvpCcwj3QEaQ/J4nIu3sairLxe83ppppufwDNq4bvzsdh6nV7HPn7zqH1aen/3hzoexnv5hxjVOg/mOjfYb1+wYPxlnr043GmxUo2PB0zuM03Z9AQ0DitDgowfnoHFMjodxqRrTtInD7eAY5VsQMxO8Juepo3hyzvyHZt287L9ymBY//OqQs5EZd3WkZrD++nofxflJvdjbFSNnfKCJRSDrjvS+0Q6OpMuYP6bB/x6+oL1xlCSbzvQI4CXUv4t+8gHzn0WXhT2tdzDcT7PL0wdfAJVtuQmYvN5tj+/yVWZMhnDWDOnR5pEs+rM9ChdoU+vnJrYXQiazS36HeE+XgXh3HM6LQeX8t6nwojRixHbM4ZG4G7X6jMkmF2rFm0f6t98q1EdIfVybOM7N/QSGtHwfFnmt6c2J8T6ttNUBjLLKoMkBzn0MireoHQqYcaW4/ldjaT5eFK8hqmLmhCRXHYatG/LZzmw5ra/VNiE5sLjauoyKF9iz9my2jS+eF5bnpwvBWCrjfrGb7xfnW2R9Hybs1QThbKfTrlpx9suMi4A3bF895mDmy/+pUN43dh0wLI7+F0P51Z/84bJB4Y964955XMNNLnZ60C8Oyqfcd5K+l8S4XxXSDmduAdp87x6zY4fhwnzvDMIYq3Ecn/HcI19Ok27GR+f6Fm1LW+dZnXL4h8N8cU7r6NuD1FGYj7TQSSv2lowgtrAz5Fd32tjuN+x0jwnK/SLj96JwUSF2N9KJ1bUkOvJ4Xcz3YuEmScukKs+h/GLTkvQf/4DoKzwkbtDB6JdFO+zJ3knLrDnbfX0vAqs4cXJzNgDmL7/zDcbNQeeiVNXP5ewAtgwk4+kJlB8ue2FViLe6XGb6qQaDerSmy9WRBEupkR8HEBdu4WOJjX84+tVMP9qcMkZt1MtnagE4MJwPJQxoBZqtff+e3WzSA5tTWQXzMIezjeszPD5JaYk7YJtgnlMi8cL0323L5c9nIzr3Y5v+oWK9WJO9ejLwV3CtgXbvmftFIrzyV+1wOc/3KyxXc7ZuknI426Lepl6kF9jXNdgmYuAuarqG+fCvn0Q5gq0k+nTU55mO9G1CyuFNTt+z8veC5zjb5I8T2XHFIZ9jlt7G9ven3D5+1Iv7yZOdvskNfW/zRRzX79j5Lqf8XCwZPl080BA1cq8EOk3Xy4u0ESJNScez/lTQzFVAJ4GTTp7ldE4Fpk1cNkzg6pTBrJ5+JJtkjVyQnPQ7oENmuotwfX8VnHpt8QxVvz+KoS1srGajV94QPi+s+1Zcyr11Hty3y60g/SLyP9ai2xJsE23IgbYdlwxNM/5i3cWvO2x9p650+++qERSbWEYFSN2ubGOV0rYdm86N5dLeAhVnZGgz7dRsiaLSbXzyaG7lEfB6SAkleg9s+RcFbT6uDVXyfafOQa2wVI+Q41RZZDec0v3LIC/fWza5NLeVIxoDNKwGBR1BMTyhXI/7cPq3K3s99Ib47lvtX65xz2xogVELcmbPVhez03gZzkOw/GSSZxEbPeQkT/Y9F9/btc5KU2NyGkU+qlkpNC5P5MX5rfGnf2NNn7F4Hrd8tUk5GceGYlrNjH/TK/9iWl5OjHg50TmL2dg/ucrJn2wC9YLVbZM014dZ3vkT3lPf6Bnoo03w4d0kn0wM/eJJ9vpP7li8PE/2zj94De98ff1dLCZF1cch3+RKnY3FbbSO1V/MjMQ6tn10h1FgPWra0Alvb4+b6ycXwJNJN2fBNxz+2aQE9DgzYdVkM6hvvRH/3pB4R+nLwCm60PxDvUn8Kso/CsEmdHo9hr3rzDGv4e3UV03xZTNgmwDWN6LTcomPmCKrLPY+m6RqdLk9CJxXenRzMTuycHfYVaJh6iUvLsVVHpilLBjr0U6bSStmRhW81ZEf/e9ZBfeCgGguNaZHK6btJvLjV6u0nn5uABCpbDuqHsN10RNefgpvc5hWfApi9mVaFD51W3iCvp3USr53iMdrBYw4Ow9rjqNnqNfQJ/tEcYCH+1hIA0Gn45OsjcY6PbvbeB7E89fmYsr3Y1Z7IM9fx3Cjc0z9VkcBi/0Uy6E4xtORwyef+hmdbJqbuGTfPnYM9mP/PZXctNNrdYs77myIoc0EV16ryhwDn7zx5IiGARj2jcUg0HZvyc823GE/3FHH/Tax3XWe/Hjk96lPN8NvjM8X8p+xHVbc49V6PFPGZ1eMvGfjuHw5fGXTq0D7m5zh/xjP/mYXkmwE0uRU4Okp6juedCfXqbi3IQrqjvKzGWWRFfPmEjNBv/XeekvjgeadXwtMD6TrVQR3rx064bdiuNly2TPCS3gxLna+74pdzeKPAs1KByi64Ivk3Q0++bxxxHcbya7Cr2EA41rWEur0N3v9IDMWw8yk80VnX3un87V5MM/IggupHAO9z20bBdhGMGx2srg5+PoyhODDXm9hjfdhVgZHaTVaI8wn8aXMR6FzahM6gjtlI16XZZTxGIpt0i9u0CJ008m2UTOAu7aihXXler4scZ+UyKFwa+WsF3eOABZLhvUSX4QPku+jmMwjPhZToh0+AjsvGnANl+Vn3rNYDr/P9jNdPMa/HMbYeN7aGOwmYz2YmUc9uwns7IKnL89hW0kMdn644wH49NoY29uAGqt//ACnn7+3WT372Y3v9/5ief6/eHwx6OfiS5ds8X6x5uTzuAiEbuMw1xfzbIbdWLRyW3L9ydBjvPaTfTAIaM9OsJIXQ8rs6yEf3lG9H7qtnrP30y4W6Ys7az+P/H0ZZSLllhn/vyqLMl5viQy5sb8W+m+3kb7LJH7b3SkaKl/2+u56a5IzptGEMwwE/sky3NQv6Kq7K8edVrdeEdkSrlVK/C4T8b69v89CF2Z5CdbuIzKDNjxjtHFCXZqeDe9t3+tnKsU4xNKIe943LkYwFctvusNow3MV1GjjSmA/lHIQbjFrniXXZ0xyyIKgODZK/0LNx1t5QsVMecYJJkXyfKUcf/EskgHCPCyDh/1suAaXEFr1AxwOkQTIrI2V+blJpks9jqCPw7ztG22deo6K+zt6gu/0BvpxMCY/s9xrqIo5eSkr4dJM3nTjr+lRsQg+eWmr749/8pdnsgVcJAhkVKmuzajhD/zTHc6p0+aWXOeNo7mP5IkU4Dgn91J4OP18Nz775zv5uB/Gt+766gueT2xfm5aSvh4GLrqfDTP9G3smjn7s89TunRl+7OLg8OGibA7CKORhPsqW11emOpVxCbmnnfoe6HUyv6aEUYRvPKMwwmmP9zMoJpm6+r7cGp3uY8f4XQZPta9arAAGLBluL13+bJKXmcSCtyqJsw3DjDP5k1/nWxarqj7bJPcbPwjvr6+yGWCEtjtR5MWrX9kv6+MQtkzd+LzjXXB+ZNjvaT71M13uSnvQufaqufJOCIb22Zy0WdSc+6BUNY3QjJjndgdF8s++8/N/OVQ57Nr9NIvb8pS5pf2t8UsCsMlZBKfbZi8U31DB8vSFlNMq5GGW8H8k+tIAgauak34NMQjHsOc3hnwAim2oRXxxp5m2VO0aGhyF6FlSAvWVdU6ZzC/45ItrnozrO55MPslt8lSaHZUn0uYUnMNnc/gPwau+2JG6odQ44YkfqXZ2oNoV47nM6YixhU95qxVdm0bFVb/nNi362pK/ty72k8eCDh7HybFb/3yrE4etX460+TUW55fM6LT54JSPn9Pv/ezAn7+H8xc2itfPNJ9/zn8zlsOm5vkuT+TL43ILo8PffRpdduLzP3ycJxv/4pocBU3f86/l9alvskHgvo56jfD//Dj8aG/Rv3yIfavnAPusTHMLzTqgJGBd1HGOaWtKXu4oKZ9vpPm48k/+bXZe0T95VFbYZc3//dNsxcaWZxIGyokdDEeV1C882CD5fyAM6jKLoUuj0HSJoRPWV93GEpEfVBq4Sxh4bg2qh1eWRLbucOvQv4SeLjH30/FHBubsjghu2KhMPOp+3yR12H8nuVow6tIBd3EZUvYSusDk0rFFse/A7tk55ulP+nThYUy6qi6ZMmJiOlPnJdjbBnn1BO9ng5u6m3+7s/6U5Xl5fh3bjIx5Xkp6v77d78cAw15wWmSpta1IxBfWVltd7jX9siCMcb4FnvkQLDrYrBGs5RIcavTiPi2jicHZeUtEiOla54yuJg5X1ZFML/i/5bPV2uccb6SPZJA9vecuh3TIAaUTQ6e46GxzYV0ch+P4PId9+If9ysNCHN/ZddcZr3htn93O+eMw2+PCe2MO/sjh+H2JMx7j/6mjr+TFefn+9DcdCnVx609ezgp/2CpkiH5nMY5f3Rw92cM6/sjrM8pug4d3Vchb+/1EXFtSGbo+WKG7auwzy4cvbgm6TBHepRbnj4OfUfrl7i1MvHpVunmeBy4YGrLzsrig/9Wf94FYV56kwAqcG8wy8xJQ7SbKmf8bog2V6vJL2zh1MxOqfwzHdOH9GMypydBewg0me/osL3XUEsLc+YwP/3ic1vc33TQYOj/mYFjH0sb3OIt5/guaMVHlKVvpryl9Tq2N+kNq4041IlH540xB6MYYX0VlOLJbjVKNTw+L057ytY+f2HbRdsd3F2FiLDcHcCDQtpCeL10gT0NfsVUrGEPntbW0UCy9w44JpFGeISO7POJbfDsmfDrjuLKEPbmWrbZnojIuNROeaIqOeR99yo0ToF9VFtNcogdnjiHt87SvvKc6OsUS9vpiMNxGM9nDxXc2j8er7F1pw83mp/z1h1sMkxkXeIKQ7+mN6av/KRe7PL426C/mOC7HOF7/5WTuTwbYeL9+1b2aiFp/5//qH4c6gdXwBz4x8vTJ7b+RXPd8slN5UmfjhYBFyCq+33VmMNU2mlDUyAXzW1PRKgLddfJDy20kamfXOznPfeg0ag2/QQKUW0EXLndgXT3v8nB6EnHarxRlHwEbJN8WL7aWjNl05WcU67x5I8JPnj1uxerjtVM7POMfnXVFL6xRhSW/2k7mvW0h8NnRv88ikx7/lTnO+iir8oo3Hwr4WKHoNKb9FvX0SM+4ebIWSTq/VdMkpToivb2qUDZfyzZGfk5ccG5RtveiVj/J9cCW0oXw6mclep1qfufzh+djkHsXdoINC75NCmJDdvM1xSvdLbg5bP5/fMMl9NHIma2dnE+zYxF2UU93EP0Ez0DLBE7LJHcc6OuL8TTixerF7rNrVA7mkbnnntbwcHdWbnMO7Lohvelr0zm79PS/m5r1nN/v5jb+7Djoy83sp238yrN9fJ5ff7px/o6b74f7afNiX25x4/f7i+6Tl7t55+tqQs7FefFwSi9Gq9/Hz2Yc0wUcTrzCa+O4VfBTzpzpMyOw1fsZuUmG3cVhLmvfK5KriI20Lcgtz9u9lPPEWvwEsbXx3nobHVDgfXkidVcVY366IXxj74MSc0hGDNiCMeouhv3hENf9x92nl5+ZoPQnVyVidC9jQ/BXcdTvEOR48vUVB/qpn0m3cM+eV5neZs/Br/319lWYNAjCF4kR0a1QjQjBVyZiqWSns8rZEHLy3fVdtVGpPtevCOJOiq9ypZhIFMb7DBTdtnc7jxxCM7jvwlYLjTPf65fAiZJ/dbi0BCpvZooc/NLX3xleLOrFl99Hd1kI/dH9RPwo0P3Yd+PxTYRsMwN4WAWP7nU+y+RAxd0MnFGn9U35kb308wH+e8cIw5luE4uxIO2pOvX6DOLi8DjVdwcm9vTx00/+bGBwQxLkpta/kMlmm5ZL422M5unTDalNTNvX1z7uwzMQm+1vmMc7HSZwHJZ+n2ueH/lcup7z9/iMT/mdXZdyND4Mp9mIkYfDT5l8Fg9p/OptX/nZae/zsAcb7uSchvG4xwQMzk3r6OLzn1J0u3egbOWw6avDFt6324baXze6FXhADbruHK/19yjN+P2FoDYA3nZ2ifhrPyj3d5IuHZ31y0FEhkhf9SRvszAmP75EIdbL0DBIA87VTkUfoQ7h3tzG1D+d1l6zZkqcDFoqo+MU/1fTb5elpmDsh/LbH0YOHPerS9ztvrEa+fVl04ehIC8e5er9P85xm1xYYFhUa/Na9hto6D99xLokRfk0Hjue/X1VtV+epKJeAoAA88yujUbDjSsHGjbySjNPmZvGypXjRb5Ajgs76+Db6vmHFif5yUZ7AxW1MN7ryAQIlfMMUejwTRBPXPpglLres9k5kvTifsrWV/azvehFx2stINdvz1gW889NbLF40cImMMH5bDwbvXrFeQGKG2fSyQto8rc5bsMZ7WRyfDcLOZ68L1Jw0Dg/32+pjc11Ll+bJbHUP5lzKubp0YJTJm4xaqd8G+/643123/z6VzzHx6nK7a+c0z9OuS1Cv7u5rhWaP+RT6zFYdnE9rHNTTHPwaiYGzdmvvxzo33ymDHXcRujDuTt+LTHof92yJ29Te/0EKj5xuOL5JUaL+ZpGtRO57k3IdiK/9abaaIiyP/Zgv7tDXDjb9FmKZjQ63pqaOM2xqvRyA+JABH6+V0OlWSOBeNWx4wXKNcrAjwltrNUXvss2vhwoBehey5gLGHfFFNcv/pWpgZIKq2aqrn7BI94JR10OxudHrEgb32cZCZ4sOwZZLmiPhkEi7nGuPI7bcFAU2yrsBo1OSUfSiufooPHiToZcXsugzBTGNc9pH+CwszSO8e1OTTOX4fg0scVJIOWpFsWVPr/hjic3HN62pr18xeaB5nwly/B44Z9nAT0wmseM3uH8ODy6aX7Ii4HxmJ3l4zm/GWRsFJeVXdpOxuJgc1ORUWwDGWr6bwy+Axve0/LzorW9C1tyNw1di/AsRnzn32TTPfxnI8tm34fOXts93/jd/X25v5jxzd/j7Jtx4lwcv3MNv7g/eJIPa24vF/rPL6LuJDubEyDr9fiNE3Fx1y1+RauJerHq9Dksg6e39/SJZ2c3fLLMOsSD7bt+jNm+cp8dEOjqDe22PCea3DygUX73RYah5Qfd2hPtekCO+pz4rbf31+DbsXzLHFDUwsnEDHobDLR7enQq3Pu665Sv5YbZvS+sGOCNo9R06lhT7AyG3cb9faA7G/5s0ODY/kn0R9/vmkhWY7kJ4GINadgh5kcPonS6MjkYYZeZYUvU3eOgIgp5vkGzQ4dREe/Oxm5ImquS1328fsP001wI4lVB2WcjjhTYHtFnnDDV68n9geHpSjIhUfgRq59l66U45PJzZ8ugIdLynvZkSLVTK64agrLO/qQ7+7IDyWM8z06OZuy5+XBDK/MnpsJg/EkErb5tul7/51HZ7AfSdPbPTvmzMOZd3Ld9qwCuP5fyWxJb7FrOtkuhvpjgcdrPDt3bOKfv4vvIxi1W2+neebrDp6MPUPlPvP09jeF7J/eREbQ2/a4k2N3pPZ7FPU76GL1432eNz664yK7L+fk09xcPOro/YlkfSJh0hxHY766Ax2r5nA7R8DOMc7IEoNR/MY2RNV2nE9R8avL/b+4MFxzJbSPsu13n/R84t5f6vgJIanZ9thP/CEdqkkChALJJqNXSzEzBhmI1RiwJy+CnN7KuTYm94PrQplNjqLqul6w+/MiXKeEijUnqrmC46QRrInQkCTXCLELA3YWcBfieS0z+Cvpv+W4lCz5kEAHIky+P06Ado90RBcIRrshZESn6wG+w+mR108cfMYxPoD6850fm6B1at9VgbZcWP0obAFwMyvQgzRxOBWIMOj8MHY8IJwaHkANMxugY167zKsfEoGkwRIJnJkuOeHKKCiYqLTgviBRT22BWdqtf4jNFhBcLsRHyU9ooaEGNnCYiG+VRJSoaYBw+CrwoOlzsMZ9Tl2Rdee1od2WKI0A9pkaQ8rK3/Ug0KurYp8G4ROXQdStVZKtoH5BxHEpYRnYgu7lHI2f5CddkE9UmO2TQdfOGHUwOraPLeJkL4qI+iev09woOjrXbpIhNZSSf9WlSjc/83tvlDTk/8qe9vvRrvNgTB/XGVM7GNDp4Mi3ladwxmSvL8sLpz+FLD97gqKNsXNNXNDLaAIzFJky1e+tRUcmLTW1pFa9y2tV1XdvOYWuXQTNV1op7MCt2AcMCuMthyNthTOzE6ir73r0Wikl+s637TpaNmjM0jiZqZ4yVakzqCXxj5D1pPCX84JmaOGImN6C1q0U5iJsWwYCzjdAyDpVW562BgK512/3yX8QNlSGBSUCOG6n3IyPbcEySh2caGy/d/U9r2C6OhrqJ0H5PmBt4case4eYi1Ek1kIswFjCZuP1QmKuzQm6yE79mMW0YsA6RdHnlDAk6x4+WMjpPDtTpE7ETwzECZOCQszEkRk4fBRLmRhjaJsBKRpe4iwUlAw2t7UekZY1sOz1gWKFTVHPI8/KlM5SF4svFVv7FJkZMt0zIht4N33iUD3bx+waDpEFpIosXcBF1s9NGNv1pkyB7ZVVdMRdX/Nvf9st3ZU1m9PNkpAz1+K2cfhNqde2je/tpx5Y5cxxR9q125PnBnq0aKvsbJ1wR1SYNOYkha0Isem0uBgtlg4OA2FuHbPCpaIqltTzIirE17VkzUbFG5QOXsvjT/pC5eMNNxCi6NnfvrQwW2iyttmdfiFfIv/CCJrheIsDFSw+S2OQQH34Qbt+PxcPITAGK2nuaeEqXX3vkbOxO0HPk7FjfkuO0kwJ57ZFNgTf2OOcu3wSB0kD2U2lGTTgtb2edh4PYDyLXZnn72dmqEG4gb942bu3KyULZSX0cEnpIjmbdwPi0H3/iq6olvuEmpFWmX2VrqZq+nEayCWV811dkx2kM6Mqb2GCugV6cSyD+AZNiyxgNnIKREJGxaf11cRlGsCzWnHDUOK1dCdOOf+cbrvQiF3IjylJZGR4p4RtyNuQWr/+nv+dPzuAV50CNzHEgX+4I63f0YyOWtgRjl/YmufJVea4O9VGfmzTxB4dvX8NnIjmyzpFJJwew/koD+GQtrxCPrFd7YqMHa3KMYGVNlvjKzMORePY3dzgX6qNgV9UWff3KEYNvWBlvdcjLFYao7A8XcseXudxYi408QNpwsUJJ4NgipLKd1nJGJF4I69IGUig6RtvILcW4tuhHXs7UdBLTDGXQVh4SigUIdF0zkw1cF0RcR+d4KCuBwB0AyZR+mONoRTPksP9oPBmDH+ZEz20/HXCvkpmbT3z+xh/mjSb3DLUBZSTeLNMLynhG4xAnTio/gMEWjoxGaFpcqUyUWLUQhUMkLIsqDmBTb/8ZIEJu0R11QecIvbfwOBXusJ1qWJezBB0Acb9JUqcAGjHdPBsp47Pj4jhhVVQVZ5L5idu0LCYMpnhxSGcewPS0r5JYEhMKRF+m4sQqPAdwQtvAVnuFgmYcoz9BE0JHBfSIx7HnLtJFMEvGo6/IXbGxCh7mchUDH/1Z1drVuwrU2nlmNKmWoy1p07JOBDN3JFn1Obj6ShPZzFf6s6rFKZdzY+wmLl1tGCdxWEOeDgvfvu3oYgAvdvv0qo2xKy8HPCbZwa0ukLEP7uWKH/liSITnK0WvLxPp8BPP0dXW2JYnOny+V5swnxeMiSMQ/VrjOf0+t11uhFGpMxmMXURYqet8FQSWsjaD0F65itouUJscrBV+aatjTRtzPwdwcQHuvmXet4Bj6Uk49WxH392tKvcouXcY9qxkfhpApsqoeR/NCudWppuAF9hoSFk44CySDPDTK0z3Q3pNP2hSOFv1GIXJMT2QbtKcKy5s/0gILIMUomgLt9OOWxN0PStX0wg54Re6xrJxUIWUhiuDOj1GjLuWg4iGCeDYt7GEu0lIDvW1AtUgozHJtxdbZxUUtm5gOxyYRcJBYd9Dens6Kjw6NaAlO/Oc4L3XqTyH4JmL7TY2vQxvMV0ygIt8E5nGemIOwHN8/BcwppFH7dwMFCtXRYI8cxuMXC/v4amGFft5Hm/cgwhHW/CCnZ7tousHub4Hhyv6TWp1bJIUVBvItIuazQQ7K/LUwdqnBpMaPLLiUqexyQkdH56sn8rTPwlssa9seMduuawf7sNFfPgfHXNCLPuhzSZoZOpmTAc/41w7cYwYzhxOPeNlwMqxG85UclPXT/qjTwWbWNprC0AMQgq+WEor3HZVnlpUW8RNh3PB6qSIyQEZ3fxGzaroKtwDPZVpqPFwHbs9I8uqzO8UMmN+os0QA3KtkkDiinuBRpTLRq4QM0remSOa/xuTlvepANaZ14VxwWpwuwRCiSW/Vx2S+Og2d9r4cIWv6/BlTXFgCSXx7Bjpr64jM6VXSsD4GoxABstj7qF1/53N7OzAubzYNJNpzcHRSMmcgJ16/UQU2lKJJ/Vo0KPjpVkZvgj9uKRD4UNy77nSVtA415/3NvLCxGvTTHFR+Ccm7MYHihSphx/VJrERFTRkBxscLMXUFe3bqpmeUNhA1gaxeBURieqIa99Fy1WyXAQ0OiwZ5nGMILgOh86WtneYQ6HyZ1Rt6gvfYxuxrTEwyQ4h08py5QzRlj+H3oGa9R77TQLW8IWryaQ2yFmJxfWt9uqpmyCxg3ueAWtnH9v7NhzcflrNOD5xT1+OJwb6M476T+KMrGNuzPp3DJXDzdQs3hhHf7GNPWHB3nkCIy62g0dPqfwTh1B5IbYhKrZC2lWkGjK3+GszkMVSs84P/gvWbkDiR0d1+m4Seo2ll4LVs/2/Sw6c1MM6SVbw2zWsV7x63eMn1tJnMSWx5umHHIg0OhUSviWPaadOz9klM90nSYLEHfr82fD2ECpmYoByxcduyhcXA03Te6INtlhBUTFLSkqQ7BOnHb5uEAPgCRPPbiO2sLGi1yJd26nlLYGWQNlRrYOKVDXaluI8qmMuhIfb2UJF6tMQigiQIc4zioanrB05eoIGBTa6EMPNHC0Judd5i6Q6AD8XdYhDQwgyjNC2srScYoBK6/d0q+/5NiJvZTizUcFLocKaI6iemPIpzoGNZtEOXSQxxPbwDN/K0VZUduLgyr029dMNXKTysYGzuNZNLrGFg7nOIgSj3OSDrNyuZnF9q2qiSb/y2IydNe08sUW/V5mV7VUnmDf5XZvFR20832MoFzOUS0Z9MEdplL842jFpkkQHHtnjBz32K6POQ+zOY/Vjix8w1mnTWvzYRuUYBYETOza2c6AeAHqa4qa9WvYCcc9qKKhwkBbs1BPolJVlBSRcklgxWwO7aDqzR1HMGq1Fj7lHmcSYq0pgOMvkTCKM17P54mm+Y8n64WozKItLZ5MfKyokTMBuVNq+EQu+ty0BMHSLg2DTSOfirCK8EeKMqDJOunl63YKfRhuduByqrziG/k02ovDjANSwlM/4AzGhTCwlh6V+9Mt+hpoYHFqajtjxodt5MICgKNqoSBxBShWA/tXDNrjUtnFBccyRYD+K8K1WjskyYl1GJ3Zg83afl0TC03lvH3QS8Us5lGlnbOAyL0rxm1IZ43ZEkRiQGCEz+AlTNUuB9SodHHl2od+5gtd3AQPqzMp45yixeGZm0pyBGaduCTeNCcH2Joa41LG6BqqI8MFQrl3b+FIXBb7w3qvM+miy6NUefvUVKj+gifEm1ftWt/PwfnCDHXhs+4wdfiau2tLPKo+QZe5VKDb2g49APD7H1qtFesRD/GNLsv/mWmc8cD1jmT5y5j+w2KMfTOadmXIO0lA+sQeijvSzeqPBIAU98wmINg3mVLvFyCBkMIMFp2Ht4dFk7FkOFHf14eJ0N250gWqDOuPLKptsRBqLrJ9JDG/6FGTr6672OkCeREn4cc/a3QiZMQpZqXFHQNNogxNPd0y4Ci2wowrEt+p9W20eVR/t71kqbhAEXPVhwbDz9ju9DbLOoosWSPnTMrTAJwTV2BsB9VhqhbC2Dbbo48cugwiGmACBp6mhNXAUdb7QGBmK8uhrQ++nckOK8WjLF9+coRQTB3HgLMVTS3vPYGeA7K5jBrq8+PbsGBC3MZhPWS6P4xoxKrGdD3nso6c38m1GvKd8VIRRJDHDl3LPXnSxvfLqEXTS0iDogHQ71vjVc7jZ9BQ2O/KIxp/djBfAzkKa6Y+Jjt30hZoEiNI5jgxu/PqMFXP3JgliBGMSEbeYta1+cRDB5WbRNvoQwAlHuUhi+FxdfYqJYWMaLC8S8C2X9fTFgpu35fJPf/j1wZhIqszBsd925wpdE11n0xh2LqIMnX5iXg65kHe8Rw5QXeJo0/mol/KQiIERS9dBgcpWjmhw1YJPi6UyxHQp7dcDKwQ1NYX22jG+LJ5VofY8AEa4fJybJVhbsC35FUnfEdOrlVeTDKYZhiuRKOxGwro8BRQiDP31HHQRYDFAd5Ow8MMz5uavOoSu9y5pPfSNYONqHjzqNMzWGBspAr3u1SuXwGyuiQ/ylo1h+6kbLfG01E34WD/8fzXPCvETVENKBgs1Y0NSiyDbtAuexv1AZ/VE6ulMlVuzfsumN32z/JfDzFs+WBIEmhRPSJjjnqGrbCjV5zjIDUsrxEuOEXYAw7GDkmrdoB2F6wG4ZXymjVoa5A2kFbrELx/HAa3bairssngwi8ceg4RYuxeDQ+Tl2Jphu5+ADpzNTwHDnJFgEK2+bcY0+vG/uE0e+zYUFD7Qq5ua/kmEyqoHU2x90O9b6chDVP29EvSKEJso1k4MfpFhg39tXx9wtc9y7RfTK2Ns9UNNHMg7J/ZnPtbfTEH9RRfkwces7cjgod+amdl2GtgkjnNOvuBFYDCN00x/29uAX5iHo12186Gfq1KXc4b4IbTXQ7AP/MgO4kPp/8xBlVDIdaxg2AXFhzOArzSya8wL0ucyB4n4oMUz9UxMt4G2PSAeLiDokzx2m5U2Pf3HovY9Bu8lF7UkHCxInIWdxUg3ScZF+PjcFQjDmpgYGDxT24SN3cp0z0jkVS4+B3ctkjFVjptT4HKaqFEooEonAXSWiAM69I3KQeT1iG9InbsFo9eZi21s4OZUXPrrC+HIHbn+ubJksJYx27lAs6oLMPAgTT7qS+wUCZ8xJArGUu1M3OlHunP86WLwDmPCooLlAk8rDeOQrv7YzJYFWXPYuCY5LGPwaH1miQoPH8utyWI91x764tPHVvtgw9FEknp4YINjkxtYMOcPUky/mPCG5F6lto0OG98uU0//+MIvP7G9b81rs5j98viJMXHJE3L48zhJz34OygKqfv0Gi//gaVB3/Mhqgx2tg5t+bdBdm2Lbj3h0re1DMnIbtCOqdCUr+xn7rhrGsQUO1msSlNLM09kEYNaO+q/KQ8lficigTYLMHgkQdYT5oJuv/jAlpAnOcjTuayaPT2pNRsBIrlxgufW4zyXCEctGNEQ14ZoU/cs62dJejAo9B9xBkp9YcVcH7lGnxo2D7A24KgTgLcUKQRyaiHFM0kBBJRiadNseI/UrQRkMKM1cLc5WGToj1WFzywQfoXLPYlq4E8TQbvEVx9uDCZeaCRw14TENjXWE8GRcag5VugyX02gDrJjBMQcFnyHztj6Q40u97r2QZnyOJKYEdHHYtccxDhLPrB2wV42CXVpQ5PVXPuyKLRdqxzsER+8uvP5pCQl+z8GYuLnrLBKEISQJNX7spo+zCJGbEODUZOqj++yzGqD1qjCG9DZhoeNUtz/yCOBfGZi9oiTB3U+5a2vS1ab94g3VcZAs6yN1iBl/+9T7LP7I0yBm9NYMXduLiyq68UlLP62xaZ+6HJVdPcTVDDY2lBcvRpwaupatjyBS5mz7R7+iEbijp81asUw/c5tt5a4x9lVTL9+kgVd127v4piZR9toL63xn3O2kMoJMihvFG2XlYOAW1cxaMMHnSMdNw0lIjPagksPbZvawREp+7iBwWkupbUPFrhcJuMmRtJ0YME3JAecUZnaadI/3jxeTjubA1tZhxN1L5WhysMSjw8ReNzM69GMkHjAzgXRNJSCeTpPdJqNyBQn54LUKpXedoaYNK5xDmZ5N5YTNYPEABqw+9NdehPj3fcDhAHTRtEhivS3dDWgCNzaiq6E4LJ0sZJJj3agi+nAh5Nqfxbn20cNFwjAad4hk3dhD5ulNmzHik6rzxkuplqPDf+dCTJZQV1FHgA0c9OBUquxJEsi1G5vhMClNG24TT2zh5wl3ryZ7BQi/yYs6HTBNdMSA3dqmlhd5cavr1WKxbXeumlB7GdHf1gnm+Il/ecLn6Vl+5q26+m98+BRnjGNDPOG785U2/X2OHgE4NPIMF53TVx8EpymFsZ3NAB7SKTS3Gwal6nuKj87GAF+b5TEmUgbK8bs6zb4YuRwXQC3o1t+5YHMAXcuOrZcl7MVME0c+H5A4R113a4Zmwk+j2RET2SetpR3Rs8WZ1qaJEJEI/wiFIk5t6ZigHRtsMVdnm5ZJM0djzpG6pms2HrGoAiMG74VY/izbiqEH04kKQH5iu1FrIy4ygeCCoYu1a6IhCJtDo27HwIw4aEoEtBxr2os1MP5APFfsgXECkLVtpGPYWWLo8xBDRE4XXuTtX3PK9op3guZ1hgDyygVF2tcPVLVXNsriNRK7GwOWz6LDitY/HBBM33YQ9Tl4J8L5dLwOHJaCTkwGGzFUE7ptLo9YPZTG2s2oW8FVLoaEh8S30AHZzoENzORoF+kmisrLrW780d77ktiRDK0jR/dxtRjnTX7lJ5Ymz5XXPzKTIHxiNr7pv74ZB7yMRZ+fXBtLdY0nMOMgvsY44wro6BgHOPjBbf22o3eurIdjZRjbLo/dEMGlHN342L4OXQ4DAnOUw+96QNiC/kMUQbxExI4cezAkjEmaco79VnAwR29B9hb/QCPTawLorPRlSodCe/nCWabEYfYic2SPSOnbwZt5YKGTSc7Kj7mppXpnjohIYqVI23f123MiFI67CJpBNMDfQOHhqpV66Nt2zhqWqiYefGPacdQIM+lsTHIqGQBbJiE644omGy7/6iKSGO48DaZG6RgTRjMZ6xqcQWAuCAnnIMkSqw6QSd+h7looZ7DhbFzY50kynPhIkNDJDBvYnQ2mwDZaZ6OfXc3puDOgYanDdH9PW1boo5v2w8hmYHGojp1Lw96Fe3bAWYYjVRcY2sQ13GiLAHBNVCOKK8QmtqMOR+ScI7RU4PU7R/ErT004i2vSqg1tsOj6DMvKYqSOWj+DC5APVl5ZrwaXK3Vsyo3t2g+fXG1vUrYOL1jajiY1N6nobszEyFjbx59IZdVVtvMFNo88GVfbO96IHSt6bEWlJgaMEDEXo2q/KhSgBmPz6FdRu/p1VYKvWTkBpj8izUZ0cBXencDKK+/lOoZP4ysnqq+y/G7iLGB+S5FPAYhy2dk7fvlxzTIQb1sawqC6/MeSPTvm8HI1MzchKy03HOm79Z1pDye8pG2iaLEBHA95bqJ1MxtHcewG5wjc7s5lwR5xNckiZJabTUYt0ZhOrqhfZFkFmBsYXDseaP1HaS+JgCcxEEfGiJhmxyLrQ6NuF8e8cPUT8ZiAM8V1lXae5VpOQBE43c5tIo5FYzcW7BvEYHkJPAOd0OLoxAB6hgVsC02eyqDcQtu8HO3xVcMJQ2T5K0dgK0JqjtVsHWGM2YSjsM0I6SufkyKkxtAu/IwB1Xmm0WSBLD/26xPO7WMgrijb9JtAmuTePsmqV5aDebgXBz8JzgSV2kQa2Sal4tYHfBe/HNo6nkl28bN8G/ti6Vc24398H5uNE07wjmPmQ9nTXszg0sX62GFLsQ4ZddutP/VCsVa5uGO/tq/glSFPOZxu0y/+RlbkPWJzlu9pXP3byn9h5L13/tw3f0x9v9SXTd00FihsXY1psG8RRWiW49qFnen3IasZLOmSnyS9JJgdRsy4SvJMJAMnVRksKQjiSZruMdp1hv8YMpI80262anJtfkR3fXgJ4S6ODNPR7sZ208KmAju33WWQKlr0KPHvP+UIDofol5SOcXbEsLKttfTQpiaPP8wyepykxZHZKi3cO+V/fsv1248seVELuCHcOOI1VP6RJtwz7x3ghMJw1gODgCPfPqj77FZnJ2bJdPDktOKUmQHs6J5hSTDMchkzo5f4zkBP0AQcPkKT7zFGgh07ewote/JVXlnOO75+gUU/7mV5k4kTGADz2mcdnEQxY1sdeES4oU3d5Ias/fvW+asOfZ+bEItlide2nE2A+IRfHzmsrrK5Ig1mudJ0q+jDbYAuVnLUHuzlXR2yO56jx+PgU32208dPIPpce2rKwU9bmXDiqHCgB9tzNHogCwCfQre7ezpTYUdB/57n009jdmiXU1YzCzxlTbWV5CtHbA9oAanhpiRRslcJq1thwZH22iAq17pw7gXNxsH9sEyeyOhyaqFTXqbl0xy3fjOIuUk7DzcvoHaNgy1qoeKPbvBdRkqOcOO4Q2da/KJjZOPJhqCAK4OGFj6NPoJRKYOaIgYdnexEBkMxtvZ6BksrED4n4uH0uwT/nVn5npuv+SPGeQs6LKGNrdONvzokLRFi+mSnjNcYcvCRA/YAuBLnfm5E6xax1rKgmNJMp6HwEPBWGCJRjmfamPifx4gEtriQD0U5nTmDaLRKnZrqQVK214ATevyskCaFAdxzWJkwYhPjFKhQHlnPRkQZAwkkJL3PNZzKAua/FGEDHtXarwyhsjSwMQ7aUEdQPLrRq6vcZBckyY65FKMP9sXg89u4sH3jVOZfjOR8/8Zv6OIHf9y3xDZxZoWhjG0UJrrI8Q/X/mUg2+l7L3J0i9n4exVLjBMDOGKkn13cdnmx1T5RpqmOcVHoE5t12ojp44dSObwjYz2gj2Yg6jhoq1UP2FDKkdr9+thVLQAM1JS3DaclQuSuAap0ji592q99Fn2mQofR3CLHdN/2RdwWiTIPdh8OOXE4SY98x3hz8KqDDcwHDDM2YU7h2EfQb0cCiKxssNYbbGPMwNZTlRGUcGagUmej/zpwBFE3QMKjE3lCHBfDxVebWIl1EaHJQf61GbojezCBEB8qadPAlRw5AwpRgJnadg7ix/JPXtIRkOTgoMocaJJDfTAKM1+HA2x4eHVoexzFIBfvcZ9Bx1UM8mAbGUoP9adfmoSCXv8I8rSvEkBEu6oMjldNFsFOqWElQkyxbKEF0rUxkyAv8oNLK0JcrQwT1PBZJKqW5kXjF/u1rM6kImM4RleKWsub5lp1ckQoky/dJhjiwEf78o0tPH1GnwZ4kyj49LU5tt/YPWSohIxnMBB5SY6dZ6k8wOT2D2HBWe7xEXvj0GfbvTLMck5MG//eczxXkSEJbbmIAfdypWaU+EQ+GFpvPPa1AZ+faTs/+PVZeZq3zyRt/7Ff2anR0UkhLus9sIyU79lXffHoKjIulhBLQJpRHL1IEbWZnafJ004MBUEVeebG/vLQ2TYN1u33Jj+3LaJhSJMZIyRfkNjhnFKMWBD8JFS+PEk9jzqABqaAvZ9JL/gI3HZg4cnzhCPzSu1cDF2S9GTxIYssCp4IOGEljCzDYlUNAwNCVTV4MkIEDCfQq8MkMh6IUbSbxnAou8LDGeD5gAMOOqzwLQWSlGxxcjofuqCZoijHxId+F2F0m2CIh8gGTqBl5gXsw1cQxVY6BFS7UDs+vIVSbMj8k3kTAQQ8ouSuQx5NBOweHKP4l0pMgwM806uVxh42chHiALSHy0yEo2PdlMlWAJ5H2cBHELWrFN14IVxk0hze2oLxiT7tYsNEPwfqk4yCUJ5LNJIOnLm32PCSFFe2NVhO4eHRHjt+yyO6EIjJAR/wrW1r5LU/usO3OmzqB5vji7bjmXEt/45BmxkPMrA50Aq0z2m7DLEPhqJ+cRVpqw7987QzmLUTFxBrsdwDWDsI3iUx8kWh/uBdhXUNHZFAqEhXlBGUPB2wHa9bKt3MnwTEaimdTT/MsYWWzTDxp24SzIiwc5OT+LrpgsvDl05MeGL7eko3V0AEnUAE7HRzXbRxN6ZuAVczXH0Uo/+gcK2XxJOzCjNlB4VOe13iYB6OSy0AHzt1dipts7AeC9Un1DPGjmamYX0zPBZpg4k5q45Chc48o2RdIskP8xU8sxSs89Kxee4QkpKun+GtyUxhmLh6bvqvE4YPHwcf2AWnDAj9PVITTQr3J6k4FGuYLKDjIFf4XCyJKQz0lxLjulD+NCP/6AnbAa4GSGFI4imPKyu1WOYt80Xbp8L2SRzOn1UOBJydiS9V2ETMqfLKSdzK5OXSIPC2AdN+E1IET4KE633LnH7e08JPIjzfh+RESVx8+doODDcTU2M1vmT56jahVpe/IrSL4ze+YG18GRdDqx0xp4OA53DTWxm4Yiqjv3p1dFPEq1v8yLWvQsyAmW79pWYdjumtV1AasdO0wvavyvrCDwUP7KXjyQAqL2KPi5g1vxF9IWTbRiQ9jbz1hoA+yyUtdqurg+6GkZ2Ry8OTLNn5wVSrY9tjkIpHe2Cga2KLLNcnWkRxNi5ivU9tP21CyU+OoGsgrYdxMWCrYHj/bxm5lGFBrGgmaFDI6qNWDhlc9AvR7kxbdXSzExgCc+aQmBJtGCJXtemo35fjiEw5qCQIgiFuEQxoBdR8uNLExCjymHlvfD0L0fC2HNLYSkNkJAblTlU6MpxxnfEpCX4FwdHMBaanrWchoo52PjAauro04DSnjEV6iHjCh946bUs62kTOoK591dhRWD8tiT9tuitCY1uZwz86pv1YMhcfWNZ74pQs9bd8mmVb3CYzZWSdk1D0w6mfpLl1bBdD8vWHeI4AAByfSURBVPMZf8hWzje+evVYrIkVvgD4AUdC9SqWOvbfuNnJiU2y/J57nfJmLOXveM/b++BTPpKkOGMOP8l09PmrQns2ScPOWYdfzogszQoxGo4Rt4+z97lKZKcdvzLNIfJVUYPbNbFyg4xu5Viie/u0VzoRh6sMX7FC51C7dn7CsWxTdoNBx3vmnIr84V5WSzJgwvAz7ygjMVTOTkZJ5kzJb+2wSWnaaOJpny2UFh0btrhdnZuFOQ1lGFPoAYutjZ2dBr3py4Hrm4Pn1e2UTmj9EIdI7MZ6AkDHkCTt8YmrUxHxRgMwo0LCuDUUj6mNwSakxG0uUjI67y5kAeLOA/53yERyHGnQcNOUHlEowZD+qsz2EEpALf1cbce0CxxHwzM4witXFH09cjYdGf2Uxqj3Wq0Te5EHjIhYDop2T4mxOb8MMqi4jMykI1MOkThRbmpmgPOdH2Y3KyoHPORBYjhl/KqiXYg4AnH3A9amhmAUZdDqQx4vRiNBweqiTxjlJXm0jZPaZniiiSkSriYPRnz0TTprq6ljII69l1juYENI2w9lwuSHTN/DSxS8wDKfTxy089nfJEnqXo0Sx++/k8QXn3p/0MlB3XjCc65ywfUDqGubMzVjy4AyVyRix778TGgK5y1XxC5fVpX+I59ky1bJlMYILLa26AQzbWQrh2j7Y7YW4llrW7CnvzzKY7Rc9BfTuRBxDusHwfIio/1ybHt14G8pWl2WLLdLUhwGy602zHpweaThlqEOLm3WuRatPNsIYlwV8g1p23jIzLpZIwOpOcPthxYMuFlKxfTYjGDh422htfysHNmhi+T6bGuPq9EpSFPHaCXARXgf93iRdKbjT17V/bNx9VSH2DQG4KfcKYoosR8yfTpwfpeQla3XNHXtcgUTiGRMmMY7seDVTV1orgwC0GQEQaXF5cswyZK+yRPujpuWQVnnVOju6GZ+o0SEC/3mYCqi1lDXu4LYUlnEgjQCM8NgqfS0kS6EtIsnWXRUvnplQ6TfB/aLFJ9PkDtZzirYRJZzhXuGkz9qq147bOHhQEy2W7MKESjDA23rwQ0eHBiSH3oSBbImK64E2/aKEJ0+ZGLK0ueQIMGNve0c/h6VV5sxkne4yo3tPueK8+iJKT7yXH/E1PjqRx9I9Dt4MNxvnTEZpXbo8dUkGbPTTtMEmSpzwDx3iSHHhtIKtitDjp+/KmP+ydNlLSl619KQvO2Xd3lWdvpp7DpUN4RTHRGNcme9d3U5lnnrLUVHJ12G5QcoT2yc4JziH/mb6E55E053j1dUYY2sUxdv7gT9I+sEsnCh9F7nYISwtmcqiTw9vFDb3bMgEcOg1HXbHJGPjhHGRooBNJdEj9zYM4p08cyj3tLEV/rB1TkvyfTnqhG6jtPI0mPQSrPwxrAfcoHERSPtQOggVhq7qJcnDZpypZ6GQhwaV0fk2Eo0Q9SxBBKGp6ydx5pGYwaDOhLua+4L17hjwAZsWJ3fE11k+C0zQTZc9cZcS/p8zckAWDFwg+1FJyMmqLEui1d7cLDsdJNNWmKWnFdAEkTW+UiNnn6evcqJZmWgCD9kfh0HDNiapA0LP8j6Q3j9qczEFMmboNqODDs4rdunvVh16MU8CWxl+E+7zyTJtPfPoqWp3dUvLzzY1Rbutb9+GQH4xTw1sfKMTltGC8fIkVGQdS6mj2zk1OHOmSqYeQfV3t1ti0e3BaDyFUytbQl+1nyRv13ab/+L8c/dDQANbSMvDB6709g+c0HJcuUbf7TiNGPOysrWUR0IDyYiXwTM1EXrrIwtsPzBGAwzQZjkKglCdxp92nSAiKkfemeEkoG1gcHY0UCmcWv4OJv78bJq9MYWKLsMZUpcvJTQ2OcAgvhScmUHgQ8FiB1zgIUo5jDEbTkqEO74NNiV+akTsoDTkK5TIglSOTnYUNxDVPo9Iudap7QC34kMjVNPBvmJBijn5Yx+jBGHWg5cMGUIuMpkYGift+bhAHXp2+0kkBE6GWLmZdM2BwbMUJyTdmzjaYLAf654d8wl9/ThkVOHj4AzRm24P6ftR1zYA6v9hx57C1FIdWttRhajTSrYm3CCN5GMrqE0uYCtbq7+1mZqvBHPx33IEJB4jh8xkYUI+X89nPi6MXR89M8V6okNXH0Vj2f87LjKE0jjHfmNAYGPjzmESybIVo8kbbiv7C4BoTn0VLtsEZ3ydra99YK+9hvZar/0FvyswYtMK3ogql2Lt921Xsy7htfm5dENJMPHXw9y03Rpu78ZdbpBeJn3JenAlkUPYogbTnYHG8SrtSYz59y1btQ4TYOtmVlnYiMouXtbj1FCuwaYYFBXmvMqZpKAoUF2s8Kd/vkwBxotYpzY7D7U+bXD3WQw8fY62pb4aKjpjhsjyIFwCpwKCPG6uweeeJWlxo6bv7nIyhUcOC7ik6lwkB5zApPdXY0bLwgw5G0DoDfXw7+HzC9r6sHzFYEwo08LD2umt7Jx9IVNpQACQNh4a/daV8fRoT5dZYZAaOmdQLO52HmW5SLM+PCGHmeVn+hmfJiuhboQeo5GWD2adVODnt3I6cJPHVoSA+DKmqyaTBbbBADjsYuNCUNT/Ode4fornTKpozgJK0b8vMlIztjCx/MkPPqR83ZbHnwOF3PWn3J7dYdeno1tamT4RDm1MdgbG9jij0IFlLhaI10ZrQI5FptjHkOvDDmF8dBmzaXFfVGXsXWvGNSDBScWJIKUrVkZt6z06q8usqs+YkQfHCwntChe/NPW5ksfkw+e6MWhSIO/HhR9lhXvl5pOquk6zjVX7shsWtQy08bKZKaw494dHjKKkzpYpWEMxtwZLYCgddW9oSQmwcKUQ7hCMh3B6UMNwnfA3tuTo5FKqOu4x+GUJTVeKeRgHI2hIRtvV0xMG0dTTXqFGBg6BTHAMSeMZyzyYKkSUw1Y6CeODqYXu4Qmhjh3zmj6pU9tGLwhz+j04ViQju6p0wwyKIAgct8I3xkjYC0V0OJ8oRQgugf7jCP4+a2gbiOI8vQcZHHUPjsChsChy7PzCVUKCdAyTnwHjgx6tueXAozllOrobOAiJxufPI7yAk1C6AzCBYmbzAGvfww/shy814acTmcLXdzOmQ6HbqbmdfgkxyjwTfLjLOclLle70Sr7PWcuV4/zNGHRji/wfPioXZoYcE+POezV5nBm7NwaYAquH2S1aRJsDMaPHGrrlUfGtCDjxzqYnVex1dWu2JjULkLsA1ew9gY0GABg1sdAFWb8XXNBhGraYDORTSjAxeqjPfs0P2ScQAveWmitdGu1r+IFrx3goZlqUdb/UPZFQZdB9YqScZFC3C5Z3dzHZT8zNey6SWCKjjt3I6uRkGIbUAswLqJcmIVHxCy7tdg9foHcHqM5vL4VDF1+t9l5NolzAQoiy+Zbf12RqcMpp5gcQOmRhis9vtsERYfRgWFf1TiN5x7L0TEtdIjX2pHw5SjHk0WPNDyjD2i2HGJNbOCXYsUYaY+MFcSqQsYxYscSF20xrjFBZNBWzjZ2HR/WXqbKxLKLiz0nAXEuUY3f/QMnwxdwnRvI+Iwukx+TnCM+QIt9wzZxoY1g53/c4oErahaQd2+Iq26pDSE5nBXD9CnTj9RppWAbBd+fwX8yMrBESE1MqfROBFjMUSxdJi/jl54UIyUBpQ1ViygYkaubdtTpfsjyf1I8td/CS0Ik0eABdhKiH95oF136Jicw8AShLC3+ayK6TZzWzmuY4pT13TliEI0LDtvYpkUfO9afpvSJaf2r1yRSfoiBY2vGRrf+bnvEKMZGGGbtl0K7aZYVLlGNw47zOuc+J1ufwxOVZ2FtNrahOBV6sJRtL0+lzzEAsWuwKvrjiE2/9su3sH+1xp4vnGdp5ZEq5H/m70PyEtFR8qoeVH5jIxBOKgFMFLzz0ybSbMDGxWrPkuYB7Ae3PGeCmLg0EWdqWa9VNCmnE5vuhFxk8b4YfdEl8YbiGIUdF+jridgxd6EFtBMIp+1i0QSYD5WGuWNKx9gQ4nerLMoGWvodSxFz3Dj7SQ7xqNhVcu07HOS4MQBXS50aZVUdEjjuG4bOuYxNOoAVZqihcgqCwEvwJWWiCTxCvW9AvFOPvVtSlpi01LzsyILiCy3SRdqxzG9HmTsAjXF2sC1DSwzWs1bkARqE7a6ZbnVcc5qxngAAzWkmMzAMjiYD5pWBwYUMPyRnepGRSGa80ALBPj86blv7xUfu2DqP/rZMfJCMmgA7BhOkPsrX5Jc28Q0fvm+7XsHJEx36jyRJn4gyBuSNo77LFZF6uOTmnNKwj6HzgAwxDz6FppFjxfCj2Dpt+2ugqYcXUwGSiy9f8UOuvhKAV8esZkxZO5ywW95O287/ANp+MWupDPWWAVF5mtNY9ah2C9ZiheCX439R93uUjDRzn7Hli1WZ6R0js8KAWRRcufhaFi8sUk8ddcL1fXGNCJ6WJ8W3ghFwJQMwR0vPg/OLT2QjijmgEUkFIP21JcmiHjtsi2dpTtNGSRRyUQhBX34Jsf1AplMRYoIkQV7JYN1y9b24J9TT1G2w/Ok1J8HZwKJjXF4NWNZReNGaGRDPaNLuvKdZl87PJE7JQOSPHpv0QSUJgukszxmMLx6hNfgeJx7m4sRCECkdd+A7L5GTXP2gZ2Kd08HY2K+QcD2UaDJAu6nT/rF/jigy5BS/DjhJtJLOP1zpA2vC6XsIaMqPrx1ETyMa4pTaRt7EavAmnPI2ScFR/jFyvsKrF/+tazhdImGGi6tk/UY4S+fIimPK1se08ZH9Unxkf8fnPIl52wHATdnkSA82bXM4cm1GLgJcn0PIiaiEqaNlXJNfq8nOmTmw37i1qzFmh/cRnTiRrfzU0zj9YFiDM7SDX+4yGCKiKWv9LMlHc9DApnNkaTBPvK/actluvKv739Z86h0XuVrIe0sviphy1o6142SjRMbQiQZl8Lwt5t0ZQP5qrecgmGhdeumby+Bx3ZdwdgZEWEIgq3J7SFISF+pMOZez0Rzoi6pYtm3eFAdQFY3uohJF6LAfdXEJec4wwBY0JOEI8qeAehXTwONJM1W+A64Rx2MPxtzuaNKBp4OJnFFKpg0OZVTMIf0c5rUBfOcEYMpMt2MjtSf4bO6JKbaMRZN+HYC9n3MCjmoGi+feKUmNiWmxl0xIUtx8w6fEMBgYv7vDzIbT7Y09XlPO0Hpqs5pJ6s6vs5k+JvjkYGbCjAyBgDDRp1CzqCRHLqAqeCFgWNB4rCF9dcpW3+GIDYwQeFLE6oNemJot02rY4IqhhjvPYDaeSZBUjYIwmargOCu+/S5z72XCByYGtWkfJ3kYFyPxKWfa1KOX1/7KF1v79AxcGxdacczRPPQbF9cX3Pjk8NZf2oJESGVLk2PHyFl+VupZmH1dKki9mh7UP32axxrlAqhTNsac+jecKv9Dx3X5Pc5y7cPZ0hdzuLoIu6kMiXXmDLPHvpFZ08uNySgzF4w/CN6q93Ur3RnODDVXl92onSS9BWOPNDto+zlg7e8KmYCwxQFBRMXbDK9SMxtjh4Fbtts8Zx6LFAmLYq/1gZxeCgmDxW5TFsU9ZFL07CVpRAw5fggCe41yvLvacUgWPQuZ0kDw5HpMfqlvvPIQw6Hw1DBEzC7iPhkcuhG/HSWo4O/pq6e84kXMtU5Oz298PJ5KztxDMXqP+M3TSlxe8ByUYXCvkbtshArET3NSMxrmP1HFAfheb9LpeAOAjmE0rJ0qxlJRPHRQ4VssjpQzSMfMdKeFJ+Gt7U6fM2JM+A41ayAXrhERLtOMDeGi5u1TpsOZUZ+B8QV1fheK2Al/fz+b5OcsYoNx+MQwLoD5jJMhrJ01fZ0uFkRkRT4f/BA31xpouiioiZvRegXMMPWFC7QoU6fhU95yEyd6a/SrGyynjxfQUB6eiNrpFNmtcuSrny4+v5b6GcXq4yXx4/KUn22rfl0fMA24DPpK4Tii9bXqr/2V/wfqpf6epcUq4s4QL5zOZarESv7jWnKGiQVbbl/6uHFZgwgzhGQbNgKxYd8SWxJBmJroGCsy+dNBmbKJI821hCXOgDhxeStrnw+NFHCVExnqJk7kKX7NJyyTPhheC/vvBKYIg3wEpeGB2eg4AN3VhddwJVajbxQISeXU0nmkH6wh0CTKgHI0vTfZMugIZ87UziFV0V6yB81ZIUfDRZn56ujrmPuZbCgo4PdkMWWdYl7SzJ/Zjjj1ARS6gCLIEzcYyBMQ2p0ABgNKGcsibylYLzJ4gAg2MBMK+nECsDMXhDOIM6+0MswmovDHmtGqy+pjBJIxJOQo1YNxRpY/fzQq64XcwhJleaBJHxmuEgpu0uBFOzU4woJmsMONXew5TPYhaZG37RJ3OPkk219RlAsGwwUnL3+0Ypp8GKBNKn2sb3hYbdbwhoInt8AaK3dV4A5m/DALziuxD18R6eCQKmVbF6Mwg4pOUHwxxpxI+nIWkmPtl0uBsrYqv9pthQN6jENbXrr6nMgWi6xyEH9dSnox218uNP8q12X5563l5Pzx1pY1kNVvyVB5j5SzxTJx3I6aM8XgO8vIA2GSY8ue6TRYzWQZejhzFnBowd5HDo7ScxSp+zAQOHPYCccI48YXOcsKQbybtGwSG9EkHIYhMYqUaRPj7RW7femqZ5HbxZTCQhqONIqk4qHDHBxu/4RElsZMxPjFwlWICdghsWtngME1FeE1BXFex9hBLLhM8FGH88xaZkRe7iXqCzfjkKH88IXF0xmefKATNd9i6CaOoJNoEM4RDufFSGrObZy4OQkrejjxulMV4/EIACkRNoyl4nJp9w2+YdUfuJrRaFtrZmA9OA0jjW2vvkxIgZB0TC7SwN2AwoYJUnwb0/pYn4y2c5F1AxHTRy2A009MkYHjDkbk3/Iiwe9lC4tG/wHwVaRNnNRQJLllhuGQp9Q1YJbmXTvA4zKNxkD8xIfvDWk5rdVmGzifuosEUnyVD1v7qSlwqqMNRunU7BCER9cFNSKxtJFey2Oi1ORIPCCYuJxnsOZjLc8prW/clVD7z4A+Rb+CFfGJWxn4jmYl/3699iRKRuQmzBRyddTkqBeSZ5IoS493IqCYqaCsM2amfdZRLKIjX+Xp1MDhFWAY6jE6bJibHtMi96YDeEqvcOEpyljUxXEHL7Xa9ImMd4qr9FzUYayGmHeI/OCxSXEXBczIGcmAEW2JaKREzoZzVxJc+hhOIecUmlrNXBGzWJilA4ZosAs1dshqyhCcKFc5Lw7jCEtQdh0RE1gpXI6gLya5RRK3vOUiKRFR8E1czDkhIeCAW6occ8rJg+xMQ0mbOkfOKiZ5v9ogNEKVp2/TQ7lTiIyyO11/YcJLCf246yQAmTHqd9GYSMjyRxukx4x7fCBMPIw5593pQezmBIUoNfOdWv4c0sQtUjng4ckxKEZl26+Cah6NPCBytZrxZSqdFlzhXA7bcOCLI3ZlbU27skyqL3zyIpMIsHY5OLuYOUW8Jh1bxrA81PxEQCJWHi7GyrTlCjSnl7M19qkxVj8yTotv9enHVlNnLAJkrWyc9sjoH9lpjMwZLpB1uWpmjLZL6bUHuooF/0KE3aPG6p+WxX+1XXf/lCAAsFx6ff/bH3kL7aeRpptounMCIEHaZw0nN7p9IjkrkYxDH0UaWU/tw+w7yl6kZo5CtOs/5rEJILK2YsxS5NThcMSwQamAY1ek1tgR/diLIVrfZKWXWHMYbWBpidmPHtCxaKcIDD2fVIs9BgAI/imE4dtt/KwKhnWZ5ccuV5vk7DcC7LMfGRIF4zzCBLYBKDLYHTdD4O0nC//PP/JSxWsYyxuGTrr4353oKGdnQWhonjLyJPDYcqiOlv/+AS5kLHD0lNAQFH7z7ARoIH+Y2Z5wA85BX2n6IgKP7SGL75g1rQgeP3ggSf/dZdOweA1iA+cYa+7hoTSOtBlFSQ0h3kBHwoNR4uRb1rPzYHiFdzSEHd6G7Z8ZaztH3GV6Yasss/wt76ti4ilsEuTKjWTIknBqeA2a7N0Zrn2GS0h5Yodb5PNcHX7qq9iZ5hJjHXzcECcT29gUX64A6qXcEDFX1moqh62Mt2Zsr1zmlRkLc71W1w6c0lFdRJcB/b5wf9pg12hpPQUh5SGS41P0qoW/h1/yPoCHWum6fCD/sLlphu/UZsU3jqxalppb1zzG6nPqo3G1ZmF4Uy+TmLfrHPGAkgWtfbejaYtlFJWK/Mm1nGvwwdbIqqnDvRXzFoLbokyT0PzwTeNes2DEGpwM5avoDMSlxS2FXFCRnTqVBi9XEgsD5NwRui1qB584CBNtDqMGwtAYNvdLM2a8F2iQIt6DnkKSrSZP8gIcPLlPSM3frnNaAFQGYCzHv9Hk1DBVwWQ0ZgRacDiExOW7AekR9/Jiou/QEKc0eYYkltgaW3jQeZrbwHnsnAzmwZI/m8dqMRNwjyMA/a/emEJpPy/AkzKqhpwp5pFDdExiTgUvzflTPxnOb/yCZzA/vBckjEtcDRhtdFCSQvURO1II41PeAUELOJCpc1skK4UkN4nOK0MowHgPMG10KOQ2VPuZboBhZOqSYfjBJ5sFTwmBfPnDnAk2TBDz5I7I+u0HTPWjLDDCRg4aU/qaps4onXlu6qDUX9mNURyjxxi790lQhy8N9gL6HGykbaGfRnV5IUBIh3FRb5m21dsePSLwXGtkbMmVu2jQJEiU4fSEYIN4ShHtrHjrxfxV/e9g/4rnV7rl5q13vo3Hm0YXXE4NZ8W5Z/kGx4AzdhKLN7gyZu5pkqBmPfq+NwJWvRdzWTTus7nvyeTERWRM5qQtqCleDEHkto0ANFdN+SrOqdNM0SIBukRjn6ssNyueXa3aJjS6wRMOxPVEvoqCmwsAqLY4uEgzBUHnUIv3VG/gzIT22Do9zbhSwbnjYiDQOGCYMn5XIaBo8MmcyHF9YmZs2IKvD4YcEm1j7FRGyVYiecc+OFhwigntNFFl2MxJ+h56nttDOE+T+EwLXFylnr21EwQxlokdJ+lY0doGwzIKziFzY0Rp0/LM+U4FLRHDjG2iyg7LISCYIyUidExe2b2YJish0g6DQCYWhskHQ+1GkXuGcJfa6fQUYM3EkKDEBmObDiKSW4Ihcwkg1DRRMq8pvkxET0gJhyCaEKPPRa197mUuBwRihpE44sHbCbYZZxyYrNNIDLjTJwf86h8Z7WyP378jaZhg09QdTcZg0CvPuhU94sMltgdklLKmET47CPG5gMuM5kBokySVBcu5zBTtKRUoBQie6dCfJmb/b4tfOM8UkvSYyvypIN5gOIQMkf+TmoG4M9Pkgi6dnJo/kgNJh8ydU897Eq4MjqR2VQeXn+DK5tFlwbxwpZQJiy51VOyCvHSbuLl8AW3J2k7P2GKSR0i1hZf8SXEI2IbD7QerheWYNvHHpaHApn58CM1hQolWb5rpL616LGVwBEUespSU5jDlGoCg9YPYNmqYKT3SYmwKToMewaLdoAABsM/JSIB5KJSMeSwmVshduEDKjnSAI0ROUmAg4uvOyPoqRhzRIInN0CtCEgFX7UwpqOCctlwGoSMZ5SKMVzeTStA5MbzRcFypOj7IOV9ZRKEh9RCNQsaR+CKbl25fhrm8IhzSblpA4ExqMpHmj92e15loy8ZqzuN52z0OzuAYRC/GHQpJrzc7GJtJN+GSzGgzMKKUnWSZXl0kXJgR+LNuUk/CIoMo9fwIJTSfqEjU2HOQXyWnvYz+l+kqxHm1CcYpuX4147Albd/PrCyUnsKeAFE2Jy4EQhe//acGU5Atm2yTTAZUxDSHhwTRlF9LV/tzbXxfxL+SfYH8n7r/A6isvic82r4AAAAAAElFTkSuQmCC", + "backgroundColor": "#FFFFFF", + "referencedComponentHashes": [] +} \ No newline at end of file