Files
hatchet/api-contracts/openapi/components/schemas/_index.yaml
T
Gabe Ruttner a37ee57cc1 feat: workflow run cancel (#489)
* feat: workflow run cancel endpoint

* feat: cancel all running button

* feat: select and cancel runs

* chore: error handling

* fix: remove ani

* fix: error toast

* chore: gen

* fix: feedback

* fix: redundant method

* Update frontend/app/src/pages/main/workflow-runs/$run/index.tsx

Co-authored-by: abelanger5 <belanger@sas.upenn.edu>

* fix: response obj

* fix: cancel by job run

* fix: lint

* chore: generate

---------

Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
Co-authored-by: Alexander Belanger <alexander@hatchet.run>
2024-05-14 17:47:30 -04:00

215 lines
6.6 KiB
YAML

APIMeta:
$ref: "./metadata.yaml#/APIMeta"
APIMetaAuth:
$ref: "./metadata.yaml#/APIMetaAuth"
APIMetaPosthog:
$ref: "./metadata.yaml#/APIMetaPosthog"
ListAPIMetaIntegration:
$ref: "./metadata.yaml#/ListAPIMetaIntegration"
APIMetaIntegration:
$ref: "./metadata.yaml#/APIMetaIntegration"
APIErrors:
$ref: "./metadata.yaml#/APIErrors"
APIError:
$ref: "./metadata.yaml#/APIError"
PaginationResponse:
$ref: "./metadata.yaml#/PaginationResponse"
APIResourceMeta:
$ref: "./metadata.yaml#/APIResourceMeta"
User:
$ref: "./user.yaml#/User"
UserTenantPublic:
$ref: "./user.yaml#/UserTenantPublic"
UserLoginRequest:
$ref: "./user.yaml#/UserLoginRequest"
UserChangePasswordRequest:
$ref: "./user.yaml#/UserChangePasswordRequest"
UserRegisterRequest:
$ref: "./user.yaml#/UserRegisterRequest"
UserTenantMembershipsList:
$ref: "./user.yaml#/UserTenantMembershipsList"
Tenant:
$ref: "./tenant.yaml#/Tenant"
TenantMember:
$ref: "./tenant.yaml#/TenantMember"
TenantMemberList:
$ref: "./tenant.yaml#/TenantMemberList"
TenantMemberRole:
$ref: "./tenant.yaml#/TenantMemberRole"
CreateTenantInviteRequest:
$ref: "./tenant.yaml#/CreateTenantInviteRequest"
UpdateTenantInviteRequest:
$ref: "./tenant.yaml#/UpdateTenantInviteRequest"
TenantAlertingSettings:
$ref: "./tenant.yaml#/TenantAlertingSettings"
TenantAlertEmailGroup:
$ref: "./tenant.yaml#/TenantAlertEmailGroup"
TenantAlertEmailGroupList:
$ref: "./tenant.yaml#/TenantAlertEmailGroupList"
CreateTenantAlertEmailGroupRequest:
$ref: "./tenant.yaml#/CreateTenantAlertEmailGroupRequest"
UpdateTenantAlertEmailGroupRequest:
$ref: "./tenant.yaml#/UpdateTenantAlertEmailGroupRequest"
TenantInvite:
$ref: "./tenant.yaml#/TenantInvite"
TenantInviteList:
$ref: "./tenant.yaml#/TenantInviteList"
AcceptInviteRequest:
$ref: "./user.yaml#/AcceptInviteRequest"
RejectInviteRequest:
$ref: "./user.yaml#/RejectInviteRequest"
TenantList:
$ref: "./tenant.yaml#/TenantList"
CreateTenantRequest:
$ref: "./tenant.yaml#/CreateTenantRequest"
UpdateTenantRequest:
$ref: "./tenant.yaml#/UpdateTenantRequest"
Event:
$ref: "./event.yaml#/Event"
EventData:
$ref: "./event.yaml#/EventData"
EventWorkflowRunSummary:
$ref: "./event.yaml#/EventWorkflowRunSummary"
EventOrderByField:
$ref: "./event.yaml#/EventOrderByField"
EventOrderByDirection:
$ref: "./event.yaml#/EventOrderByDirection"
EventSearch:
$ref: "./event.yaml#/EventSearch"
EventKeyList:
$ref: "./event.yaml#/EventKeyList"
EventKey:
$ref: "./event.yaml#/EventKey"
WorkflowID:
$ref: "./event.yaml#/WorkflowID"
EventList:
$ref: "./event.yaml#/EventList"
ReplayEventRequest:
$ref: "./event.yaml#/ReplayEventRequest"
Workflow:
$ref: "./workflow.yaml#/Workflow"
WorkflowConcurrency:
$ref: "./workflow.yaml#/WorkflowConcurrency"
WorkflowDeploymentConfig:
$ref: "./workflow.yaml#/WorkflowDeploymentConfig"
WorkflowVersionMeta:
$ref: "./workflow.yaml#/WorkflowVersionMeta"
WorkflowVersion:
$ref: "./workflow.yaml#/WorkflowVersion"
WorkflowVersionDefinition:
$ref: "./workflow.yaml#/WorkflowVersionDefinition"
WorkflowTag:
$ref: "./workflow.yaml#/WorkflowTag"
WorkflowList:
$ref: "./workflow.yaml#/WorkflowList"
WorkflowTriggers:
$ref: "./workflow.yaml#/WorkflowTriggers"
WorkflowTriggerEventRef:
$ref: "./workflow.yaml#/WorkflowTriggerEventRef"
WorkflowTriggerCronRef:
$ref: "./workflow.yaml#/WorkflowTriggerCronRef"
Job:
$ref: "./workflow.yaml#/Job"
Step:
$ref: "./workflow.yaml#/Step"
WorkflowRun:
$ref: "./workflow_run.yaml#/WorkflowRun"
WorkflowRunList:
$ref: "./workflow_run.yaml#/WorkflowRunList"
WorkflowRunsMetrics:
$ref: "./workflow_run.yaml#/WorkflowRunsMetrics"
WorkflowRunsMetricsCounts:
$ref: "./workflow_run.yaml#/WorkflowRunsMetricsCounts"
WorkflowRunStatus:
$ref: "./workflow_run.yaml#/WorkflowRunStatus"
WorkflowRunStatusList:
$ref: "./workflow_run.yaml#/WorkflowRunStatusList"
WorkflowRunsCancelRequest:
$ref: "./workflow_run.yaml#/WorkflowRunsCancelRequest"
JobRunStatus:
$ref: "./workflow_run.yaml#/JobRunStatus"
StepRunStatus:
$ref: "./workflow_run.yaml#/StepRunStatus"
JobRun:
$ref: "./workflow_run.yaml#/JobRun"
WorkflowRunTriggeredBy:
$ref: "./workflow_run.yaml#/WorkflowRunTriggeredBy"
StepRun:
$ref: "./workflow_run.yaml#/StepRun"
StepRunEventReason:
$ref: "./workflow_run.yaml#/StepRunEventReason"
StepRunEventSeverity:
$ref: "./workflow_run.yaml#/StepRunEventSeverity"
StepRunEvent:
$ref: "./workflow_run.yaml#/StepRunEvent"
StepRunEventList:
$ref: "./workflow_run.yaml#/StepRunEventList"
WorkerList:
$ref: "./worker.yaml#/WorkerList"
Worker:
$ref: "./worker.yaml#/Worker"
APIToken:
$ref: "./api_tokens.yaml#/APIToken"
CreateAPITokenRequest:
$ref: "./api_tokens.yaml#/CreateAPITokenRequest"
CreateAPITokenResponse:
$ref: "./api_tokens.yaml#/CreateAPITokenResponse"
ListAPITokensResponse:
$ref: "./api_tokens.yaml#/ListAPITokensResponse"
RerunStepRunRequest:
$ref: "./workflow_run.yaml#/RerunStepRunRequest"
TriggerWorkflowRunRequest:
$ref: "./workflow_run.yaml#/TriggerWorkflowRunRequest"
LinkGithubRepositoryRequest:
$ref: "./workflow.yaml#/LinkGithubRepositoryRequest"
GithubBranch:
$ref: "./github_app.yaml#/GithubBranch"
GithubRepo:
$ref: "./github_app.yaml#/GithubRepo"
GithubAppInstallation:
$ref: "./github_app.yaml#/GithubAppInstallation"
ListGithubAppInstallationsResponse:
$ref: "./github_app.yaml#/ListGithubAppInstallationsResponse"
ListGithubReposResponse:
$ref: "./github_app.yaml#/ListGithubReposResponse"
ListGithubBranchesResponse:
$ref: "./github_app.yaml#/ListGithubBranchesResponse"
CreatePullRequestFromStepRun:
$ref: "./workflow_run.yaml#/CreatePullRequestFromStepRun"
GetStepRunDiffResponse:
$ref: "./workflow_run.yaml#/GetStepRunDiffResponse"
StepRunDiff:
$ref: "./workflow_run.yaml#/StepRunDiff"
ListPullRequestsResponse:
$ref: "./workflow_run.yaml#/ListPullRequestsResponse"
PullRequest:
$ref: "./workflow_run.yaml#/PullRequest"
PullRequestState:
$ref: "./workflow_run.yaml#/PullRequestState"
LogLine:
$ref: "./logs.yaml#/LogLine"
LogLineLevel:
$ref: "./logs.yaml#/LogLineLevel"
LogLineList:
$ref: "./logs.yaml#/LogLineList"
LogLineOrderByField:
$ref: "./logs.yaml#/LogLineOrderByField"
LogLineOrderByDirection:
$ref: "./logs.yaml#/LogLineOrderByDirection"
LogLineSearch:
$ref: "./logs.yaml#/LogLineSearch"
LogLineLevelField:
$ref: "./logs.yaml#/LogLineLevelField"
SNSIntegration:
$ref: "./sns.yaml#/SNSIntegration"
ListSNSIntegrations:
$ref: "./sns.yaml#/ListSNSIntegrations"
SlackWebhook:
$ref: "./slack.yaml#/SlackWebhook"
ListSlackWebhooks:
$ref: "./slack.yaml#/ListSlackWebhooks"
CreateSNSIntegrationRequest:
$ref: "./sns.yaml#/CreateSNSIntegrationRequest"
WorkflowMetrics:
$ref: "./workflow.yaml#/WorkflowMetrics"