naftiko: 1.0.0-alpha2 info: label: Gitea API — repository description: 'Gitea API — repository. 197 operations. Lead operation: Migrate a Remote Git Repository. Self-contained Naftiko capability covering one Gitea business surface.' tags: - Gitea - repository created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITEA_API_KEY: GITEA_API_KEY capability: consumes: - type: http namespace: rest-repository baseUri: https://gitea.com/api/v1 description: Gitea API — repository business capability. Self-contained, no shared references. resources: - name: repos-migrate path: /repos/migrate operations: - name: repomigrate method: POST description: Migrate a Remote Git Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: repos-search path: /repos/search operations: - name: reposearch method: GET description: Search for Repositories outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: q in: query type: string description: keyword - name: topic in: query type: boolean description: Limit search to repositories with keyword as topic - name: includeDesc in: query type: boolean description: include search of keyword within repository description - name: uid in: query type: integer description: search only for repos that the user with the given id owns or contributes to - name: priority_owner_id in: query type: integer description: repo owner to prioritize in the results - name: team_id in: query type: integer description: search only for repos that belong to the given team id - name: starredBy in: query type: integer description: search only for repos that the user with the given id has starred - name: private in: query type: boolean description: include private repositories this user has access to (defaults to true) - name: is_private in: query type: boolean description: show only pubic, private or all repositories (defaults to all) - name: template in: query type: boolean description: include template repositories this user has access to (defaults to true) - name: archived in: query type: boolean description: show only archived, non-archived or all repositories (defaults to all) - name: mode in: query type: string description: type of repository to search for. Supported values are "fork", "source", "mirror" and "collaborative" - name: exclusive in: query type: boolean description: if `uid` is given, search only for repos that the user owns - name: sort in: query type: string description: sort repos by attribute. Supported values are "alpha", "created", "updated", "size", "git_size", "lfs_size", "stars", "forks" and "id". Default is "alpha" - name: order in: query type: string description: sort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is not specified. - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo path: /repos/{owner}/{repo} operations: - name: repoget method: GET description: Get a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repodelete method: DELETE description: Delete a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to delete required: true - name: repo in: path type: string description: name of the repo to delete required: true - name: repoedit method: PATCH description: Edit a Repository's Properties. Only Fields That Are Set Will Be Changed. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to edit required: true - name: repo in: path type: string description: name of the repo to edit required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-actions-artifacts path: /repos/{owner}/{repo}/actions/artifacts operations: - name: getartifacts method: GET description: Lists All Artifacts for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: name in: query type: string description: name of the artifact - name: repos-owner-repo-actions-artifacts-artifact_id path: /repos/{owner}/{repo}/actions/artifacts/{artifact_id} operations: - name: getartifact method: GET description: Gets a Specific Artifact for a Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: artifact_id in: path type: string description: id of the artifact required: true - name: deleteartifact method: DELETE description: Deletes a Specific Artifact for a Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: artifact_id in: path type: string description: id of the artifact required: true - name: repos-owner-repo-actions-artifacts-artifact_id-zip path: /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip operations: - name: downloadartifact method: GET description: Downloads a Specific Artifact for a Workflow Run Redirects to Blob URL outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: artifact_id in: path type: string description: id of the artifact required: true - name: repos-owner-repo-actions-jobs path: /repos/{owner}/{repo}/actions/jobs operations: - name: listworkflowjobs method: GET description: Lists All Jobs for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: status in: query type: string description: workflow status (pending, queued, in_progress, failure, success, skipped) - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-actions-jobs-job_id path: /repos/{owner}/{repo}/actions/jobs/{job_id} operations: - name: getworkflowjob method: GET description: Gets a Specific Workflow Job for a Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: job_id in: path type: string description: id of the job required: true - name: repos-owner-repo-actions-jobs-job_id-logs path: /repos/{owner}/{repo}/actions/jobs/{job_id}/logs operations: - name: downloadactionsrunjoblogs method: GET description: Downloads the Job Logs for a Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: job_id in: path type: integer description: id of the job required: true - name: repos-owner-repo-actions-runners path: /repos/{owner}/{repo}/actions/runners operations: - name: getreporunners method: GET description: Get Repo-Level Runners outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: disabled in: query type: boolean description: filter by disabled status (true or false) - name: repos-owner-repo-actions-runners-registration-token path: /repos/{owner}/{repo}/actions/runners/registration-token operations: - name: repocreaterunnerregistrationtoken method: POST description: Get a Repository's Actions Runner Registration Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-actions-runners-runner_id path: /repos/{owner}/{repo}/actions/runners/{runner_id} operations: - name: getreporunner method: GET description: Get a Repo-Level Runner outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: runner_id in: path type: string description: id of the runner required: true - name: deletereporunner method: DELETE description: Delete a Repo-Level Runner outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: runner_id in: path type: string description: id of the runner required: true - name: updatereporunner method: PATCH description: Update a Repo-Level Runner outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: runner_id in: path type: string description: id of the runner required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-actions-runs path: /repos/{owner}/{repo}/actions/runs operations: - name: getworkflowruns method: GET description: Lists All Runs for a Repository Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: event in: query type: string description: workflow event name - name: branch in: query type: string description: workflow branch - name: status in: query type: string description: workflow status (pending, queued, in_progress, failure, success, skipped) - name: actor in: query type: string description: triggered by user - name: head_sha in: query type: string description: triggering sha of the workflow run - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-actions-runs-run path: /repos/{owner}/{repo}/actions/runs/{run} operations: - name: getworkflowrun method: GET description: Gets a Specific Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: run in: path type: integer description: id of the run required: true - name: deleteactionrun method: DELETE description: Delete a Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: run in: path type: integer description: runid of the workflow run required: true - name: repos-owner-repo-actions-runs-run-artifacts path: /repos/{owner}/{repo}/actions/runs/{run}/artifacts operations: - name: getartifactsofrun method: GET description: Lists All Artifacts for a Repository Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: run in: path type: integer description: runid of the workflow run required: true - name: name in: query type: string description: name of the artifact - name: repos-owner-repo-actions-runs-run-jobs path: /repos/{owner}/{repo}/actions/runs/{run}/jobs operations: - name: listworkflowrunjobs method: GET description: Lists All Jobs for a Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: run in: path type: integer description: runid of the workflow run required: true - name: status in: query type: string description: workflow status (pending, queued, in_progress, failure, success, skipped) - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-actions-runs-run-jobs-job_id-rerun path: /repos/{owner}/{repo}/actions/runs/{run}/jobs/{job_id}/rerun operations: - name: rerunworkflowjob method: POST description: Reruns a Specific Workflow Job in a Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: run in: path type: integer description: id of the run required: true - name: job_id in: path type: integer description: id of the job required: true - name: repos-owner-repo-actions-runs-run-rerun path: /repos/{owner}/{repo}/actions/runs/{run}/rerun operations: - name: rerunworkflowrun method: POST description: Reruns an Entire Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: run in: path type: integer description: id of the run required: true - name: repos-owner-repo-actions-runs-run-rerun-failed-jobs path: /repos/{owner}/{repo}/actions/runs/{run}/rerun-failed-jobs operations: - name: rerunfailedworkflowrun method: POST description: Reruns All Failed Jobs in a Workflow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: run in: path type: integer description: id of the run required: true - name: repos-owner-repo-actions-secrets path: /repos/{owner}/{repo}/actions/secrets operations: - name: repolistactionssecrets method: GET description: List an Repo's Actions Secrets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-actions-secrets-secretname path: /repos/{owner}/{repo}/actions/secrets/{secretname} operations: - name: updatereposecret method: PUT description: Create or Update a Secret Value in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repository required: true - name: repo in: path type: string description: name of the repository required: true - name: secretname in: path type: string description: name of the secret required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deletereposecret method: DELETE description: Delete a Secret in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repository required: true - name: repo in: path type: string description: name of the repository required: true - name: secretname in: path type: string description: name of the secret required: true - name: repos-owner-repo-actions-tasks path: /repos/{owner}/{repo}/actions/tasks operations: - name: listactiontasks method: GET description: List a Repository's Action Tasks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results, default maximum page size is 50 - name: repos-owner-repo-actions-variables path: /repos/{owner}/{repo}/actions/variables operations: - name: getrepovariableslist method: GET description: Get Repo-Level Variables List outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-actions-variables-variablename path: /repos/{owner}/{repo}/actions/variables/{variablename} operations: - name: getrepovariable method: GET description: Get a Repo-Level Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: variablename in: path type: string description: name of the variable required: true - name: updaterepovariable method: PUT description: Update a Repo-Level Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: variablename in: path type: string description: name of the variable required: true - name: body in: body type: object description: Request body (JSON). required: false - name: createrepovariable method: POST description: Create a Repo-Level Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: variablename in: path type: string description: name of the variable required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deleterepovariable method: DELETE description: Delete a Repo-Level Variable outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repository required: true - name: variablename in: path type: string description: name of the variable required: true - name: repos-owner-repo-actions-workflows path: /repos/{owner}/{repo}/actions/workflows operations: - name: actionslistrepositoryworkflows method: GET description: List Repository Workflows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-actions-workflows-workflow_id path: /repos/{owner}/{repo}/actions/workflows/{workflow_id} operations: - name: actionsgetworkflow method: GET description: Get a Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: workflow_id in: path type: string description: id of the workflow required: true - name: repos-owner-repo-actions-workflows-workflow_id-disable path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable operations: - name: actionsdisableworkflow method: PUT description: Disable a Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: workflow_id in: path type: string description: id of the workflow required: true - name: repos-owner-repo-actions-workflows-workflow_id-dispatches path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches operations: - name: actionsdispatchworkflow method: POST description: Create a Workflow Dispatch Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: workflow_id in: path type: string description: id of the workflow required: true - name: return_run_details in: query type: boolean description: Whether the response should include the workflow run ID and URLs. - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-actions-workflows-workflow_id-enable path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable operations: - name: actionsenableworkflow method: PUT description: Enable a Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: workflow_id in: path type: string description: id of the workflow required: true - name: repos-owner-repo-activities-feeds path: /repos/{owner}/{repo}/activities/feeds operations: - name: repolistactivityfeeds method: GET description: List a Repository's Activity Feeds outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: date in: query type: string description: the date of the activities to be found - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-archive-archive path: /repos/{owner}/{repo}/archive/{archive} operations: - name: repogetarchive method: GET description: Get an Archive of a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: archive in: path type: string description: the git reference for download with attached archive format (e.g. master.zip) required: true - name: path in: query type: array description: subpath of the repository to download - name: repos-owner-repo-assignees path: /repos/{owner}/{repo}/assignees operations: - name: repogetassignees method: GET description: Return All Users That Have Write Access and Can Be Assigned to Issues outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-avatar path: /repos/{owner}/{repo}/avatar operations: - name: repoupdateavatar method: POST description: Update Avatar outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repodeleteavatar method: DELETE description: Delete Avatar outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-branch_protections path: /repos/{owner}/{repo}/branch_protections operations: - name: repolistbranchprotection method: GET description: List Branch Protections for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repocreatebranchprotection method: POST description: Create a Branch Protections for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-branch_protections-priority path: /repos/{owner}/{repo}/branch_protections/priority operations: - name: repoupdatebranchprotectionpriories method: POST description: Update the Priorities of Branch Protections for a Repository. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-branch_protections-name path: /repos/{owner}/{repo}/branch_protections/{name} operations: - name: repogetbranchprotection method: GET description: Get a Specific Branch Protection for the Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: name in: path type: string description: name of protected branch required: true - name: repodeletebranchprotection method: DELETE description: Delete a Specific Branch Protection for the Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: name in: path type: string description: name of protected branch required: true - name: repoeditbranchprotection method: PATCH description: Edit a Branch Protections for a Repository. Only Fields That Are Set Will Be Changed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: name in: path type: string description: name of protected branch required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-branches path: /repos/{owner}/{repo}/branches operations: - name: repolistbranches method: GET description: List a Repository's Branches outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repocreatebranch method: POST description: Create a Branch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-branches-branch path: /repos/{owner}/{repo}/branches/{branch} operations: - name: repogetbranch method: GET description: Retrieve a Specific Branch from a Repository, Including Its Effective Branch Protection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: branch in: path type: string description: branch to get required: true - name: repoupdatebranch method: PUT description: Update a Branch Reference to a New Commit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: branch in: path type: string description: name of the branch required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repodeletebranch method: DELETE description: Delete a Specific Branch from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: branch in: path type: string description: branch to delete required: true - name: reporenamebranch method: PATCH description: Rename a Branch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: branch in: path type: string description: name of the branch required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-collaborators path: /repos/{owner}/{repo}/collaborators operations: - name: repolistcollaborators method: GET description: List a Repository's Collaborators outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-collaborators-collaborator path: /repos/{owner}/{repo}/collaborators/{collaborator} operations: - name: repocheckcollaborator method: GET description: Check if a User Is a Collaborator of a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: collaborator in: path type: string description: username of the user to check for being a collaborator required: true - name: repoaddcollaborator method: PUT description: Add or Update a Collaborator to a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: collaborator in: path type: string description: username of the user to add or update as a collaborator required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repodeletecollaborator method: DELETE description: Delete a Collaborator from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: collaborator in: path type: string description: username of the collaborator to delete required: true - name: repos-owner-repo-collaborators-collaborator-permission path: /repos/{owner}/{repo}/collaborators/{collaborator}/permission operations: - name: repogetrepopermissions method: GET description: Get Repository Permissions for a User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: collaborator in: path type: string description: username of the collaborator whose permissions are to be obtained required: true - name: repos-owner-repo-commits path: /repos/{owner}/{repo}/commits operations: - name: repogetallcommits method: GET description: Get a List of All Commits from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: query type: string description: SHA or branch to start listing commits from (usually 'master') - name: path in: query type: string description: filepath of a file/dir - name: since in: query type: string description: Only commits after this date will be returned (ISO 8601 format) - name: until in: query type: string description: Only commits before this date will be returned (ISO 8601 format) - name: stat in: query type: boolean description: include diff stats for every commit (disable for speedup, default 'true') - name: verification in: query type: boolean description: include verification for every commit (disable for speedup, default 'true') - name: files in: query type: boolean description: include a list of affected files for every commit (disable for speedup, default 'true') - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results (ignored if used with 'path') - name: not in: query type: string description: commits that match the given specifier will not be listed. - name: repos-owner-repo-commits-ref-status path: /repos/{owner}/{repo}/commits/{ref}/status operations: - name: repogetcombinedstatusbyref method: GET description: Get a Commit's Combined Status, by Branch/Tag/Commit Reference outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: ref in: path type: string description: name of branch/tag/commit required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-commits-ref-statuses path: /repos/{owner}/{repo}/commits/{ref}/statuses operations: - name: repoliststatusesbyref method: GET description: Get a Commit's Statuses, by Branch/Tag/Commit Reference outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: ref in: path type: string description: name of branch/tag/commit required: true - name: sort in: query type: string description: type of sort - name: state in: query type: string description: type of state - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-commits-sha-pull path: /repos/{owner}/{repo}/commits/{sha}/pull operations: - name: repogetcommitpullrequest method: GET description: Get the Merged Pull Request of the Commit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: SHA of the commit to get required: true - name: repos-owner-repo-compare-basehead path: /repos/{owner}/{repo}/compare/{basehead} operations: - name: repocomparediff method: GET description: Get Commit Comparison Information outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: basehead in: path type: string description: compare two branches or commits required: true - name: repos-owner-repo-contents path: /repos/{owner}/{repo}/contents operations: - name: repogetcontentslist method: GET description: Gets the Metadata of All the Entries of the Root Dir. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: ref in: query type: string description: The name of the commit/branch/tag. Default to the repository’s default branch. - name: repochangefiles method: POST description: Modify Multiple Files in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-contents-ext-filepath path: /repos/{owner}/{repo}/contents-ext/{filepath} operations: - name: repogetcontentsext method: GET description: The Extended "contents" API, to Get File Metadata and/or Content, or List a Directory. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: 'path of the dir, file, symlink or submodule in the repo. Swagger requires path parameter to be "required", you can leave it empty or pass a single dot (".") to ' required: true - name: ref in: query type: string description: the name of the commit/branch/tag, default to the repository’s default branch. - name: includes in: query type: string description: 'By default this API''s response only contains file''s metadata. Use comma-separated "includes" options to retrieve more fields. Option "file_content" will try to ' - name: repos-owner-repo-contents-filepath path: /repos/{owner}/{repo}/contents/{filepath} operations: - name: repogetcontents method: GET description: Gets the Metadata and Contents (if a File) of an Entry in a Repository, or a List of Entries if a Dir. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: path of the dir, file, symlink or submodule in the repo required: true - name: ref in: query type: string description: The name of the commit/branch/tag. Default to the repository’s default branch. - name: repoupdatefile method: PUT description: Update a File in a Repository if SHA Is Set, or Create the File if SHA Is Not Set outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: path of the file to update required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repocreatefile method: POST description: Create a File in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: path of the file to create required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repodeletefile method: DELETE description: Delete a File in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: path of the file to delete required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-diffpatch path: /repos/{owner}/{repo}/diffpatch operations: - name: repoapplydiffpatch method: POST description: Apply Diff Patch to Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-editorconfig-filepath path: /repos/{owner}/{repo}/editorconfig/{filepath} operations: - name: repogeteditorconfig method: GET description: Get the EditorConfig Definitions of a File in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: filepath of file to get required: true - name: ref in: query type: string description: The name of the commit/branch/tag. Default to the repository’s default branch. - name: repos-owner-repo-file-contents path: /repos/{owner}/{repo}/file-contents operations: - name: repogetfilecontents method: GET description: Get the Metadata and Contents of Requested Files outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: ref in: query type: string description: The name of the commit/branch/tag. Default to the repository’s default branch. - name: body in: query type: string description: 'The JSON encoded body (see the POST request): {"files": ["filename1", "filename2"]}' required: true - name: repogetfilecontentspost method: POST description: Get the Metadata and Contents of Requested Files outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: ref in: query type: string description: The name of the commit/branch/tag. Default to the repository’s default branch. - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-forks path: /repos/{owner}/{repo}/forks operations: - name: listforks method: GET description: List a Repository's Forks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: createfork method: POST description: Fork a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to fork required: true - name: repo in: path type: string description: name of the repo to fork required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-git-blobs-sha path: /repos/{owner}/{repo}/git/blobs/{sha} operations: - name: getblob method: GET description: Gets the Blob of a Repository. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: sha of the commit required: true - name: repos-owner-repo-git-commits-sha path: /repos/{owner}/{repo}/git/commits/{sha} operations: - name: repogetsinglecommit method: GET description: Get a Single Commit from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: a git ref or commit sha required: true - name: stat in: query type: boolean description: include diff stats for every commit (disable for speedup, default 'true') - name: verification in: query type: boolean description: include verification for every commit (disable for speedup, default 'true') - name: files in: query type: boolean description: include a list of affected files for every commit (disable for speedup, default 'true') - name: repos-owner-repo-git-commits-sha}.{diffType path: /repos/{owner}/{repo}/git/commits/{sha}.{diffType} operations: - name: repodownloadcommitdifforpatch method: GET description: Get a Commit's Diff or Patch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: SHA of the commit to get required: true - name: diffType in: path type: string description: whether the output is diff or patch required: true - name: repos-owner-repo-git-notes-sha path: /repos/{owner}/{repo}/git/notes/{sha} operations: - name: repogetnote method: GET description: Get a Note Corresponding to a Single Commit from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: a git ref or commit sha required: true - name: verification in: query type: boolean description: include verification for every commit (disable for speedup, default 'true') - name: files in: query type: boolean description: include a list of affected files for every commit (disable for speedup, default 'true') - name: repos-owner-repo-git-refs path: /repos/{owner}/{repo}/git/refs operations: - name: repolistallgitrefs method: GET description: Get Specified Ref or Filtered Repository's Refs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-git-refs-ref path: /repos/{owner}/{repo}/git/refs/{ref} operations: - name: repolistgitrefs method: GET description: Get Specified Ref or Filtered Repository's Refs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: ref in: path type: string description: part or full name of the ref required: true - name: repos-owner-repo-git-tags-sha path: /repos/{owner}/{repo}/git/tags/{sha} operations: - name: getannotatedtag method: GET description: Gets the Tag Object of an Annotated Tag (not Lightweight Tags) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. required: true - name: repos-owner-repo-git-trees-sha path: /repos/{owner}/{repo}/git/trees/{sha} operations: - name: gettree method: GET description: Gets the Tree of a Repository. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: sha of the commit required: true - name: recursive in: query type: boolean description: show all directories and files - name: page in: query type: integer description: page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page - name: per_page in: query type: integer description: number of items per page - name: repos-owner-repo-hooks path: /repos/{owner}/{repo}/hooks operations: - name: repolisthooks method: GET description: List the Hooks in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repocreatehook method: POST description: Create a Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-hooks-git path: /repos/{owner}/{repo}/hooks/git operations: - name: repolistgithooks method: GET description: List the Git Hooks in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-hooks-git-id path: /repos/{owner}/{repo}/hooks/git/{id} operations: - name: repogetgithook method: GET description: Get a Git Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: string description: id of the hook to get required: true - name: repodeletegithook method: DELETE description: Delete a Git Hook in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: string description: id of the hook to get required: true - name: repoeditgithook method: PATCH description: Edit a Git Hook in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: string description: id of the hook to get required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-hooks-id path: /repos/{owner}/{repo}/hooks/{id} operations: - name: repogethook method: GET description: Get a Hook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the hook to get required: true - name: repodeletehook method: DELETE description: Delete a Hook in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the hook to delete required: true - name: repoedithook method: PATCH description: Edit a Hook in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: index of the hook required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-hooks-id-tests path: /repos/{owner}/{repo}/hooks/{id}/tests operations: - name: repotesthook method: POST description: Test a Push Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the hook to test required: true - name: ref in: query type: string description: The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. - name: repos-owner-repo-issue_config path: /repos/{owner}/{repo}/issue_config operations: - name: repogetissueconfig method: GET description: Returns the Issue Config for a Repo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-issue_config-validate path: /repos/{owner}/{repo}/issue_config/validate operations: - name: repovalidateissueconfig method: GET description: Returns the Validation Information for a Issue Config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-issue_templates path: /repos/{owner}/{repo}/issue_templates operations: - name: repogetissuetemplates method: GET description: Get Available Issue Templates for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-issues-pinned path: /repos/{owner}/{repo}/issues/pinned operations: - name: repolistpinnedissues method: GET description: List a Repo's Pinned Issues outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-keys path: /repos/{owner}/{repo}/keys operations: - name: repolistkeys method: GET description: List a Repository's Keys outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: key_id in: query type: integer description: the key_id to search for - name: fingerprint in: query type: string description: fingerprint of the key - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repocreatekey method: POST description: Add a Key to a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-keys-id path: /repos/{owner}/{repo}/keys/{id} operations: - name: repogetkey method: GET description: Get a Repository's Key by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the key to get required: true - name: repodeletekey method: DELETE description: Delete a Key from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the key to delete required: true - name: repos-owner-repo-languages path: /repos/{owner}/{repo}/languages operations: - name: repogetlanguages method: GET description: Get Languages and Number of Bytes of Code Written outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-licenses path: /repos/{owner}/{repo}/licenses operations: - name: repogetlicenses method: GET description: Get Repo Licenses outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-media-filepath path: /repos/{owner}/{repo}/media/{filepath} operations: - name: repogetrawfileorlfs method: GET description: Get a File or It's LFS Object from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: path of the file to get, it should be "{ref}/{filepath}". If there is no ref could be inferred, it will be treated as the default branch required: true - name: ref in: query type: string description: The name of the commit/branch/tag. Default to the repository’s default branch - name: repos-owner-repo-merge-upstream path: /repos/{owner}/{repo}/merge-upstream operations: - name: repomergeupstream method: POST description: Merge a Branch from Upstream outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-mirror-sync path: /repos/{owner}/{repo}/mirror-sync operations: - name: repomirrorsync method: POST description: Sync a Mirrored Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to sync required: true - name: repo in: path type: string description: name of the repo to sync required: true - name: repos-owner-repo-new_pin_allowed path: /repos/{owner}/{repo}/new_pin_allowed operations: - name: reponewpinallowed method: GET description: Returns if New Issue Pins Are Allowed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-pulls path: /repos/{owner}/{repo}/pulls operations: - name: repolistpullrequests method: GET description: List a Repo's Pull Requests outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: Name of the repo required: true - name: base_branch in: query type: string description: Filter by target base branch of the pull request - name: state in: query type: string description: State of pull request - name: sort in: query type: string description: Type of sort - name: milestone in: query type: integer description: ID of the milestone - name: labels in: query type: array description: Label IDs - name: poster in: query type: string description: Filter by pull request author - name: page in: query type: integer description: Page number of results to return (1-based) - name: limit in: query type: integer description: Page size of results - name: repocreatepullrequest method: POST description: Create a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-pulls-comments-id-resolve path: /repos/{owner}/{repo}/pulls/comments/{id}/resolve operations: - name: reporesolvepullreviewcomment method: POST description: Resolve a Pull Request Review Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the review comment required: true - name: repos-owner-repo-pulls-comments-id-unresolve path: /repos/{owner}/{repo}/pulls/comments/{id}/unresolve operations: - name: repounresolvepullreviewcomment method: POST description: Unresolve a Pull Request Review Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the review comment required: true - name: repos-owner-repo-pulls-pinned path: /repos/{owner}/{repo}/pulls/pinned operations: - name: repolistpinnedpullrequests method: GET description: List a Repo's Pinned Pull Requests outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-pulls-base-head path: /repos/{owner}/{repo}/pulls/{base}/{head} operations: - name: repogetpullrequestbybasehead method: GET description: Get a Pull Request by Base and Head outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: base in: path type: string description: base of the pull request to get required: true - name: head in: path type: string description: head of the pull request to get required: true - name: repos-owner-repo-pulls-index path: /repos/{owner}/{repo}/pulls/{index} operations: - name: repogetpullrequest method: GET description: Get a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to get required: true - name: repoeditpullrequest method: PATCH description: Update a Pull Request. if Using Deadline Only the Date Will Be Taken Into Account, and Time of Day Ignored. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to edit required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-pulls-index}.{diffType path: /repos/{owner}/{repo}/pulls/{index}.{diffType} operations: - name: repodownloadpulldifforpatch method: GET description: Get a Pull Request Diff or Patch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to get required: true - name: diffType in: path type: string description: whether the output is diff or patch required: true - name: binary in: query type: boolean description: whether to include binary file changes. if true, the diff is applicable with `git apply` - name: repos-owner-repo-pulls-index-commits path: /repos/{owner}/{repo}/pulls/{index}/commits operations: - name: repogetpullrequestcommits method: GET description: Get Commits for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to get required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: verification in: query type: boolean description: include verification for every commit (disable for speedup, default 'true') - name: files in: query type: boolean description: include a list of affected files for every commit (disable for speedup, default 'true') - name: repos-owner-repo-pulls-index-files path: /repos/{owner}/{repo}/pulls/{index}/files operations: - name: repogetpullrequestfiles method: GET description: Get Changed Files for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to get required: true - name: skip-to in: query type: string description: skip to given file - name: whitespace in: query type: string description: whitespace behavior - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-pulls-index-merge path: /repos/{owner}/{repo}/pulls/{index}/merge operations: - name: repopullrequestismerged method: GET description: Check if a Pull Request Has Been Merged outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: repomergepullrequest method: POST description: Merge a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to merge required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repocancelscheduledautomerge method: DELETE description: Cancel the Scheduled Auto Merge for the Given Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to merge required: true - name: repos-owner-repo-pulls-index-requested_reviewers path: /repos/{owner}/{repo}/pulls/{index}/requested_reviewers operations: - name: repocreatepullreviewrequests method: POST description: Create Review Requests for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repodeletepullreviewrequests method: DELETE description: Cancel Review Requests for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-pulls-index-reviews path: /repos/{owner}/{repo}/pulls/{index}/reviews operations: - name: repolistpullreviews method: GET description: List All Reviews for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repocreatepullreview method: POST description: Create a Review to a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-pulls-index-reviews-id path: /repos/{owner}/{repo}/pulls/{index}/reviews/{id} operations: - name: repogetpullreview method: GET description: Get a Specific Review for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: id in: path type: integer description: id of the review required: true - name: reposubmitpullreview method: POST description: Submit a Pending Review to a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: id in: path type: integer description: id of the review required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repodeletepullreview method: DELETE description: Delete a Specific Review from a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: id in: path type: integer description: id of the review required: true - name: repos-owner-repo-pulls-index-reviews-id-comments path: /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments operations: - name: repogetpullreviewcomments method: GET description: Get a Specific Review for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: id in: path type: integer description: id of the review required: true - name: repos-owner-repo-pulls-index-reviews-id-dismissals path: /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals operations: - name: repodismisspullreview method: POST description: Dismiss a Review for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: id in: path type: integer description: id of the review required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-pulls-index-reviews-id-undismissals path: /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals operations: - name: repoundismisspullreview method: POST description: Cancel to Dismiss a Review for a Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request required: true - name: id in: path type: integer description: id of the review required: true - name: repos-owner-repo-pulls-index-update path: /repos/{owner}/{repo}/pulls/{index}/update operations: - name: repoupdatepullrequest method: POST description: Merge PR's BaseBranch Into HeadBranch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: index in: path type: integer description: index of the pull request to get required: true - name: style in: query type: string description: how to update pull request - name: repos-owner-repo-push_mirrors path: /repos/{owner}/{repo}/push_mirrors operations: - name: repolistpushmirrors method: GET description: Get All Push Mirrors of the Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repoaddpushmirror method: POST description: Add a Push Mirror to the Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-push_mirrors-sync path: /repos/{owner}/{repo}/push_mirrors-sync operations: - name: repopushmirrorsync method: POST description: Sync All Push Mirrored Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to sync required: true - name: repo in: path type: string description: name of the repo to sync required: true - name: repos-owner-repo-push_mirrors-name path: /repos/{owner}/{repo}/push_mirrors/{name} operations: - name: repogetpushmirrorbyremotename method: GET description: Get Push Mirror of the Repository by RemoteName outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: name in: path type: string description: remote name of push mirror required: true - name: repodeletepushmirror method: DELETE description: Deletes a Push Mirror from a Repository by RemoteName outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: name in: path type: string description: remote name of the pushMirror required: true - name: repos-owner-repo-raw-filepath path: /repos/{owner}/{repo}/raw/{filepath} operations: - name: repogetrawfile method: GET description: Get a File from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: filepath in: path type: string description: path of the file to get, it should be "{ref}/{filepath}". If there is no ref could be inferred, it will be treated as the default branch required: true - name: ref in: query type: string description: The name of the commit/branch/tag. Default to the repository’s default branch - name: repos-owner-repo-releases path: /repos/{owner}/{repo}/releases operations: - name: repolistreleases method: GET description: List a Repo's Releases outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: draft in: query type: boolean description: filter (exclude / include) drafts, if you don't have repo write access none will show - name: pre-release in: query type: boolean description: filter (exclude / include) pre-releases - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repocreaterelease method: POST description: Create a Release outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-releases-latest path: /repos/{owner}/{repo}/releases/latest operations: - name: repogetlatestrelease method: GET description: Gets the Most Recent Non-Prerelease, Non-Draft Release of a Repository, Sorted by Created_at outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-releases-tags-tag path: /repos/{owner}/{repo}/releases/tags/{tag} operations: - name: repogetreleasebytag method: GET description: Get a Release by Tag Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: tag in: path type: string description: tag name of the release to get required: true - name: repodeletereleasebytag method: DELETE description: Delete a Release by Tag Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: tag in: path type: string description: tag name of the release to delete required: true - name: repos-owner-repo-releases-id path: /repos/{owner}/{repo}/releases/{id} operations: - name: repogetrelease method: GET description: Get a Release outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release to get required: true - name: repodeleterelease method: DELETE description: Delete a Release outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release to delete required: true - name: repoeditrelease method: PATCH description: Update a Release outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release to edit required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-releases-id-assets path: /repos/{owner}/{repo}/releases/{id}/assets operations: - name: repolistreleaseattachments method: GET description: List Release's Attachments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release required: true - name: repocreatereleaseattachment method: POST description: Create a Release Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release required: true - name: name in: query type: string description: name of the attachment - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-releases-id-assets-attachment_id path: /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} operations: - name: repogetreleaseattachment method: GET description: Get a Release Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release required: true - name: attachment_id in: path type: integer description: id of the attachment to get required: true - name: repodeletereleaseattachment method: DELETE description: Delete a Release Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release required: true - name: attachment_id in: path type: integer description: id of the attachment to delete required: true - name: repoeditreleaseattachment method: PATCH description: Edit a Release Attachment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the release required: true - name: attachment_id in: path type: integer description: id of the attachment to edit required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-reviewers path: /repos/{owner}/{repo}/reviewers operations: - name: repogetreviewers method: GET description: Return All Users That Can Be Requested to Review in This Repo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-signing-key.gpg path: /repos/{owner}/{repo}/signing-key.gpg operations: - name: reposigningkey method: GET description: Get Signing-Key.gpg for Given Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-signing-key.pub path: /repos/{owner}/{repo}/signing-key.pub operations: - name: reposigningkeyssh method: GET description: Get Signing-Key.pub for Given Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-stargazers path: /repos/{owner}/{repo}/stargazers operations: - name: repoliststargazers method: GET description: List a Repo's Stargazers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-statuses-sha path: /repos/{owner}/{repo}/statuses/{sha} operations: - name: repoliststatuses method: GET description: Get a Commit's Statuses outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: sha of the commit required: true - name: sort in: query type: string description: type of sort - name: state in: query type: string description: type of state - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repocreatestatus method: POST description: Create a Commit Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: sha in: path type: string description: sha of the commit required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-subscribers path: /repos/{owner}/{repo}/subscribers operations: - name: repolistsubscribers method: GET description: List a Repo's Watchers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-subscription path: /repos/{owner}/{repo}/subscription operations: - name: usercurrentchecksubscription method: GET description: Check if the Current User Is Watching a Repo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: usercurrentputsubscription method: PUT description: Watch a Repo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: usercurrentdeletesubscription method: DELETE description: Unwatch a Repo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-tag_protections path: /repos/{owner}/{repo}/tag_protections operations: - name: repolisttagprotection method: GET description: List Tag Protections for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repocreatetagprotection method: POST description: Create a Tag Protections for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-tag_protections-id path: /repos/{owner}/{repo}/tag_protections/{id} operations: - name: repogettagprotection method: GET description: Get a Specific Tag Protection for the Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of the tag protect to get required: true - name: repodeletetagprotection method: DELETE description: Delete a Specific Tag Protection for the Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of protected tag required: true - name: repoedittagprotection method: PATCH description: Edit a Tag Protections for a Repository. Only Fields That Are Set Will Be Changed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: id in: path type: integer description: id of protected tag required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-tags path: /repos/{owner}/{repo}/tags operations: - name: repolisttags method: GET description: List a Repository's Tags outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results, default maximum page size is 50 - name: repocreatetag method: POST description: Create a New Git Tag in a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-tags-tag path: /repos/{owner}/{repo}/tags/{tag} operations: - name: repogettag method: GET description: Get the Tag of a Repository by Tag Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: tag in: path type: string description: name of tag required: true - name: repodeletetag method: DELETE description: Delete a Repository's Tag by Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: tag in: path type: string description: name of tag to delete required: true - name: repos-owner-repo-teams path: /repos/{owner}/{repo}/teams operations: - name: repolistteams method: GET description: List a Repository's Teams outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: repos-owner-repo-teams-team path: /repos/{owner}/{repo}/teams/{team} operations: - name: repocheckteam method: GET description: Check if a Team Is Assigned to a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: team in: path type: string description: team name required: true - name: repoaddteam method: PUT description: Add a Team to a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: team in: path type: string description: team name required: true - name: repodeleteteam method: DELETE description: Delete a Team from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: team in: path type: string description: team name required: true - name: repos-owner-repo-times path: /repos/{owner}/{repo}/times operations: - name: repotrackedtimes method: GET description: List a Repo's Tracked Times outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: user in: query type: string description: optional filter by user (available for issue managers) - name: since in: query type: string description: Only show times updated after the given time. This is a timestamp in RFC 3339 format - name: before in: query type: string description: Only show times updated before the given time. This is a timestamp in RFC 3339 format - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-times-user path: /repos/{owner}/{repo}/times/{user} operations: - name: usertrackedtimes method: GET description: List a User's Tracked Times in a Repo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: user in: path type: string description: username of the user whose tracked times are to be listed required: true - name: repos-owner-repo-topics path: /repos/{owner}/{repo}/topics operations: - name: repolisttopics method: GET description: Get List of Topics That a Repository Has outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repoupdatetopics method: PUT description: Replace List of Topics for a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-topics-topic path: /repos/{owner}/{repo}/topics/{topic} operations: - name: repoaddtopic method: PUT description: Add a Topic to a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: topic in: path type: string description: name of the topic to add required: true - name: repodeletetopic method: DELETE description: Delete a Topic from a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: topic in: path type: string description: name of the topic to delete required: true - name: repos-owner-repo-transfer path: /repos/{owner}/{repo}/transfer operations: - name: repotransfer method: POST description: Transfer a Repo Ownership outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to transfer required: true - name: repo in: path type: string description: name of the repo to transfer required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-transfer-accept path: /repos/{owner}/{repo}/transfer/accept operations: - name: acceptrepotransfer method: POST description: Accept a Repo Transfer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to transfer required: true - name: repo in: path type: string description: name of the repo to transfer required: true - name: repos-owner-repo-transfer-reject path: /repos/{owner}/{repo}/transfer/reject operations: - name: rejectrepotransfer method: POST description: Reject a Repo Transfer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo to transfer required: true - name: repo in: path type: string description: name of the repo to transfer required: true - name: repos-owner-repo-wiki-new path: /repos/{owner}/{repo}/wiki/new operations: - name: repocreatewikipage method: POST description: Create a Wiki Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-wiki-page-pageName path: /repos/{owner}/{repo}/wiki/page/{pageName} operations: - name: repogetwikipage method: GET description: Get a Wiki Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: pageName in: path type: string description: name of the page required: true - name: repodeletewikipage method: DELETE description: Delete a Wiki Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: pageName in: path type: string description: name of the page required: true - name: repoeditwikipage method: PATCH description: Edit a Wiki Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: pageName in: path type: string description: name of the page required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-wiki-pages path: /repos/{owner}/{repo}/wiki/pages operations: - name: repogetwikipages method: GET description: Get All Wiki Pages outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: repos-owner-repo-wiki-revisions-pageName path: /repos/{owner}/{repo}/wiki/revisions/{pageName} operations: - name: repogetwikipagerevisions method: GET description: Get Revisions of a Wiki Page outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: owner in: path type: string description: owner of the repo required: true - name: repo in: path type: string description: name of the repo required: true - name: pageName in: path type: string description: name of the page required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: repos-template_owner-template_repo-generate path: /repos/{template_owner}/{template_repo}/generate operations: - name: generaterepo method: POST description: Create a Repository Using a Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: template_owner in: path type: string description: owner of the template repository required: true - name: template_repo in: path type: string description: name of the template repository required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-id path: /repositories/{id} operations: - name: repogetbyid method: GET description: Get a Repository by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: id of the repo to get required: true - name: topics-search path: /topics/search operations: - name: topicsearch method: GET description: Search Topics via Keyword outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: q in: query type: string description: keywords to search required: true - name: page in: query type: integer description: page number of results to return (1-based) - name: limit in: query type: integer description: page size of results - name: user-repos path: /user/repos operations: - name: createcurrentuserrepo method: POST description: Create a Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: access_token value: '{{env.GITEA_API_KEY}}' placement: query exposes: - type: rest namespace: rest-repository-rest port: 8080 description: REST adapter for Gitea API — repository. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/migrate name: repos-migrate description: REST surface for repos-migrate. operations: - method: POST name: repomigrate description: Migrate a Remote Git Repository call: rest-repository.repomigrate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/search name: repos-search description: REST surface for repos-search. operations: - method: GET name: reposearch description: Search for Repositories call: rest-repository.reposearch with: q: rest.q topic: rest.topic includeDesc: rest.includeDesc uid: rest.uid priority_owner_id: rest.priority_owner_id team_id: rest.team_id starredBy: rest.starredBy private: rest.private is_private: rest.is_private template: rest.template archived: rest.archived mode: rest.mode exclusive: rest.exclusive sort: rest.sort order: rest.order page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo} name: repos-owner-repo description: REST surface for repos-owner-repo. operations: - method: GET name: repoget description: Get a Repository call: rest-repository.repoget with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - method: DELETE name: repodelete description: Delete a Repository call: rest-repository.repodelete with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - method: PATCH name: repoedit description: Edit a Repository's Properties. Only Fields That Are Set Will Be Changed. call: rest-repository.repoedit with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/artifacts name: repos-owner-repo-actions-artifacts description: REST surface for repos-owner-repo-actions-artifacts. operations: - method: GET name: getartifacts description: Lists All Artifacts for a Repository call: rest-repository.getartifacts with: owner: rest.owner repo: rest.repo name: rest.name outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/artifacts/{artifact-id} name: repos-owner-repo-actions-artifacts-artifact-id description: REST surface for repos-owner-repo-actions-artifacts-artifact_id. operations: - method: GET name: getartifact description: Gets a Specific Artifact for a Workflow Run call: rest-repository.getartifact with: owner: rest.owner repo: rest.repo artifact_id: rest.artifact_id outputParameters: - type: object mapping: $. - method: DELETE name: deleteartifact description: Deletes a Specific Artifact for a Workflow Run call: rest-repository.deleteartifact with: owner: rest.owner repo: rest.repo artifact_id: rest.artifact_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/artifacts/{artifact-id}/zip name: repos-owner-repo-actions-artifacts-artifact-id-zip description: REST surface for repos-owner-repo-actions-artifacts-artifact_id-zip. operations: - method: GET name: downloadartifact description: Downloads a Specific Artifact for a Workflow Run Redirects to Blob URL call: rest-repository.downloadartifact with: owner: rest.owner repo: rest.repo artifact_id: rest.artifact_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/jobs name: repos-owner-repo-actions-jobs description: REST surface for repos-owner-repo-actions-jobs. operations: - method: GET name: listworkflowjobs description: Lists All Jobs for a Repository call: rest-repository.listworkflowjobs with: owner: rest.owner repo: rest.repo status: rest.status page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/jobs/{job-id} name: repos-owner-repo-actions-jobs-job-id description: REST surface for repos-owner-repo-actions-jobs-job_id. operations: - method: GET name: getworkflowjob description: Gets a Specific Workflow Job for a Workflow Run call: rest-repository.getworkflowjob with: owner: rest.owner repo: rest.repo job_id: rest.job_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/jobs/{job-id}/logs name: repos-owner-repo-actions-jobs-job-id-logs description: REST surface for repos-owner-repo-actions-jobs-job_id-logs. operations: - method: GET name: downloadactionsrunjoblogs description: Downloads the Job Logs for a Workflow Run call: rest-repository.downloadactionsrunjoblogs with: owner: rest.owner repo: rest.repo job_id: rest.job_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runners name: repos-owner-repo-actions-runners description: REST surface for repos-owner-repo-actions-runners. operations: - method: GET name: getreporunners description: Get Repo-Level Runners call: rest-repository.getreporunners with: owner: rest.owner repo: rest.repo disabled: rest.disabled outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runners/registration-token name: repos-owner-repo-actions-runners-registration-token description: REST surface for repos-owner-repo-actions-runners-registration-token. operations: - method: POST name: repocreaterunnerregistrationtoken description: Get a Repository's Actions Runner Registration Token call: rest-repository.repocreaterunnerregistrationtoken with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runners/{runner-id} name: repos-owner-repo-actions-runners-runner-id description: REST surface for repos-owner-repo-actions-runners-runner_id. operations: - method: GET name: getreporunner description: Get a Repo-Level Runner call: rest-repository.getreporunner with: owner: rest.owner repo: rest.repo runner_id: rest.runner_id outputParameters: - type: object mapping: $. - method: DELETE name: deletereporunner description: Delete a Repo-Level Runner call: rest-repository.deletereporunner with: owner: rest.owner repo: rest.repo runner_id: rest.runner_id outputParameters: - type: object mapping: $. - method: PATCH name: updatereporunner description: Update a Repo-Level Runner call: rest-repository.updatereporunner with: owner: rest.owner repo: rest.repo runner_id: rest.runner_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runs name: repos-owner-repo-actions-runs description: REST surface for repos-owner-repo-actions-runs. operations: - method: GET name: getworkflowruns description: Lists All Runs for a Repository Run call: rest-repository.getworkflowruns with: owner: rest.owner repo: rest.repo event: rest.event branch: rest.branch status: rest.status actor: rest.actor head_sha: rest.head_sha page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runs/{run} name: repos-owner-repo-actions-runs-run description: REST surface for repos-owner-repo-actions-runs-run. operations: - method: GET name: getworkflowrun description: Gets a Specific Workflow Run call: rest-repository.getworkflowrun with: owner: rest.owner repo: rest.repo run: rest.run outputParameters: - type: object mapping: $. - method: DELETE name: deleteactionrun description: Delete a Workflow Run call: rest-repository.deleteactionrun with: owner: rest.owner repo: rest.repo run: rest.run outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runs/{run}/artifacts name: repos-owner-repo-actions-runs-run-artifacts description: REST surface for repos-owner-repo-actions-runs-run-artifacts. operations: - method: GET name: getartifactsofrun description: Lists All Artifacts for a Repository Run call: rest-repository.getartifactsofrun with: owner: rest.owner repo: rest.repo run: rest.run name: rest.name outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runs/{run}/jobs name: repos-owner-repo-actions-runs-run-jobs description: REST surface for repos-owner-repo-actions-runs-run-jobs. operations: - method: GET name: listworkflowrunjobs description: Lists All Jobs for a Workflow Run call: rest-repository.listworkflowrunjobs with: owner: rest.owner repo: rest.repo run: rest.run status: rest.status page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runs/{run}/jobs/{job-id}/rerun name: repos-owner-repo-actions-runs-run-jobs-job-id-rerun description: REST surface for repos-owner-repo-actions-runs-run-jobs-job_id-rerun. operations: - method: POST name: rerunworkflowjob description: Reruns a Specific Workflow Job in a Run call: rest-repository.rerunworkflowjob with: owner: rest.owner repo: rest.repo run: rest.run job_id: rest.job_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runs/{run}/rerun name: repos-owner-repo-actions-runs-run-rerun description: REST surface for repos-owner-repo-actions-runs-run-rerun. operations: - method: POST name: rerunworkflowrun description: Reruns an Entire Workflow Run call: rest-repository.rerunworkflowrun with: owner: rest.owner repo: rest.repo run: rest.run outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/runs/{run}/rerun-failed-jobs name: repos-owner-repo-actions-runs-run-rerun-failed-jobs description: REST surface for repos-owner-repo-actions-runs-run-rerun-failed-jobs. operations: - method: POST name: rerunfailedworkflowrun description: Reruns All Failed Jobs in a Workflow Run call: rest-repository.rerunfailedworkflowrun with: owner: rest.owner repo: rest.repo run: rest.run outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/secrets name: repos-owner-repo-actions-secrets description: REST surface for repos-owner-repo-actions-secrets. operations: - method: GET name: repolistactionssecrets description: List an Repo's Actions Secrets call: rest-repository.repolistactionssecrets with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/secrets/{secretname} name: repos-owner-repo-actions-secrets-secretname description: REST surface for repos-owner-repo-actions-secrets-secretname. operations: - method: PUT name: updatereposecret description: Create or Update a Secret Value in a Repository call: rest-repository.updatereposecret with: owner: rest.owner repo: rest.repo secretname: rest.secretname body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletereposecret description: Delete a Secret in a Repository call: rest-repository.deletereposecret with: owner: rest.owner repo: rest.repo secretname: rest.secretname outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/tasks name: repos-owner-repo-actions-tasks description: REST surface for repos-owner-repo-actions-tasks. operations: - method: GET name: listactiontasks description: List a Repository's Action Tasks call: rest-repository.listactiontasks with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/variables name: repos-owner-repo-actions-variables description: REST surface for repos-owner-repo-actions-variables. operations: - method: GET name: getrepovariableslist description: Get Repo-Level Variables List call: rest-repository.getrepovariableslist with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/variables/{variablename} name: repos-owner-repo-actions-variables-variablename description: REST surface for repos-owner-repo-actions-variables-variablename. operations: - method: GET name: getrepovariable description: Get a Repo-Level Variable call: rest-repository.getrepovariable with: owner: rest.owner repo: rest.repo variablename: rest.variablename outputParameters: - type: object mapping: $. - method: PUT name: updaterepovariable description: Update a Repo-Level Variable call: rest-repository.updaterepovariable with: owner: rest.owner repo: rest.repo variablename: rest.variablename body: rest.body outputParameters: - type: object mapping: $. - method: POST name: createrepovariable description: Create a Repo-Level Variable call: rest-repository.createrepovariable with: owner: rest.owner repo: rest.repo variablename: rest.variablename body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleterepovariable description: Delete a Repo-Level Variable call: rest-repository.deleterepovariable with: owner: rest.owner repo: rest.repo variablename: rest.variablename outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/workflows name: repos-owner-repo-actions-workflows description: REST surface for repos-owner-repo-actions-workflows. operations: - method: GET name: actionslistrepositoryworkflows description: List Repository Workflows call: rest-repository.actionslistrepositoryworkflows with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/workflows/{workflow-id} name: repos-owner-repo-actions-workflows-workflow-id description: REST surface for repos-owner-repo-actions-workflows-workflow_id. operations: - method: GET name: actionsgetworkflow description: Get a Workflow call: rest-repository.actionsgetworkflow with: owner: rest.owner repo: rest.repo workflow_id: rest.workflow_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/disable name: repos-owner-repo-actions-workflows-workflow-id-disable description: REST surface for repos-owner-repo-actions-workflows-workflow_id-disable. operations: - method: PUT name: actionsdisableworkflow description: Disable a Workflow call: rest-repository.actionsdisableworkflow with: owner: rest.owner repo: rest.repo workflow_id: rest.workflow_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches name: repos-owner-repo-actions-workflows-workflow-id-dispatches description: REST surface for repos-owner-repo-actions-workflows-workflow_id-dispatches. operations: - method: POST name: actionsdispatchworkflow description: Create a Workflow Dispatch Event call: rest-repository.actionsdispatchworkflow with: owner: rest.owner repo: rest.repo workflow_id: rest.workflow_id return_run_details: rest.return_run_details body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/enable name: repos-owner-repo-actions-workflows-workflow-id-enable description: REST surface for repos-owner-repo-actions-workflows-workflow_id-enable. operations: - method: PUT name: actionsenableworkflow description: Enable a Workflow call: rest-repository.actionsenableworkflow with: owner: rest.owner repo: rest.repo workflow_id: rest.workflow_id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/activities/feeds name: repos-owner-repo-activities-feeds description: REST surface for repos-owner-repo-activities-feeds. operations: - method: GET name: repolistactivityfeeds description: List a Repository's Activity Feeds call: rest-repository.repolistactivityfeeds with: owner: rest.owner repo: rest.repo date: rest.date page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/archive/{archive} name: repos-owner-repo-archive-archive description: REST surface for repos-owner-repo-archive-archive. operations: - method: GET name: repogetarchive description: Get an Archive of a Repository call: rest-repository.repogetarchive with: owner: rest.owner repo: rest.repo archive: rest.archive path: rest.path outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/assignees name: repos-owner-repo-assignees description: REST surface for repos-owner-repo-assignees. operations: - method: GET name: repogetassignees description: Return All Users That Have Write Access and Can Be Assigned to Issues call: rest-repository.repogetassignees with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/avatar name: repos-owner-repo-avatar description: REST surface for repos-owner-repo-avatar. operations: - method: POST name: repoupdateavatar description: Update Avatar call: rest-repository.repoupdateavatar with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repodeleteavatar description: Delete Avatar call: rest-repository.repodeleteavatar with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/branch-protections name: repos-owner-repo-branch-protections description: REST surface for repos-owner-repo-branch_protections. operations: - method: GET name: repolistbranchprotection description: List Branch Protections for a Repository call: rest-repository.repolistbranchprotection with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - method: POST name: repocreatebranchprotection description: Create a Branch Protections for a Repository call: rest-repository.repocreatebranchprotection with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/branch-protections/priority name: repos-owner-repo-branch-protections-priority description: REST surface for repos-owner-repo-branch_protections-priority. operations: - method: POST name: repoupdatebranchprotectionpriories description: Update the Priorities of Branch Protections for a Repository. call: rest-repository.repoupdatebranchprotectionpriories with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/branch-protections/{name} name: repos-owner-repo-branch-protections-name description: REST surface for repos-owner-repo-branch_protections-name. operations: - method: GET name: repogetbranchprotection description: Get a Specific Branch Protection for the Repository call: rest-repository.repogetbranchprotection with: owner: rest.owner repo: rest.repo name: rest.name outputParameters: - type: object mapping: $. - method: DELETE name: repodeletebranchprotection description: Delete a Specific Branch Protection for the Repository call: rest-repository.repodeletebranchprotection with: owner: rest.owner repo: rest.repo name: rest.name outputParameters: - type: object mapping: $. - method: PATCH name: repoeditbranchprotection description: Edit a Branch Protections for a Repository. Only Fields That Are Set Will Be Changed call: rest-repository.repoeditbranchprotection with: owner: rest.owner repo: rest.repo name: rest.name body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/branches name: repos-owner-repo-branches description: REST surface for repos-owner-repo-branches. operations: - method: GET name: repolistbranches description: List a Repository's Branches call: rest-repository.repolistbranches with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreatebranch description: Create a Branch call: rest-repository.repocreatebranch with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/branches/{branch} name: repos-owner-repo-branches-branch description: REST surface for repos-owner-repo-branches-branch. operations: - method: GET name: repogetbranch description: Retrieve a Specific Branch from a Repository, Including Its Effective Branch Protection call: rest-repository.repogetbranch with: owner: rest.owner repo: rest.repo branch: rest.branch outputParameters: - type: object mapping: $. - method: PUT name: repoupdatebranch description: Update a Branch Reference to a New Commit call: rest-repository.repoupdatebranch with: owner: rest.owner repo: rest.repo branch: rest.branch body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repodeletebranch description: Delete a Specific Branch from a Repository call: rest-repository.repodeletebranch with: owner: rest.owner repo: rest.repo branch: rest.branch outputParameters: - type: object mapping: $. - method: PATCH name: reporenamebranch description: Rename a Branch call: rest-repository.reporenamebranch with: owner: rest.owner repo: rest.repo branch: rest.branch body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/collaborators name: repos-owner-repo-collaborators description: REST surface for repos-owner-repo-collaborators. operations: - method: GET name: repolistcollaborators description: List a Repository's Collaborators call: rest-repository.repolistcollaborators with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/collaborators/{collaborator} name: repos-owner-repo-collaborators-collaborator description: REST surface for repos-owner-repo-collaborators-collaborator. operations: - method: GET name: repocheckcollaborator description: Check if a User Is a Collaborator of a Repository call: rest-repository.repocheckcollaborator with: owner: rest.owner repo: rest.repo collaborator: rest.collaborator outputParameters: - type: object mapping: $. - method: PUT name: repoaddcollaborator description: Add or Update a Collaborator to a Repository call: rest-repository.repoaddcollaborator with: owner: rest.owner repo: rest.repo collaborator: rest.collaborator body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repodeletecollaborator description: Delete a Collaborator from a Repository call: rest-repository.repodeletecollaborator with: owner: rest.owner repo: rest.repo collaborator: rest.collaborator outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/collaborators/{collaborator}/permission name: repos-owner-repo-collaborators-collaborator-permission description: REST surface for repos-owner-repo-collaborators-collaborator-permission. operations: - method: GET name: repogetrepopermissions description: Get Repository Permissions for a User call: rest-repository.repogetrepopermissions with: owner: rest.owner repo: rest.repo collaborator: rest.collaborator outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/commits name: repos-owner-repo-commits description: REST surface for repos-owner-repo-commits. operations: - method: GET name: repogetallcommits description: Get a List of All Commits from a Repository call: rest-repository.repogetallcommits with: owner: rest.owner repo: rest.repo sha: rest.sha path: rest.path since: rest.since until: rest.until stat: rest.stat verification: rest.verification files: rest.files page: rest.page limit: rest.limit not: rest.not outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/commits/{ref}/status name: repos-owner-repo-commits-ref-status description: REST surface for repos-owner-repo-commits-ref-status. operations: - method: GET name: repogetcombinedstatusbyref description: Get a Commit's Combined Status, by Branch/Tag/Commit Reference call: rest-repository.repogetcombinedstatusbyref with: owner: rest.owner repo: rest.repo ref: rest.ref page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/commits/{ref}/statuses name: repos-owner-repo-commits-ref-statuses description: REST surface for repos-owner-repo-commits-ref-statuses. operations: - method: GET name: repoliststatusesbyref description: Get a Commit's Statuses, by Branch/Tag/Commit Reference call: rest-repository.repoliststatusesbyref with: owner: rest.owner repo: rest.repo ref: rest.ref sort: rest.sort state: rest.state page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/commits/{sha}/pull name: repos-owner-repo-commits-sha-pull description: REST surface for repos-owner-repo-commits-sha-pull. operations: - method: GET name: repogetcommitpullrequest description: Get the Merged Pull Request of the Commit call: rest-repository.repogetcommitpullrequest with: owner: rest.owner repo: rest.repo sha: rest.sha outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/compare/{basehead} name: repos-owner-repo-compare-basehead description: REST surface for repos-owner-repo-compare-basehead. operations: - method: GET name: repocomparediff description: Get Commit Comparison Information call: rest-repository.repocomparediff with: owner: rest.owner repo: rest.repo basehead: rest.basehead outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/contents name: repos-owner-repo-contents description: REST surface for repos-owner-repo-contents. operations: - method: GET name: repogetcontentslist description: Gets the Metadata of All the Entries of the Root Dir. call: rest-repository.repogetcontentslist with: owner: rest.owner repo: rest.repo ref: rest.ref outputParameters: - type: object mapping: $. - method: POST name: repochangefiles description: Modify Multiple Files in a Repository call: rest-repository.repochangefiles with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/contents-ext/{filepath} name: repos-owner-repo-contents-ext-filepath description: REST surface for repos-owner-repo-contents-ext-filepath. operations: - method: GET name: repogetcontentsext description: The Extended "contents" API, to Get File Metadata and/or Content, or List a Directory. call: rest-repository.repogetcontentsext with: owner: rest.owner repo: rest.repo filepath: rest.filepath ref: rest.ref includes: rest.includes outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/contents/{filepath} name: repos-owner-repo-contents-filepath description: REST surface for repos-owner-repo-contents-filepath. operations: - method: GET name: repogetcontents description: Gets the Metadata and Contents (if a File) of an Entry in a Repository, or a List of Entries if a Dir. call: rest-repository.repogetcontents with: owner: rest.owner repo: rest.repo filepath: rest.filepath ref: rest.ref outputParameters: - type: object mapping: $. - method: PUT name: repoupdatefile description: Update a File in a Repository if SHA Is Set, or Create the File if SHA Is Not Set call: rest-repository.repoupdatefile with: owner: rest.owner repo: rest.repo filepath: rest.filepath body: rest.body outputParameters: - type: object mapping: $. - method: POST name: repocreatefile description: Create a File in a Repository call: rest-repository.repocreatefile with: owner: rest.owner repo: rest.repo filepath: rest.filepath body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repodeletefile description: Delete a File in a Repository call: rest-repository.repodeletefile with: owner: rest.owner repo: rest.repo filepath: rest.filepath body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/diffpatch name: repos-owner-repo-diffpatch description: REST surface for repos-owner-repo-diffpatch. operations: - method: POST name: repoapplydiffpatch description: Apply Diff Patch to Repository call: rest-repository.repoapplydiffpatch with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/editorconfig/{filepath} name: repos-owner-repo-editorconfig-filepath description: REST surface for repos-owner-repo-editorconfig-filepath. operations: - method: GET name: repogeteditorconfig description: Get the EditorConfig Definitions of a File in a Repository call: rest-repository.repogeteditorconfig with: owner: rest.owner repo: rest.repo filepath: rest.filepath ref: rest.ref outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/file-contents name: repos-owner-repo-file-contents description: REST surface for repos-owner-repo-file-contents. operations: - method: GET name: repogetfilecontents description: Get the Metadata and Contents of Requested Files call: rest-repository.repogetfilecontents with: owner: rest.owner repo: rest.repo ref: rest.ref body: rest.body outputParameters: - type: object mapping: $. - method: POST name: repogetfilecontentspost description: Get the Metadata and Contents of Requested Files call: rest-repository.repogetfilecontentspost with: owner: rest.owner repo: rest.repo ref: rest.ref body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/forks name: repos-owner-repo-forks description: REST surface for repos-owner-repo-forks. operations: - method: GET name: listforks description: List a Repository's Forks call: rest-repository.listforks with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: createfork description: Fork a Repository call: rest-repository.createfork with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/blobs/{sha} name: repos-owner-repo-git-blobs-sha description: REST surface for repos-owner-repo-git-blobs-sha. operations: - method: GET name: getblob description: Gets the Blob of a Repository. call: rest-repository.getblob with: owner: rest.owner repo: rest.repo sha: rest.sha outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/commits/{sha} name: repos-owner-repo-git-commits-sha description: REST surface for repos-owner-repo-git-commits-sha. operations: - method: GET name: repogetsinglecommit description: Get a Single Commit from a Repository call: rest-repository.repogetsinglecommit with: owner: rest.owner repo: rest.repo sha: rest.sha stat: rest.stat verification: rest.verification files: rest.files outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/commits/{sha-difftype} name: repos-owner-repo-git-commits-sha-difftype description: REST surface for repos-owner-repo-git-commits-sha}.{diffType. operations: - method: GET name: repodownloadcommitdifforpatch description: Get a Commit's Diff or Patch call: rest-repository.repodownloadcommitdifforpatch with: owner: rest.owner repo: rest.repo sha: rest.sha diffType: rest.diffType outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/notes/{sha} name: repos-owner-repo-git-notes-sha description: REST surface for repos-owner-repo-git-notes-sha. operations: - method: GET name: repogetnote description: Get a Note Corresponding to a Single Commit from a Repository call: rest-repository.repogetnote with: owner: rest.owner repo: rest.repo sha: rest.sha verification: rest.verification files: rest.files outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/refs name: repos-owner-repo-git-refs description: REST surface for repos-owner-repo-git-refs. operations: - method: GET name: repolistallgitrefs description: Get Specified Ref or Filtered Repository's Refs call: rest-repository.repolistallgitrefs with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/refs/{ref} name: repos-owner-repo-git-refs-ref description: REST surface for repos-owner-repo-git-refs-ref. operations: - method: GET name: repolistgitrefs description: Get Specified Ref or Filtered Repository's Refs call: rest-repository.repolistgitrefs with: owner: rest.owner repo: rest.repo ref: rest.ref outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/tags/{sha} name: repos-owner-repo-git-tags-sha description: REST surface for repos-owner-repo-git-tags-sha. operations: - method: GET name: getannotatedtag description: Gets the Tag Object of an Annotated Tag (not Lightweight Tags) call: rest-repository.getannotatedtag with: owner: rest.owner repo: rest.repo sha: rest.sha outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/git/trees/{sha} name: repos-owner-repo-git-trees-sha description: REST surface for repos-owner-repo-git-trees-sha. operations: - method: GET name: gettree description: Gets the Tree of a Repository. call: rest-repository.gettree with: owner: rest.owner repo: rest.repo sha: rest.sha recursive: rest.recursive page: rest.page per_page: rest.per_page outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/hooks name: repos-owner-repo-hooks description: REST surface for repos-owner-repo-hooks. operations: - method: GET name: repolisthooks description: List the Hooks in a Repository call: rest-repository.repolisthooks with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreatehook description: Create a Hook call: rest-repository.repocreatehook with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/hooks/git name: repos-owner-repo-hooks-git description: REST surface for repos-owner-repo-hooks-git. operations: - method: GET name: repolistgithooks description: List the Git Hooks in a Repository call: rest-repository.repolistgithooks with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/hooks/git/{id} name: repos-owner-repo-hooks-git-id description: REST surface for repos-owner-repo-hooks-git-id. operations: - method: GET name: repogetgithook description: Get a Git Hook call: rest-repository.repogetgithook with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: repodeletegithook description: Delete a Git Hook in a Repository call: rest-repository.repodeletegithook with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: repoeditgithook description: Edit a Git Hook in a Repository call: rest-repository.repoeditgithook with: owner: rest.owner repo: rest.repo id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/hooks/{id} name: repos-owner-repo-hooks-id description: REST surface for repos-owner-repo-hooks-id. operations: - method: GET name: repogethook description: Get a Hook call: rest-repository.repogethook with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: repodeletehook description: Delete a Hook in a Repository call: rest-repository.repodeletehook with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: repoedithook description: Edit a Hook in a Repository call: rest-repository.repoedithook with: owner: rest.owner repo: rest.repo id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/hooks/{id}/tests name: repos-owner-repo-hooks-id-tests description: REST surface for repos-owner-repo-hooks-id-tests. operations: - method: POST name: repotesthook description: Test a Push Webhook call: rest-repository.repotesthook with: owner: rest.owner repo: rest.repo id: rest.id ref: rest.ref outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issue-config name: repos-owner-repo-issue-config description: REST surface for repos-owner-repo-issue_config. operations: - method: GET name: repogetissueconfig description: Returns the Issue Config for a Repo call: rest-repository.repogetissueconfig with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issue-config/validate name: repos-owner-repo-issue-config-validate description: REST surface for repos-owner-repo-issue_config-validate. operations: - method: GET name: repovalidateissueconfig description: Returns the Validation Information for a Issue Config call: rest-repository.repovalidateissueconfig with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issue-templates name: repos-owner-repo-issue-templates description: REST surface for repos-owner-repo-issue_templates. operations: - method: GET name: repogetissuetemplates description: Get Available Issue Templates for a Repository call: rest-repository.repogetissuetemplates with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/issues/pinned name: repos-owner-repo-issues-pinned description: REST surface for repos-owner-repo-issues-pinned. operations: - method: GET name: repolistpinnedissues description: List a Repo's Pinned Issues call: rest-repository.repolistpinnedissues with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/keys name: repos-owner-repo-keys description: REST surface for repos-owner-repo-keys. operations: - method: GET name: repolistkeys description: List a Repository's Keys call: rest-repository.repolistkeys with: owner: rest.owner repo: rest.repo key_id: rest.key_id fingerprint: rest.fingerprint page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreatekey description: Add a Key to a Repository call: rest-repository.repocreatekey with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/keys/{id} name: repos-owner-repo-keys-id description: REST surface for repos-owner-repo-keys-id. operations: - method: GET name: repogetkey description: Get a Repository's Key by ID call: rest-repository.repogetkey with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: repodeletekey description: Delete a Key from a Repository call: rest-repository.repodeletekey with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/languages name: repos-owner-repo-languages description: REST surface for repos-owner-repo-languages. operations: - method: GET name: repogetlanguages description: Get Languages and Number of Bytes of Code Written call: rest-repository.repogetlanguages with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/licenses name: repos-owner-repo-licenses description: REST surface for repos-owner-repo-licenses. operations: - method: GET name: repogetlicenses description: Get Repo Licenses call: rest-repository.repogetlicenses with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/media/{filepath} name: repos-owner-repo-media-filepath description: REST surface for repos-owner-repo-media-filepath. operations: - method: GET name: repogetrawfileorlfs description: Get a File or It's LFS Object from a Repository call: rest-repository.repogetrawfileorlfs with: owner: rest.owner repo: rest.repo filepath: rest.filepath ref: rest.ref outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/merge-upstream name: repos-owner-repo-merge-upstream description: REST surface for repos-owner-repo-merge-upstream. operations: - method: POST name: repomergeupstream description: Merge a Branch from Upstream call: rest-repository.repomergeupstream with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/mirror-sync name: repos-owner-repo-mirror-sync description: REST surface for repos-owner-repo-mirror-sync. operations: - method: POST name: repomirrorsync description: Sync a Mirrored Repository call: rest-repository.repomirrorsync with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/new-pin-allowed name: repos-owner-repo-new-pin-allowed description: REST surface for repos-owner-repo-new_pin_allowed. operations: - method: GET name: reponewpinallowed description: Returns if New Issue Pins Are Allowed call: rest-repository.reponewpinallowed with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls name: repos-owner-repo-pulls description: REST surface for repos-owner-repo-pulls. operations: - method: GET name: repolistpullrequests description: List a Repo's Pull Requests call: rest-repository.repolistpullrequests with: owner: rest.owner repo: rest.repo base_branch: rest.base_branch state: rest.state sort: rest.sort milestone: rest.milestone labels: rest.labels poster: rest.poster page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreatepullrequest description: Create a Pull Request call: rest-repository.repocreatepullrequest with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/comments/{id}/resolve name: repos-owner-repo-pulls-comments-id-resolve description: REST surface for repos-owner-repo-pulls-comments-id-resolve. operations: - method: POST name: reporesolvepullreviewcomment description: Resolve a Pull Request Review Comment call: rest-repository.reporesolvepullreviewcomment with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/comments/{id}/unresolve name: repos-owner-repo-pulls-comments-id-unresolve description: REST surface for repos-owner-repo-pulls-comments-id-unresolve. operations: - method: POST name: repounresolvepullreviewcomment description: Unresolve a Pull Request Review Comment call: rest-repository.repounresolvepullreviewcomment with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/pinned name: repos-owner-repo-pulls-pinned description: REST surface for repos-owner-repo-pulls-pinned. operations: - method: GET name: repolistpinnedpullrequests description: List a Repo's Pinned Pull Requests call: rest-repository.repolistpinnedpullrequests with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{base}/{head} name: repos-owner-repo-pulls-base-head description: REST surface for repos-owner-repo-pulls-base-head. operations: - method: GET name: repogetpullrequestbybasehead description: Get a Pull Request by Base and Head call: rest-repository.repogetpullrequestbybasehead with: owner: rest.owner repo: rest.repo base: rest.base head: rest.head outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index} name: repos-owner-repo-pulls-index description: REST surface for repos-owner-repo-pulls-index. operations: - method: GET name: repogetpullrequest description: Get a Pull Request call: rest-repository.repogetpullrequest with: owner: rest.owner repo: rest.repo index: rest.index outputParameters: - type: object mapping: $. - method: PATCH name: repoeditpullrequest description: Update a Pull Request. if Using Deadline Only the Date Will Be Taken Into Account, and Time of Day Ignored. call: rest-repository.repoeditpullrequest with: owner: rest.owner repo: rest.repo index: rest.index body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index-difftype} name: repos-owner-repo-pulls-index-difftype description: REST surface for repos-owner-repo-pulls-index}.{diffType. operations: - method: GET name: repodownloadpulldifforpatch description: Get a Pull Request Diff or Patch call: rest-repository.repodownloadpulldifforpatch with: owner: rest.owner repo: rest.repo index: rest.index diffType: rest.diffType binary: rest.binary outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/commits name: repos-owner-repo-pulls-index-commits description: REST surface for repos-owner-repo-pulls-index-commits. operations: - method: GET name: repogetpullrequestcommits description: Get Commits for a Pull Request call: rest-repository.repogetpullrequestcommits with: owner: rest.owner repo: rest.repo index: rest.index page: rest.page limit: rest.limit verification: rest.verification files: rest.files outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/files name: repos-owner-repo-pulls-index-files description: REST surface for repos-owner-repo-pulls-index-files. operations: - method: GET name: repogetpullrequestfiles description: Get Changed Files for a Pull Request call: rest-repository.repogetpullrequestfiles with: owner: rest.owner repo: rest.repo index: rest.index skip-to: rest.skip-to whitespace: rest.whitespace page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/merge name: repos-owner-repo-pulls-index-merge description: REST surface for repos-owner-repo-pulls-index-merge. operations: - method: GET name: repopullrequestismerged description: Check if a Pull Request Has Been Merged call: rest-repository.repopullrequestismerged with: owner: rest.owner repo: rest.repo index: rest.index outputParameters: - type: object mapping: $. - method: POST name: repomergepullrequest description: Merge a Pull Request call: rest-repository.repomergepullrequest with: owner: rest.owner repo: rest.repo index: rest.index body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repocancelscheduledautomerge description: Cancel the Scheduled Auto Merge for the Given Pull Request call: rest-repository.repocancelscheduledautomerge with: owner: rest.owner repo: rest.repo index: rest.index outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/requested-reviewers name: repos-owner-repo-pulls-index-requested-reviewers description: REST surface for repos-owner-repo-pulls-index-requested_reviewers. operations: - method: POST name: repocreatepullreviewrequests description: Create Review Requests for a Pull Request call: rest-repository.repocreatepullreviewrequests with: owner: rest.owner repo: rest.repo index: rest.index body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repodeletepullreviewrequests description: Cancel Review Requests for a Pull Request call: rest-repository.repodeletepullreviewrequests with: owner: rest.owner repo: rest.repo index: rest.index body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/reviews name: repos-owner-repo-pulls-index-reviews description: REST surface for repos-owner-repo-pulls-index-reviews. operations: - method: GET name: repolistpullreviews description: List All Reviews for a Pull Request call: rest-repository.repolistpullreviews with: owner: rest.owner repo: rest.repo index: rest.index page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreatepullreview description: Create a Review to a Pull Request call: rest-repository.repocreatepullreview with: owner: rest.owner repo: rest.repo index: rest.index body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id} name: repos-owner-repo-pulls-index-reviews-id description: REST surface for repos-owner-repo-pulls-index-reviews-id. operations: - method: GET name: repogetpullreview description: Get a Specific Review for a Pull Request call: rest-repository.repogetpullreview with: owner: rest.owner repo: rest.repo index: rest.index id: rest.id outputParameters: - type: object mapping: $. - method: POST name: reposubmitpullreview description: Submit a Pending Review to a Pull Request call: rest-repository.reposubmitpullreview with: owner: rest.owner repo: rest.repo index: rest.index id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: repodeletepullreview description: Delete a Specific Review from a Pull Request call: rest-repository.repodeletepullreview with: owner: rest.owner repo: rest.repo index: rest.index id: rest.id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments name: repos-owner-repo-pulls-index-reviews-id-comments description: REST surface for repos-owner-repo-pulls-index-reviews-id-comments. operations: - method: GET name: repogetpullreviewcomments description: Get a Specific Review for a Pull Request call: rest-repository.repogetpullreviewcomments with: owner: rest.owner repo: rest.repo index: rest.index id: rest.id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals name: repos-owner-repo-pulls-index-reviews-id-dismissals description: REST surface for repos-owner-repo-pulls-index-reviews-id-dismissals. operations: - method: POST name: repodismisspullreview description: Dismiss a Review for a Pull Request call: rest-repository.repodismisspullreview with: owner: rest.owner repo: rest.repo index: rest.index id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals name: repos-owner-repo-pulls-index-reviews-id-undismissals description: REST surface for repos-owner-repo-pulls-index-reviews-id-undismissals. operations: - method: POST name: repoundismisspullreview description: Cancel to Dismiss a Review for a Pull Request call: rest-repository.repoundismisspullreview with: owner: rest.owner repo: rest.repo index: rest.index id: rest.id outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{index}/update name: repos-owner-repo-pulls-index-update description: REST surface for repos-owner-repo-pulls-index-update. operations: - method: POST name: repoupdatepullrequest description: Merge PR's BaseBranch Into HeadBranch call: rest-repository.repoupdatepullrequest with: owner: rest.owner repo: rest.repo index: rest.index style: rest.style outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/push-mirrors name: repos-owner-repo-push-mirrors description: REST surface for repos-owner-repo-push_mirrors. operations: - method: GET name: repolistpushmirrors description: Get All Push Mirrors of the Repository call: rest-repository.repolistpushmirrors with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repoaddpushmirror description: Add a Push Mirror to the Repository call: rest-repository.repoaddpushmirror with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/push-mirrors-sync name: repos-owner-repo-push-mirrors-sync description: REST surface for repos-owner-repo-push_mirrors-sync. operations: - method: POST name: repopushmirrorsync description: Sync All Push Mirrored Repository call: rest-repository.repopushmirrorsync with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/push-mirrors/{name} name: repos-owner-repo-push-mirrors-name description: REST surface for repos-owner-repo-push_mirrors-name. operations: - method: GET name: repogetpushmirrorbyremotename description: Get Push Mirror of the Repository by RemoteName call: rest-repository.repogetpushmirrorbyremotename with: owner: rest.owner repo: rest.repo name: rest.name outputParameters: - type: object mapping: $. - method: DELETE name: repodeletepushmirror description: Deletes a Push Mirror from a Repository by RemoteName call: rest-repository.repodeletepushmirror with: owner: rest.owner repo: rest.repo name: rest.name outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/raw/{filepath} name: repos-owner-repo-raw-filepath description: REST surface for repos-owner-repo-raw-filepath. operations: - method: GET name: repogetrawfile description: Get a File from a Repository call: rest-repository.repogetrawfile with: owner: rest.owner repo: rest.repo filepath: rest.filepath ref: rest.ref outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases name: repos-owner-repo-releases description: REST surface for repos-owner-repo-releases. operations: - method: GET name: repolistreleases description: List a Repo's Releases call: rest-repository.repolistreleases with: owner: rest.owner repo: rest.repo draft: rest.draft pre-release: rest.pre-release page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreaterelease description: Create a Release call: rest-repository.repocreaterelease with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases/latest name: repos-owner-repo-releases-latest description: REST surface for repos-owner-repo-releases-latest. operations: - method: GET name: repogetlatestrelease description: Gets the Most Recent Non-Prerelease, Non-Draft Release of a Repository, Sorted by Created_at call: rest-repository.repogetlatestrelease with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases/tags/{tag} name: repos-owner-repo-releases-tags-tag description: REST surface for repos-owner-repo-releases-tags-tag. operations: - method: GET name: repogetreleasebytag description: Get a Release by Tag Name call: rest-repository.repogetreleasebytag with: owner: rest.owner repo: rest.repo tag: rest.tag outputParameters: - type: object mapping: $. - method: DELETE name: repodeletereleasebytag description: Delete a Release by Tag Name call: rest-repository.repodeletereleasebytag with: owner: rest.owner repo: rest.repo tag: rest.tag outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases/{id} name: repos-owner-repo-releases-id description: REST surface for repos-owner-repo-releases-id. operations: - method: GET name: repogetrelease description: Get a Release call: rest-repository.repogetrelease with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: repodeleterelease description: Delete a Release call: rest-repository.repodeleterelease with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: repoeditrelease description: Update a Release call: rest-repository.repoeditrelease with: owner: rest.owner repo: rest.repo id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases/{id}/assets name: repos-owner-repo-releases-id-assets description: REST surface for repos-owner-repo-releases-id-assets. operations: - method: GET name: repolistreleaseattachments description: List Release's Attachments call: rest-repository.repolistreleaseattachments with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: POST name: repocreatereleaseattachment description: Create a Release Attachment call: rest-repository.repocreatereleaseattachment with: owner: rest.owner repo: rest.repo id: rest.id name: rest.name body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/releases/{id}/assets/{attachment-id} name: repos-owner-repo-releases-id-assets-attachment-id description: REST surface for repos-owner-repo-releases-id-assets-attachment_id. operations: - method: GET name: repogetreleaseattachment description: Get a Release Attachment call: rest-repository.repogetreleaseattachment with: owner: rest.owner repo: rest.repo id: rest.id attachment_id: rest.attachment_id outputParameters: - type: object mapping: $. - method: DELETE name: repodeletereleaseattachment description: Delete a Release Attachment call: rest-repository.repodeletereleaseattachment with: owner: rest.owner repo: rest.repo id: rest.id attachment_id: rest.attachment_id outputParameters: - type: object mapping: $. - method: PATCH name: repoeditreleaseattachment description: Edit a Release Attachment call: rest-repository.repoeditreleaseattachment with: owner: rest.owner repo: rest.repo id: rest.id attachment_id: rest.attachment_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/reviewers name: repos-owner-repo-reviewers description: REST surface for repos-owner-repo-reviewers. operations: - method: GET name: repogetreviewers description: Return All Users That Can Be Requested to Review in This Repo call: rest-repository.repogetreviewers with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/signing-key-gpg name: repos-owner-repo-signing-key-gpg description: REST surface for repos-owner-repo-signing-key.gpg. operations: - method: GET name: reposigningkey description: Get Signing-Key.gpg for Given Repository call: rest-repository.reposigningkey with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/signing-key-pub name: repos-owner-repo-signing-key-pub description: REST surface for repos-owner-repo-signing-key.pub. operations: - method: GET name: reposigningkeyssh description: Get Signing-Key.pub for Given Repository call: rest-repository.reposigningkeyssh with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/stargazers name: repos-owner-repo-stargazers description: REST surface for repos-owner-repo-stargazers. operations: - method: GET name: repoliststargazers description: List a Repo's Stargazers call: rest-repository.repoliststargazers with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/statuses/{sha} name: repos-owner-repo-statuses-sha description: REST surface for repos-owner-repo-statuses-sha. operations: - method: GET name: repoliststatuses description: Get a Commit's Statuses call: rest-repository.repoliststatuses with: owner: rest.owner repo: rest.repo sha: rest.sha sort: rest.sort state: rest.state page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreatestatus description: Create a Commit Status call: rest-repository.repocreatestatus with: owner: rest.owner repo: rest.repo sha: rest.sha body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/subscribers name: repos-owner-repo-subscribers description: REST surface for repos-owner-repo-subscribers. operations: - method: GET name: repolistsubscribers description: List a Repo's Watchers call: rest-repository.repolistsubscribers with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/subscription name: repos-owner-repo-subscription description: REST surface for repos-owner-repo-subscription. operations: - method: GET name: usercurrentchecksubscription description: Check if the Current User Is Watching a Repo call: rest-repository.usercurrentchecksubscription with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - method: PUT name: usercurrentputsubscription description: Watch a Repo call: rest-repository.usercurrentputsubscription with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - method: DELETE name: usercurrentdeletesubscription description: Unwatch a Repo call: rest-repository.usercurrentdeletesubscription with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/tag-protections name: repos-owner-repo-tag-protections description: REST surface for repos-owner-repo-tag_protections. operations: - method: GET name: repolisttagprotection description: List Tag Protections for a Repository call: rest-repository.repolisttagprotection with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - method: POST name: repocreatetagprotection description: Create a Tag Protections for a Repository call: rest-repository.repocreatetagprotection with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/tag-protections/{id} name: repos-owner-repo-tag-protections-id description: REST surface for repos-owner-repo-tag_protections-id. operations: - method: GET name: repogettagprotection description: Get a Specific Tag Protection for the Repository call: rest-repository.repogettagprotection with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: repodeletetagprotection description: Delete a Specific Tag Protection for the Repository call: rest-repository.repodeletetagprotection with: owner: rest.owner repo: rest.repo id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: repoedittagprotection description: Edit a Tag Protections for a Repository. Only Fields That Are Set Will Be Changed call: rest-repository.repoedittagprotection with: owner: rest.owner repo: rest.repo id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/tags name: repos-owner-repo-tags description: REST surface for repos-owner-repo-tags. operations: - method: GET name: repolisttags description: List a Repository's Tags call: rest-repository.repolisttags with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: repocreatetag description: Create a New Git Tag in a Repository call: rest-repository.repocreatetag with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/tags/{tag} name: repos-owner-repo-tags-tag description: REST surface for repos-owner-repo-tags-tag. operations: - method: GET name: repogettag description: Get the Tag of a Repository by Tag Name call: rest-repository.repogettag with: owner: rest.owner repo: rest.repo tag: rest.tag outputParameters: - type: object mapping: $. - method: DELETE name: repodeletetag description: Delete a Repository's Tag by Name call: rest-repository.repodeletetag with: owner: rest.owner repo: rest.repo tag: rest.tag outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/teams name: repos-owner-repo-teams description: REST surface for repos-owner-repo-teams. operations: - method: GET name: repolistteams description: List a Repository's Teams call: rest-repository.repolistteams with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/teams/{team} name: repos-owner-repo-teams-team description: REST surface for repos-owner-repo-teams-team. operations: - method: GET name: repocheckteam description: Check if a Team Is Assigned to a Repository call: rest-repository.repocheckteam with: owner: rest.owner repo: rest.repo team: rest.team outputParameters: - type: object mapping: $. - method: PUT name: repoaddteam description: Add a Team to a Repository call: rest-repository.repoaddteam with: owner: rest.owner repo: rest.repo team: rest.team outputParameters: - type: object mapping: $. - method: DELETE name: repodeleteteam description: Delete a Team from a Repository call: rest-repository.repodeleteteam with: owner: rest.owner repo: rest.repo team: rest.team outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/times name: repos-owner-repo-times description: REST surface for repos-owner-repo-times. operations: - method: GET name: repotrackedtimes description: List a Repo's Tracked Times call: rest-repository.repotrackedtimes with: owner: rest.owner repo: rest.repo user: rest.user since: rest.since before: rest.before page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/times/{user} name: repos-owner-repo-times-user description: REST surface for repos-owner-repo-times-user. operations: - method: GET name: usertrackedtimes description: List a User's Tracked Times in a Repo call: rest-repository.usertrackedtimes with: owner: rest.owner repo: rest.repo user: rest.user outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/topics name: repos-owner-repo-topics description: REST surface for repos-owner-repo-topics. operations: - method: GET name: repolisttopics description: Get List of Topics That a Repository Has call: rest-repository.repolisttopics with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - method: PUT name: repoupdatetopics description: Replace List of Topics for a Repository call: rest-repository.repoupdatetopics with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/topics/{topic} name: repos-owner-repo-topics-topic description: REST surface for repos-owner-repo-topics-topic. operations: - method: PUT name: repoaddtopic description: Add a Topic to a Repository call: rest-repository.repoaddtopic with: owner: rest.owner repo: rest.repo topic: rest.topic outputParameters: - type: object mapping: $. - method: DELETE name: repodeletetopic description: Delete a Topic from a Repository call: rest-repository.repodeletetopic with: owner: rest.owner repo: rest.repo topic: rest.topic outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/transfer name: repos-owner-repo-transfer description: REST surface for repos-owner-repo-transfer. operations: - method: POST name: repotransfer description: Transfer a Repo Ownership call: rest-repository.repotransfer with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/transfer/accept name: repos-owner-repo-transfer-accept description: REST surface for repos-owner-repo-transfer-accept. operations: - method: POST name: acceptrepotransfer description: Accept a Repo Transfer call: rest-repository.acceptrepotransfer with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/transfer/reject name: repos-owner-repo-transfer-reject description: REST surface for repos-owner-repo-transfer-reject. operations: - method: POST name: rejectrepotransfer description: Reject a Repo Transfer call: rest-repository.rejectrepotransfer with: owner: rest.owner repo: rest.repo outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/wiki/new name: repos-owner-repo-wiki-new description: REST surface for repos-owner-repo-wiki-new. operations: - method: POST name: repocreatewikipage description: Create a Wiki Page call: rest-repository.repocreatewikipage with: owner: rest.owner repo: rest.repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/wiki/page/{pagename} name: repos-owner-repo-wiki-page-pagename description: REST surface for repos-owner-repo-wiki-page-pageName. operations: - method: GET name: repogetwikipage description: Get a Wiki Page call: rest-repository.repogetwikipage with: owner: rest.owner repo: rest.repo pageName: rest.pageName outputParameters: - type: object mapping: $. - method: DELETE name: repodeletewikipage description: Delete a Wiki Page call: rest-repository.repodeletewikipage with: owner: rest.owner repo: rest.repo pageName: rest.pageName outputParameters: - type: object mapping: $. - method: PATCH name: repoeditwikipage description: Edit a Wiki Page call: rest-repository.repoeditwikipage with: owner: rest.owner repo: rest.repo pageName: rest.pageName body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/wiki/pages name: repos-owner-repo-wiki-pages description: REST surface for repos-owner-repo-wiki-pages. operations: - method: GET name: repogetwikipages description: Get All Wiki Pages call: rest-repository.repogetwikipages with: owner: rest.owner repo: rest.repo page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/wiki/revisions/{pagename} name: repos-owner-repo-wiki-revisions-pagename description: REST surface for repos-owner-repo-wiki-revisions-pageName. operations: - method: GET name: repogetwikipagerevisions description: Get Revisions of a Wiki Page call: rest-repository.repogetwikipagerevisions with: owner: rest.owner repo: rest.repo pageName: rest.pageName page: rest.page outputParameters: - type: object mapping: $. - path: /v1/repos/{template-owner}/{template-repo}/generate name: repos-template-owner-template-repo-generate description: REST surface for repos-template_owner-template_repo-generate. operations: - method: POST name: generaterepo description: Create a Repository Using a Template call: rest-repository.generaterepo with: template_owner: rest.template_owner template_repo: rest.template_repo body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{id} name: repositories-id description: REST surface for repositories-id. operations: - method: GET name: repogetbyid description: Get a Repository by ID call: rest-repository.repogetbyid with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/topics/search name: topics-search description: REST surface for topics-search. operations: - method: GET name: topicsearch description: Search Topics via Keyword call: rest-repository.topicsearch with: q: rest.q page: rest.page limit: rest.limit outputParameters: - type: object mapping: $. - path: /v1/user/repos name: user-repos description: REST surface for user-repos. operations: - method: POST name: createcurrentuserrepo description: Create a Repository call: rest-repository.createcurrentuserrepo with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-repository-mcp port: 9090 transport: http description: MCP adapter for Gitea API — repository. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: migrate-remote-git-repository description: Migrate a Remote Git Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repomigrate with: body: tools.body outputParameters: - type: object mapping: $. - name: search-repositories description: Search for Repositories hints: readOnly: true destructive: false idempotent: true call: rest-repository.reposearch with: q: tools.q topic: tools.topic includeDesc: tools.includeDesc uid: tools.uid priority_owner_id: tools.priority_owner_id team_id: tools.team_id starredBy: tools.starredBy private: tools.private is_private: tools.is_private template: tools.template archived: tools.archived mode: tools.mode exclusive: tools.exclusive sort: tools.sort order: tools.order page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-repository description: Get a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repoget with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: delete-repository description: Delete a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodelete with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: edit-repository-s-properties-only-fields description: Edit a Repository's Properties. Only Fields That Are Set Will Be Changed. hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoedit with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: lists-all-artifacts-repository description: Lists All Artifacts for a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.getartifacts with: owner: tools.owner repo: tools.repo name: tools.name outputParameters: - type: object mapping: $. - name: gets-specific-artifact-workflow-run description: Gets a Specific Artifact for a Workflow Run hints: readOnly: true destructive: false idempotent: true call: rest-repository.getartifact with: owner: tools.owner repo: tools.repo artifact_id: tools.artifact_id outputParameters: - type: object mapping: $. - name: deletes-specific-artifact-workflow-run description: Deletes a Specific Artifact for a Workflow Run hints: readOnly: false destructive: true idempotent: true call: rest-repository.deleteartifact with: owner: tools.owner repo: tools.repo artifact_id: tools.artifact_id outputParameters: - type: object mapping: $. - name: downloads-specific-artifact-workflow-run description: Downloads a Specific Artifact for a Workflow Run Redirects to Blob URL hints: readOnly: true destructive: false idempotent: true call: rest-repository.downloadartifact with: owner: tools.owner repo: tools.repo artifact_id: tools.artifact_id outputParameters: - type: object mapping: $. - name: lists-all-jobs-repository description: Lists All Jobs for a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.listworkflowjobs with: owner: tools.owner repo: tools.repo status: tools.status page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: gets-specific-workflow-job-workflow description: Gets a Specific Workflow Job for a Workflow Run hints: readOnly: true destructive: false idempotent: true call: rest-repository.getworkflowjob with: owner: tools.owner repo: tools.repo job_id: tools.job_id outputParameters: - type: object mapping: $. - name: downloads-job-logs-workflow-run description: Downloads the Job Logs for a Workflow Run hints: readOnly: true destructive: false idempotent: true call: rest-repository.downloadactionsrunjoblogs with: owner: tools.owner repo: tools.repo job_id: tools.job_id outputParameters: - type: object mapping: $. - name: get-repo-level-runners description: Get Repo-Level Runners hints: readOnly: true destructive: false idempotent: true call: rest-repository.getreporunners with: owner: tools.owner repo: tools.repo disabled: tools.disabled outputParameters: - type: object mapping: $. - name: get-repository-s-actions-runner-registration description: Get a Repository's Actions Runner Registration Token hints: readOnly: true destructive: false idempotent: false call: rest-repository.repocreaterunnerregistrationtoken with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-repo-level-runner description: Get a Repo-Level Runner hints: readOnly: true destructive: false idempotent: true call: rest-repository.getreporunner with: owner: tools.owner repo: tools.repo runner_id: tools.runner_id outputParameters: - type: object mapping: $. - name: delete-repo-level-runner description: Delete a Repo-Level Runner hints: readOnly: false destructive: true idempotent: true call: rest-repository.deletereporunner with: owner: tools.owner repo: tools.repo runner_id: tools.runner_id outputParameters: - type: object mapping: $. - name: update-repo-level-runner description: Update a Repo-Level Runner hints: readOnly: false destructive: false idempotent: true call: rest-repository.updatereporunner with: owner: tools.owner repo: tools.repo runner_id: tools.runner_id body: tools.body outputParameters: - type: object mapping: $. - name: lists-all-runs-repository-run description: Lists All Runs for a Repository Run hints: readOnly: true destructive: false idempotent: true call: rest-repository.getworkflowruns with: owner: tools.owner repo: tools.repo event: tools.event branch: tools.branch status: tools.status actor: tools.actor head_sha: tools.head_sha page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: gets-specific-workflow-run description: Gets a Specific Workflow Run hints: readOnly: true destructive: false idempotent: true call: rest-repository.getworkflowrun with: owner: tools.owner repo: tools.repo run: tools.run outputParameters: - type: object mapping: $. - name: delete-workflow-run description: Delete a Workflow Run hints: readOnly: false destructive: true idempotent: true call: rest-repository.deleteactionrun with: owner: tools.owner repo: tools.repo run: tools.run outputParameters: - type: object mapping: $. - name: lists-all-artifacts-repository-run description: Lists All Artifacts for a Repository Run hints: readOnly: true destructive: false idempotent: true call: rest-repository.getartifactsofrun with: owner: tools.owner repo: tools.repo run: tools.run name: tools.name outputParameters: - type: object mapping: $. - name: lists-all-jobs-workflow-run description: Lists All Jobs for a Workflow Run hints: readOnly: true destructive: false idempotent: true call: rest-repository.listworkflowrunjobs with: owner: tools.owner repo: tools.repo run: tools.run status: tools.status page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: reruns-specific-workflow-job-run description: Reruns a Specific Workflow Job in a Run hints: readOnly: false destructive: false idempotent: false call: rest-repository.rerunworkflowjob with: owner: tools.owner repo: tools.repo run: tools.run job_id: tools.job_id outputParameters: - type: object mapping: $. - name: reruns-entire-workflow-run description: Reruns an Entire Workflow Run hints: readOnly: false destructive: false idempotent: false call: rest-repository.rerunworkflowrun with: owner: tools.owner repo: tools.repo run: tools.run outputParameters: - type: object mapping: $. - name: reruns-all-failed-jobs-workflow description: Reruns All Failed Jobs in a Workflow Run hints: readOnly: false destructive: false idempotent: false call: rest-repository.rerunfailedworkflowrun with: owner: tools.owner repo: tools.repo run: tools.run outputParameters: - type: object mapping: $. - name: list-repo-s-actions-secrets description: List an Repo's Actions Secrets hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistactionssecrets with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-update-secret-value-repository description: Create or Update a Secret Value in a Repository hints: readOnly: false destructive: false idempotent: true call: rest-repository.updatereposecret with: owner: tools.owner repo: tools.repo secretname: tools.secretname body: tools.body outputParameters: - type: object mapping: $. - name: delete-secret-repository description: Delete a Secret in a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.deletereposecret with: owner: tools.owner repo: tools.repo secretname: tools.secretname outputParameters: - type: object mapping: $. - name: list-repository-s-action-tasks description: List a Repository's Action Tasks hints: readOnly: true destructive: false idempotent: true call: rest-repository.listactiontasks with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-repo-level-variables-list description: Get Repo-Level Variables List hints: readOnly: true destructive: false idempotent: true call: rest-repository.getrepovariableslist with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-repo-level-variable description: Get a Repo-Level Variable hints: readOnly: true destructive: false idempotent: true call: rest-repository.getrepovariable with: owner: tools.owner repo: tools.repo variablename: tools.variablename outputParameters: - type: object mapping: $. - name: update-repo-level-variable description: Update a Repo-Level Variable hints: readOnly: false destructive: false idempotent: true call: rest-repository.updaterepovariable with: owner: tools.owner repo: tools.repo variablename: tools.variablename body: tools.body outputParameters: - type: object mapping: $. - name: create-repo-level-variable description: Create a Repo-Level Variable hints: readOnly: false destructive: false idempotent: false call: rest-repository.createrepovariable with: owner: tools.owner repo: tools.repo variablename: tools.variablename body: tools.body outputParameters: - type: object mapping: $. - name: delete-repo-level-variable description: Delete a Repo-Level Variable hints: readOnly: false destructive: true idempotent: true call: rest-repository.deleterepovariable with: owner: tools.owner repo: tools.repo variablename: tools.variablename outputParameters: - type: object mapping: $. - name: list-repository-workflows description: List Repository Workflows hints: readOnly: true destructive: false idempotent: true call: rest-repository.actionslistrepositoryworkflows with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-workflow description: Get a Workflow hints: readOnly: true destructive: false idempotent: true call: rest-repository.actionsgetworkflow with: owner: tools.owner repo: tools.repo workflow_id: tools.workflow_id outputParameters: - type: object mapping: $. - name: disable-workflow description: Disable a Workflow hints: readOnly: false destructive: false idempotent: true call: rest-repository.actionsdisableworkflow with: owner: tools.owner repo: tools.repo workflow_id: tools.workflow_id outputParameters: - type: object mapping: $. - name: create-workflow-dispatch-event description: Create a Workflow Dispatch Event hints: readOnly: false destructive: false idempotent: false call: rest-repository.actionsdispatchworkflow with: owner: tools.owner repo: tools.repo workflow_id: tools.workflow_id return_run_details: tools.return_run_details body: tools.body outputParameters: - type: object mapping: $. - name: enable-workflow description: Enable a Workflow hints: readOnly: false destructive: false idempotent: true call: rest-repository.actionsenableworkflow with: owner: tools.owner repo: tools.repo workflow_id: tools.workflow_id outputParameters: - type: object mapping: $. - name: list-repository-s-activity-feeds description: List a Repository's Activity Feeds hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistactivityfeeds with: owner: tools.owner repo: tools.repo date: tools.date page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-archive-repository description: Get an Archive of a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetarchive with: owner: tools.owner repo: tools.repo archive: tools.archive path: tools.path outputParameters: - type: object mapping: $. - name: return-all-users-that-have description: Return All Users That Have Write Access and Can Be Assigned to Issues hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetassignees with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: update-avatar description: Update Avatar hints: readOnly: false destructive: false idempotent: false call: rest-repository.repoupdateavatar with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: delete-avatar description: Delete Avatar hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeleteavatar with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: list-branch-protections-repository description: List Branch Protections for a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistbranchprotection with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: create-branch-protections-repository description: Create a Branch Protections for a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatebranchprotection with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: update-priorities-branch-protections-repository description: Update the Priorities of Branch Protections for a Repository. hints: readOnly: false destructive: false idempotent: false call: rest-repository.repoupdatebranchprotectionpriories with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-branch-protection-repository description: Get a Specific Branch Protection for the Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetbranchprotection with: owner: tools.owner repo: tools.repo name: tools.name outputParameters: - type: object mapping: $. - name: delete-specific-branch-protection-repository description: Delete a Specific Branch Protection for the Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletebranchprotection with: owner: tools.owner repo: tools.repo name: tools.name outputParameters: - type: object mapping: $. - name: edit-branch-protections-repository-only description: Edit a Branch Protections for a Repository. Only Fields That Are Set Will Be Changed hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoeditbranchprotection with: owner: tools.owner repo: tools.repo name: tools.name body: tools.body outputParameters: - type: object mapping: $. - name: list-repository-s-branches description: List a Repository's Branches hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistbranches with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-branch description: Create a Branch hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatebranch with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-specific-branch-repository-including description: Retrieve a Specific Branch from a Repository, Including Its Effective Branch Protection hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetbranch with: owner: tools.owner repo: tools.repo branch: tools.branch outputParameters: - type: object mapping: $. - name: update-branch-reference-new-commit description: Update a Branch Reference to a New Commit hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoupdatebranch with: owner: tools.owner repo: tools.repo branch: tools.branch body: tools.body outputParameters: - type: object mapping: $. - name: delete-specific-branch-repository description: Delete a Specific Branch from a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletebranch with: owner: tools.owner repo: tools.repo branch: tools.branch outputParameters: - type: object mapping: $. - name: rename-branch description: Rename a Branch hints: readOnly: false destructive: false idempotent: true call: rest-repository.reporenamebranch with: owner: tools.owner repo: tools.repo branch: tools.branch body: tools.body outputParameters: - type: object mapping: $. - name: list-repository-s-collaborators description: List a Repository's Collaborators hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistcollaborators with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: check-if-user-is-collaborator description: Check if a User Is a Collaborator of a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repocheckcollaborator with: owner: tools.owner repo: tools.repo collaborator: tools.collaborator outputParameters: - type: object mapping: $. - name: add-update-collaborator-repository description: Add or Update a Collaborator to a Repository hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoaddcollaborator with: owner: tools.owner repo: tools.repo collaborator: tools.collaborator body: tools.body outputParameters: - type: object mapping: $. - name: delete-collaborator-repository description: Delete a Collaborator from a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletecollaborator with: owner: tools.owner repo: tools.repo collaborator: tools.collaborator outputParameters: - type: object mapping: $. - name: get-repository-permissions-user description: Get Repository Permissions for a User hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetrepopermissions with: owner: tools.owner repo: tools.repo collaborator: tools.collaborator outputParameters: - type: object mapping: $. - name: get-list-all-commits-repository description: Get a List of All Commits from a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetallcommits with: owner: tools.owner repo: tools.repo sha: tools.sha path: tools.path since: tools.since until: tools.until stat: tools.stat verification: tools.verification files: tools.files page: tools.page limit: tools.limit not: tools.not outputParameters: - type: object mapping: $. - name: get-commit-s-combined-status-branch description: Get a Commit's Combined Status, by Branch/Tag/Commit Reference hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetcombinedstatusbyref with: owner: tools.owner repo: tools.repo ref: tools.ref page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-commit-s-statuses-branch-tag description: Get a Commit's Statuses, by Branch/Tag/Commit Reference hints: readOnly: true destructive: false idempotent: true call: rest-repository.repoliststatusesbyref with: owner: tools.owner repo: tools.repo ref: tools.ref sort: tools.sort state: tools.state page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-merged-pull-request-commit description: Get the Merged Pull Request of the Commit hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetcommitpullrequest with: owner: tools.owner repo: tools.repo sha: tools.sha outputParameters: - type: object mapping: $. - name: get-commit-comparison-information description: Get Commit Comparison Information hints: readOnly: true destructive: false idempotent: true call: rest-repository.repocomparediff with: owner: tools.owner repo: tools.repo basehead: tools.basehead outputParameters: - type: object mapping: $. - name: gets-metadata-all-entries-root description: Gets the Metadata of All the Entries of the Root Dir. hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetcontentslist with: owner: tools.owner repo: tools.repo ref: tools.ref outputParameters: - type: object mapping: $. - name: modify-multiple-files-repository description: Modify Multiple Files in a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repochangefiles with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: extended-contents-api-get-file description: The Extended "contents" API, to Get File Metadata and/or Content, or List a Directory. hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetcontentsext with: owner: tools.owner repo: tools.repo filepath: tools.filepath ref: tools.ref includes: tools.includes outputParameters: - type: object mapping: $. - name: gets-metadata-and-contents-if description: Gets the Metadata and Contents (if a File) of an Entry in a Repository, or a List of Entries if a Dir. hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetcontents with: owner: tools.owner repo: tools.repo filepath: tools.filepath ref: tools.ref outputParameters: - type: object mapping: $. - name: update-file-repository-if-sha description: Update a File in a Repository if SHA Is Set, or Create the File if SHA Is Not Set hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoupdatefile with: owner: tools.owner repo: tools.repo filepath: tools.filepath body: tools.body outputParameters: - type: object mapping: $. - name: create-file-repository description: Create a File in a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatefile with: owner: tools.owner repo: tools.repo filepath: tools.filepath body: tools.body outputParameters: - type: object mapping: $. - name: delete-file-repository description: Delete a File in a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletefile with: owner: tools.owner repo: tools.repo filepath: tools.filepath body: tools.body outputParameters: - type: object mapping: $. - name: apply-diff-patch-repository description: Apply Diff Patch to Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repoapplydiffpatch with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: get-editorconfig-definitions-file-repository description: Get the EditorConfig Definitions of a File in a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogeteditorconfig with: owner: tools.owner repo: tools.repo filepath: tools.filepath ref: tools.ref outputParameters: - type: object mapping: $. - name: get-metadata-and-contents-requested description: Get the Metadata and Contents of Requested Files hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetfilecontents with: owner: tools.owner repo: tools.repo ref: tools.ref body: tools.body outputParameters: - type: object mapping: $. - name: get-metadata-and-contents-requested-2 description: Get the Metadata and Contents of Requested Files hints: readOnly: true destructive: false idempotent: false call: rest-repository.repogetfilecontentspost with: owner: tools.owner repo: tools.repo ref: tools.ref body: tools.body outputParameters: - type: object mapping: $. - name: list-repository-s-forks description: List a Repository's Forks hints: readOnly: true destructive: false idempotent: true call: rest-repository.listforks with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: fork-repository description: Fork a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.createfork with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: gets-blob-repository description: Gets the Blob of a Repository. hints: readOnly: true destructive: false idempotent: true call: rest-repository.getblob with: owner: tools.owner repo: tools.repo sha: tools.sha outputParameters: - type: object mapping: $. - name: get-single-commit-repository description: Get a Single Commit from a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetsinglecommit with: owner: tools.owner repo: tools.repo sha: tools.sha stat: tools.stat verification: tools.verification files: tools.files outputParameters: - type: object mapping: $. - name: get-commit-s-diff-patch description: Get a Commit's Diff or Patch hints: readOnly: true destructive: false idempotent: true call: rest-repository.repodownloadcommitdifforpatch with: owner: tools.owner repo: tools.repo sha: tools.sha diffType: tools.diffType outputParameters: - type: object mapping: $. - name: get-note-corresponding-single-commit description: Get a Note Corresponding to a Single Commit from a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetnote with: owner: tools.owner repo: tools.repo sha: tools.sha verification: tools.verification files: tools.files outputParameters: - type: object mapping: $. - name: get-specified-ref-filtered-repository-s description: Get Specified Ref or Filtered Repository's Refs hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistallgitrefs with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-specified-ref-filtered-repository-s-2 description: Get Specified Ref or Filtered Repository's Refs hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistgitrefs with: owner: tools.owner repo: tools.repo ref: tools.ref outputParameters: - type: object mapping: $. - name: gets-tag-object-annotated-tag description: Gets the Tag Object of an Annotated Tag (not Lightweight Tags) hints: readOnly: true destructive: false idempotent: true call: rest-repository.getannotatedtag with: owner: tools.owner repo: tools.repo sha: tools.sha outputParameters: - type: object mapping: $. - name: gets-tree-repository description: Gets the Tree of a Repository. hints: readOnly: true destructive: false idempotent: true call: rest-repository.gettree with: owner: tools.owner repo: tools.repo sha: tools.sha recursive: tools.recursive page: tools.page per_page: tools.per_page outputParameters: - type: object mapping: $. - name: list-hooks-repository description: List the Hooks in a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolisthooks with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-hook description: Create a Hook hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatehook with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: list-git-hooks-repository description: List the Git Hooks in a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistgithooks with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-git-hook description: Get a Git Hook hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetgithook with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: delete-git-hook-repository description: Delete a Git Hook in a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletegithook with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: edit-git-hook-repository description: Edit a Git Hook in a Repository hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoeditgithook with: owner: tools.owner repo: tools.repo id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: get-hook description: Get a Hook hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogethook with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: delete-hook-repository description: Delete a Hook in a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletehook with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: edit-hook-repository description: Edit a Hook in a Repository hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoedithook with: owner: tools.owner repo: tools.repo id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: test-push-webhook description: Test a Push Webhook hints: readOnly: true destructive: false idempotent: false call: rest-repository.repotesthook with: owner: tools.owner repo: tools.repo id: tools.id ref: tools.ref outputParameters: - type: object mapping: $. - name: returns-issue-config-repo description: Returns the Issue Config for a Repo hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetissueconfig with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: returns-validation-information-issue-config description: Returns the Validation Information for a Issue Config hints: readOnly: true destructive: false idempotent: true call: rest-repository.repovalidateissueconfig with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-available-issue-templates-repository description: Get Available Issue Templates for a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetissuetemplates with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: list-repo-s-pinned-issues description: List a Repo's Pinned Issues hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistpinnedissues with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: list-repository-s-keys description: List a Repository's Keys hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistkeys with: owner: tools.owner repo: tools.repo key_id: tools.key_id fingerprint: tools.fingerprint page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: add-key-repository description: Add a Key to a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatekey with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: get-repository-s-key-id description: Get a Repository's Key by ID hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetkey with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: delete-key-repository description: Delete a Key from a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletekey with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: get-languages-and-number-bytes description: Get Languages and Number of Bytes of Code Written hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetlanguages with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-repo-licenses description: Get Repo Licenses hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetlicenses with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-file-it-s-lfs-object description: Get a File or It's LFS Object from a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetrawfileorlfs with: owner: tools.owner repo: tools.repo filepath: tools.filepath ref: tools.ref outputParameters: - type: object mapping: $. - name: merge-branch-upstream description: Merge a Branch from Upstream hints: readOnly: false destructive: false idempotent: false call: rest-repository.repomergeupstream with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: sync-mirrored-repository description: Sync a Mirrored Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repomirrorsync with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: returns-if-new-issue-pins description: Returns if New Issue Pins Are Allowed hints: readOnly: true destructive: false idempotent: true call: rest-repository.reponewpinallowed with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: list-repo-s-pull-requests description: List a Repo's Pull Requests hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistpullrequests with: owner: tools.owner repo: tools.repo base_branch: tools.base_branch state: tools.state sort: tools.sort milestone: tools.milestone labels: tools.labels poster: tools.poster page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-pull-request description: Create a Pull Request hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatepullrequest with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: resolve-pull-request-review-comment description: Resolve a Pull Request Review Comment hints: readOnly: false destructive: false idempotent: false call: rest-repository.reporesolvepullreviewcomment with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: unresolve-pull-request-review-comment description: Unresolve a Pull Request Review Comment hints: readOnly: false destructive: false idempotent: false call: rest-repository.repounresolvepullreviewcomment with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: list-repo-s-pinned-pull-requests description: List a Repo's Pinned Pull Requests hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistpinnedpullrequests with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-pull-request-base-and description: Get a Pull Request by Base and Head hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetpullrequestbybasehead with: owner: tools.owner repo: tools.repo base: tools.base head: tools.head outputParameters: - type: object mapping: $. - name: get-pull-request description: Get a Pull Request hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetpullrequest with: owner: tools.owner repo: tools.repo index: tools.index outputParameters: - type: object mapping: $. - name: update-pull-request-if-using description: Update a Pull Request. if Using Deadline Only the Date Will Be Taken Into Account, and Time of Day Ignored. hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoeditpullrequest with: owner: tools.owner repo: tools.repo index: tools.index body: tools.body outputParameters: - type: object mapping: $. - name: get-pull-request-diff-patch description: Get a Pull Request Diff or Patch hints: readOnly: true destructive: false idempotent: true call: rest-repository.repodownloadpulldifforpatch with: owner: tools.owner repo: tools.repo index: tools.index diffType: tools.diffType binary: tools.binary outputParameters: - type: object mapping: $. - name: get-commits-pull-request description: Get Commits for a Pull Request hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetpullrequestcommits with: owner: tools.owner repo: tools.repo index: tools.index page: tools.page limit: tools.limit verification: tools.verification files: tools.files outputParameters: - type: object mapping: $. - name: get-changed-files-pull-request description: Get Changed Files for a Pull Request hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetpullrequestfiles with: owner: tools.owner repo: tools.repo index: tools.index skip-to: tools.skip-to whitespace: tools.whitespace page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: check-if-pull-request-has description: Check if a Pull Request Has Been Merged hints: readOnly: true destructive: false idempotent: true call: rest-repository.repopullrequestismerged with: owner: tools.owner repo: tools.repo index: tools.index outputParameters: - type: object mapping: $. - name: merge-pull-request description: Merge a Pull Request hints: readOnly: false destructive: false idempotent: false call: rest-repository.repomergepullrequest with: owner: tools.owner repo: tools.repo index: tools.index body: tools.body outputParameters: - type: object mapping: $. - name: cancel-scheduled-auto-merge-given description: Cancel the Scheduled Auto Merge for the Given Pull Request hints: readOnly: false destructive: true idempotent: true call: rest-repository.repocancelscheduledautomerge with: owner: tools.owner repo: tools.repo index: tools.index outputParameters: - type: object mapping: $. - name: create-review-requests-pull-request description: Create Review Requests for a Pull Request hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatepullreviewrequests with: owner: tools.owner repo: tools.repo index: tools.index body: tools.body outputParameters: - type: object mapping: $. - name: cancel-review-requests-pull-request description: Cancel Review Requests for a Pull Request hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletepullreviewrequests with: owner: tools.owner repo: tools.repo index: tools.index body: tools.body outputParameters: - type: object mapping: $. - name: list-all-reviews-pull-request description: List All Reviews for a Pull Request hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistpullreviews with: owner: tools.owner repo: tools.repo index: tools.index page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-review-pull-request description: Create a Review to a Pull Request hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatepullreview with: owner: tools.owner repo: tools.repo index: tools.index body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-review-pull-request description: Get a Specific Review for a Pull Request hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetpullreview with: owner: tools.owner repo: tools.repo index: tools.index id: tools.id outputParameters: - type: object mapping: $. - name: submit-pending-review-pull-request description: Submit a Pending Review to a Pull Request hints: readOnly: false destructive: false idempotent: false call: rest-repository.reposubmitpullreview with: owner: tools.owner repo: tools.repo index: tools.index id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-specific-review-pull-request description: Delete a Specific Review from a Pull Request hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletepullreview with: owner: tools.owner repo: tools.repo index: tools.index id: tools.id outputParameters: - type: object mapping: $. - name: get-specific-review-pull-request-2 description: Get a Specific Review for a Pull Request hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetpullreviewcomments with: owner: tools.owner repo: tools.repo index: tools.index id: tools.id outputParameters: - type: object mapping: $. - name: dismiss-review-pull-request description: Dismiss a Review for a Pull Request hints: readOnly: false destructive: false idempotent: false call: rest-repository.repodismisspullreview with: owner: tools.owner repo: tools.repo index: tools.index id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: cancel-dismiss-review-pull-request description: Cancel to Dismiss a Review for a Pull Request hints: readOnly: false destructive: false idempotent: false call: rest-repository.repoundismisspullreview with: owner: tools.owner repo: tools.repo index: tools.index id: tools.id outputParameters: - type: object mapping: $. - name: merge-pr-s-basebranch-headbranch description: Merge PR's BaseBranch Into HeadBranch hints: readOnly: false destructive: false idempotent: false call: rest-repository.repoupdatepullrequest with: owner: tools.owner repo: tools.repo index: tools.index style: tools.style outputParameters: - type: object mapping: $. - name: get-all-push-mirrors-repository description: Get All Push Mirrors of the Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistpushmirrors with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: add-push-mirror-repository description: Add a Push Mirror to the Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repoaddpushmirror with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: sync-all-push-mirrored-repository description: Sync All Push Mirrored Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repopushmirrorsync with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-push-mirror-repository-remotename description: Get Push Mirror of the Repository by RemoteName hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetpushmirrorbyremotename with: owner: tools.owner repo: tools.repo name: tools.name outputParameters: - type: object mapping: $. - name: deletes-push-mirror-repository-remotename description: Deletes a Push Mirror from a Repository by RemoteName hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletepushmirror with: owner: tools.owner repo: tools.repo name: tools.name outputParameters: - type: object mapping: $. - name: get-file-repository description: Get a File from a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetrawfile with: owner: tools.owner repo: tools.repo filepath: tools.filepath ref: tools.ref outputParameters: - type: object mapping: $. - name: list-repo-s-releases description: List a Repo's Releases hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistreleases with: owner: tools.owner repo: tools.repo draft: tools.draft pre-release: tools.pre-release page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-release description: Create a Release hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreaterelease with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: gets-most-recent-non-prerelease description: Gets the Most Recent Non-Prerelease, Non-Draft Release of a Repository, Sorted by Created_at hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetlatestrelease with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-release-tag-name description: Get a Release by Tag Name hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetreleasebytag with: owner: tools.owner repo: tools.repo tag: tools.tag outputParameters: - type: object mapping: $. - name: delete-release-tag-name description: Delete a Release by Tag Name hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletereleasebytag with: owner: tools.owner repo: tools.repo tag: tools.tag outputParameters: - type: object mapping: $. - name: get-release description: Get a Release hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetrelease with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: delete-release description: Delete a Release hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeleterelease with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: update-release description: Update a Release hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoeditrelease with: owner: tools.owner repo: tools.repo id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: list-release-s-attachments description: List Release's Attachments hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistreleaseattachments with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: create-release-attachment description: Create a Release Attachment hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatereleaseattachment with: owner: tools.owner repo: tools.repo id: tools.id name: tools.name body: tools.body outputParameters: - type: object mapping: $. - name: get-release-attachment description: Get a Release Attachment hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetreleaseattachment with: owner: tools.owner repo: tools.repo id: tools.id attachment_id: tools.attachment_id outputParameters: - type: object mapping: $. - name: delete-release-attachment description: Delete a Release Attachment hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletereleaseattachment with: owner: tools.owner repo: tools.repo id: tools.id attachment_id: tools.attachment_id outputParameters: - type: object mapping: $. - name: edit-release-attachment description: Edit a Release Attachment hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoeditreleaseattachment with: owner: tools.owner repo: tools.repo id: tools.id attachment_id: tools.attachment_id body: tools.body outputParameters: - type: object mapping: $. - name: return-all-users-that-can description: Return All Users That Can Be Requested to Review in This Repo hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetreviewers with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-signing-key-gpg-given-repository description: Get Signing-Key.gpg for Given Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.reposigningkey with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: get-signing-key-pub-given-repository description: Get Signing-Key.pub for Given Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.reposigningkeyssh with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: list-repo-s-stargazers description: List a Repo's Stargazers hints: readOnly: true destructive: false idempotent: true call: rest-repository.repoliststargazers with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-commit-s-statuses description: Get a Commit's Statuses hints: readOnly: true destructive: false idempotent: true call: rest-repository.repoliststatuses with: owner: tools.owner repo: tools.repo sha: tools.sha sort: tools.sort state: tools.state page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-commit-status description: Create a Commit Status hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatestatus with: owner: tools.owner repo: tools.repo sha: tools.sha body: tools.body outputParameters: - type: object mapping: $. - name: list-repo-s-watchers description: List a Repo's Watchers hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistsubscribers with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: check-if-current-user-is description: Check if the Current User Is Watching a Repo hints: readOnly: true destructive: false idempotent: true call: rest-repository.usercurrentchecksubscription with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: watch-repo description: Watch a Repo hints: readOnly: false destructive: false idempotent: true call: rest-repository.usercurrentputsubscription with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: unwatch-repo description: Unwatch a Repo hints: readOnly: false destructive: true idempotent: true call: rest-repository.usercurrentdeletesubscription with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: list-tag-protections-repository description: List Tag Protections for a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolisttagprotection with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: create-tag-protections-repository description: Create a Tag Protections for a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatetagprotection with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: get-specific-tag-protection-repository description: Get a Specific Tag Protection for the Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogettagprotection with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: delete-specific-tag-protection-repository description: Delete a Specific Tag Protection for the Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletetagprotection with: owner: tools.owner repo: tools.repo id: tools.id outputParameters: - type: object mapping: $. - name: edit-tag-protections-repository-only description: Edit a Tag Protections for a Repository. Only Fields That Are Set Will Be Changed hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoedittagprotection with: owner: tools.owner repo: tools.repo id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: list-repository-s-tags description: List a Repository's Tags hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolisttags with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-new-git-tag-repository description: Create a New Git Tag in a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatetag with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: get-tag-repository-tag-name description: Get the Tag of a Repository by Tag Name hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogettag with: owner: tools.owner repo: tools.repo tag: tools.tag outputParameters: - type: object mapping: $. - name: delete-repository-s-tag-name description: Delete a Repository's Tag by Name hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletetag with: owner: tools.owner repo: tools.repo tag: tools.tag outputParameters: - type: object mapping: $. - name: list-repository-s-teams description: List a Repository's Teams hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolistteams with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: check-if-team-is-assigned description: Check if a Team Is Assigned to a Repository hints: readOnly: true destructive: false idempotent: true call: rest-repository.repocheckteam with: owner: tools.owner repo: tools.repo team: tools.team outputParameters: - type: object mapping: $. - name: add-team-repository description: Add a Team to a Repository hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoaddteam with: owner: tools.owner repo: tools.repo team: tools.team outputParameters: - type: object mapping: $. - name: delete-team-repository description: Delete a Team from a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeleteteam with: owner: tools.owner repo: tools.repo team: tools.team outputParameters: - type: object mapping: $. - name: list-repo-s-tracked-times description: List a Repo's Tracked Times hints: readOnly: true destructive: false idempotent: true call: rest-repository.repotrackedtimes with: owner: tools.owner repo: tools.repo user: tools.user since: tools.since before: tools.before page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: list-user-s-tracked-times-repo description: List a User's Tracked Times in a Repo hints: readOnly: true destructive: false idempotent: true call: rest-repository.usertrackedtimes with: owner: tools.owner repo: tools.repo user: tools.user outputParameters: - type: object mapping: $. - name: get-list-topics-that-repository description: Get List of Topics That a Repository Has hints: readOnly: true destructive: false idempotent: true call: rest-repository.repolisttopics with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: replace-list-topics-repository description: Replace List of Topics for a Repository hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoupdatetopics with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: add-topic-repository description: Add a Topic to a Repository hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoaddtopic with: owner: tools.owner repo: tools.repo topic: tools.topic outputParameters: - type: object mapping: $. - name: delete-topic-repository description: Delete a Topic from a Repository hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletetopic with: owner: tools.owner repo: tools.repo topic: tools.topic outputParameters: - type: object mapping: $. - name: transfer-repo-ownership description: Transfer a Repo Ownership hints: readOnly: false destructive: false idempotent: false call: rest-repository.repotransfer with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: accept-repo-transfer description: Accept a Repo Transfer hints: readOnly: false destructive: false idempotent: false call: rest-repository.acceptrepotransfer with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: reject-repo-transfer description: Reject a Repo Transfer hints: readOnly: false destructive: false idempotent: false call: rest-repository.rejectrepotransfer with: owner: tools.owner repo: tools.repo outputParameters: - type: object mapping: $. - name: create-wiki-page description: Create a Wiki Page hints: readOnly: false destructive: false idempotent: false call: rest-repository.repocreatewikipage with: owner: tools.owner repo: tools.repo body: tools.body outputParameters: - type: object mapping: $. - name: get-wiki-page description: Get a Wiki Page hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetwikipage with: owner: tools.owner repo: tools.repo pageName: tools.pageName outputParameters: - type: object mapping: $. - name: delete-wiki-page description: Delete a Wiki Page hints: readOnly: false destructive: true idempotent: true call: rest-repository.repodeletewikipage with: owner: tools.owner repo: tools.repo pageName: tools.pageName outputParameters: - type: object mapping: $. - name: edit-wiki-page description: Edit a Wiki Page hints: readOnly: false destructive: false idempotent: true call: rest-repository.repoeditwikipage with: owner: tools.owner repo: tools.repo pageName: tools.pageName body: tools.body outputParameters: - type: object mapping: $. - name: get-all-wiki-pages description: Get All Wiki Pages hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetwikipages with: owner: tools.owner repo: tools.repo page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: get-revisions-wiki-page description: Get Revisions of a Wiki Page hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetwikipagerevisions with: owner: tools.owner repo: tools.repo pageName: tools.pageName page: tools.page outputParameters: - type: object mapping: $. - name: create-repository-using-template description: Create a Repository Using a Template hints: readOnly: false destructive: false idempotent: false call: rest-repository.generaterepo with: template_owner: tools.template_owner template_repo: tools.template_repo body: tools.body outputParameters: - type: object mapping: $. - name: get-repository-id description: Get a Repository by ID hints: readOnly: true destructive: false idempotent: true call: rest-repository.repogetbyid with: id: tools.id outputParameters: - type: object mapping: $. - name: search-topics-keyword description: Search Topics via Keyword hints: readOnly: true destructive: false idempotent: true call: rest-repository.topicsearch with: q: tools.q page: tools.page limit: tools.limit outputParameters: - type: object mapping: $. - name: create-repository description: Create a Repository hints: readOnly: false destructive: false idempotent: false call: rest-repository.createcurrentuserrepo with: body: tools.body outputParameters: - type: object mapping: $.