@itentialopensource/adapter-github
Version:
This adapter integrates with system described as: github.
307 lines • 10.4 kB
JSON
{
"$id": "schema.json",
"type": "object",
"schema": "http://json-schema.org/draft-07/schema#",
"translate": true,
"dynamicfields": true,
"properties": {
"ph_request_type": {
"type": "string",
"description": "type of request (internal to adapter)",
"default": "actionsGetActionsCacheUsageForOrg",
"enum": [
"actionsGetActionsCacheUsageForOrg",
"actionsGetActionsCacheUsageByRepoForOrg",
"actionsGetGithubActionsPermissionsOrganization",
"actionsSetGithubActionsPermissionsOrganization",
"actionsListSelectedRepositoriesEnabledGithubActionsOrganization",
"actionsSetSelectedRepositoriesEnabledGithubActionsOrganization",
"actionsEnableSelectedRepositoryGithubActionsOrganization",
"actionsDisableSelectedRepositoryGithubActionsOrganization",
"actionsGetAllowedActionsOrganization",
"actionsSetAllowedActionsOrganization",
"actionsGetGithubActionsDefaultWorkflowPermissionsOrganization",
"actionsSetGithubActionsDefaultWorkflowPermissionsOrganization",
"actionsListSelfHostedRunnersForOrg",
"actionsListRunnerApplicationsForOrg",
"actionsGenerateRunnerJitconfigForOrg",
"actionsCreateRegistrationTokenForOrg",
"actionsCreateRemoveTokenForOrg",
"actionsGetSelfHostedRunnerForOrg",
"actionsDeleteSelfHostedRunnerFromOrg",
"actionsListLabelsForSelfHostedRunnerForOrg",
"actionsAddCustomLabelsToSelfHostedRunnerForOrg",
"actionsSetCustomLabelsForSelfHostedRunnerForOrg",
"actionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg",
"actionsRemoveCustomLabelFromSelfHostedRunnerForOrg",
"actionsListOrgSecrets",
"actionsGetOrgPublicKey",
"actionsGetOrgSecret",
"actionsCreateOrUpdateOrgSecret",
"actionsDeleteOrgSecret",
"actionsListSelectedReposForOrgSecret",
"actionsSetSelectedReposForOrgSecret",
"actionsAddSelectedRepoToOrgSecret",
"actionsRemoveSelectedRepoFromOrgSecret",
"actionsListOrgVariables",
"actionsCreateOrgVariable",
"actionsGetOrgVariable",
"actionsUpdateOrgVariable",
"actionsDeleteOrgVariable",
"actionsListSelectedReposForOrgVariable",
"actionsSetSelectedReposForOrgVariable",
"actionsAddSelectedRepoToOrgVariable",
"actionsRemoveSelectedRepoFromOrgVariable",
"actionsListArtifactsForRepo",
"actionsGetArtifact",
"actionsDeleteArtifact",
"actionsDownloadArtifact",
"actionsGetActionsCacheUsage",
"actionsGetActionsCacheList",
"actionsDeleteActionsCacheByKey",
"actionsDeleteActionsCacheById",
"actionsGetJobForWorkflowRun",
"actionsDownloadJobLogsForWorkflowRun",
"actionsReRunJobForWorkflowRun",
"actionsGetCustomOidcSubClaimForRepo",
"actionsSetCustomOidcSubClaimForRepo",
"actionsListRepoOrganizationSecrets",
"actionsListRepoOrganizationVariables",
"actionsGetGithubActionsPermissionsRepository",
"actionsSetGithubActionsPermissionsRepository",
"actionsGetWorkflowAccessToRepository",
"actionsSetWorkflowAccessToRepository",
"actionsGetAllowedActionsRepository",
"actionsSetAllowedActionsRepository",
"actionsGetGithubActionsDefaultWorkflowPermissionsRepository",
"actionsSetGithubActionsDefaultWorkflowPermissionsRepository",
"actionsListSelfHostedRunnersForRepo",
"actionsListRunnerApplicationsForRepo",
"actionsGenerateRunnerJitconfigForRepo",
"actionsCreateRegistrationTokenForRepo",
"actionsCreateRemoveTokenForRepo",
"actionsGetSelfHostedRunnerForRepo",
"actionsDeleteSelfHostedRunnerFromRepo",
"actionsListLabelsForSelfHostedRunnerForRepo",
"actionsAddCustomLabelsToSelfHostedRunnerForRepo",
"actionsSetCustomLabelsForSelfHostedRunnerForRepo",
"actionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo",
"actionsRemoveCustomLabelFromSelfHostedRunnerForRepo",
"actionsListWorkflowRunsForRepo",
"actionsGetWorkflowRun",
"actionsDeleteWorkflowRun",
"actionsGetReviewsForRun",
"actionsApproveWorkflowRun",
"actionsListWorkflowRunArtifacts",
"actionsGetWorkflowRunAttempt",
"actionsListJobsForWorkflowRunAttempt",
"actionsDownloadWorkflowRunAttemptLogs",
"actionsCancelWorkflowRun",
"actionsReviewCustomGatesForRun",
"actionsForceCancelWorkflowRun",
"actionsListJobsForWorkflowRun",
"actionsDownloadWorkflowRunLogs",
"actionsDeleteWorkflowRunLogs",
"actionsGetPendingDeploymentsForRun",
"actionsReviewPendingDeploymentsForRun",
"actionsReRunWorkflow",
"actionsReRunWorkflowFailedJobs",
"actionsGetWorkflowRunUsage",
"actionsListRepoSecrets",
"actionsGetRepoPublicKey",
"actionsGetRepoSecret",
"actionsCreateOrUpdateRepoSecret",
"actionsDeleteRepoSecret",
"actionsListRepoVariables",
"actionsCreateRepoVariable",
"actionsGetRepoVariable",
"actionsUpdateRepoVariable",
"actionsDeleteRepoVariable",
"actionsListRepoWorkflows",
"actionsGetWorkflow",
"actionsDisableWorkflow",
"actionsCreateWorkflowDispatch",
"actionsEnableWorkflow",
"actionsListWorkflowRuns",
"actionsGetWorkflowUsage",
"actionsListEnvironmentSecrets",
"actionsGetEnvironmentPublicKey",
"actionsGetEnvironmentSecret",
"actionsCreateOrUpdateEnvironmentSecret",
"actionsDeleteEnvironmentSecret",
"actionsListEnvironmentVariables",
"actionsCreateEnvironmentVariable",
"actionsGetEnvironmentVariable",
"actionsUpdateEnvironmentVariable",
"actionsDeleteEnvironmentVariable"
],
"external_name": "ph_request_type"
},
"perPage": {
"type": "number",
"description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in...(description truncated)",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "per_page"
},
"repositoryId": {
"type": "number",
"description": "",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "repository_id"
},
"runnerId": {
"type": "number",
"description": "Unique identifier of the self-hosted runner.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "runner_id"
},
"secretName": {
"type": "string",
"description": "The name of the secret.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "secret_name"
},
"artifactId": {
"type": "number",
"description": "The unique identifier of the artifact.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "artifact_id"
},
"archiveFormat": {
"type": "string",
"description": "",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "archive_format"
},
"cacheId": {
"type": "number",
"description": "The unique identifier of the GitHub Actions cache.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "cache_id"
},
"jobId": {
"type": "number",
"description": "The unique identifier of the job.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "job_id"
},
"excludePullRequests": {
"type": "boolean",
"description": "If `true` pull requests are omitted from the response (empty array).",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "exclude_pull_requests"
},
"checkSuiteId": {
"type": "number",
"description": "Returns workflow runs with the `check_suite_id` that you specify.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "check_suite_id"
},
"headSha": {
"type": "string",
"description": "Only returns workflow runs that are associated with the specified `head_sha`.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "head_sha"
},
"runId": {
"type": "number",
"description": "The unique identifier of the workflow run.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "run_id"
},
"attemptNumber": {
"type": "number",
"description": "The attempt number of the workflow run.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "attempt_number"
},
"workflowId": {
"type": "string",
"description": "The ID of the workflow. You can also pass the workflow file name as a string.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "workflow_id"
},
"environmentName": {
"type": "string",
"description": "The name of the environment. The name must be URL encoded. For example, any slashes in the name must be replaced with `%2F`.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "environment_name"
}
},
"definitions": {}
}