Skip to content

Commit 963be1e

Browse files
authored
Merge of #9406
2 parents 9ceb8d7 + 67f92b5 commit 963be1e

File tree

1 file changed

+246
-0
lines changed

1 file changed

+246
-0
lines changed

public/api-schemas.json

Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,9 @@
12511251
"ci_issue.reopened",
12521252
"ci_issue.resolved",
12531253
"ci_issue.unresolved",
1254+
"command.dequeue",
1255+
"command.queue",
1256+
"command.requeue",
12541257
"queue.pause.create",
12551258
"queue.pause.delete",
12561259
"queue.pause.update",
@@ -4187,6 +4190,212 @@
41874190
],
41884191
"title": "EventCloseMetadata"
41894192
},
4193+
"EventCommandDequeue": {
4194+
"properties": {
4195+
"id": {
4196+
"type": "integer",
4197+
"title": "Id"
4198+
},
4199+
"received_at": {
4200+
"type": "string",
4201+
"format": "date-time",
4202+
"title": "Received At"
4203+
},
4204+
"trigger": {
4205+
"type": "string",
4206+
"title": "Trigger"
4207+
},
4208+
"repository": {
4209+
"type": "string",
4210+
"title": "Repository"
4211+
},
4212+
"pull_request": {
4213+
"anyOf": [
4214+
{
4215+
"type": "integer"
4216+
},
4217+
{
4218+
"type": "null"
4219+
}
4220+
],
4221+
"title": "Pull Request"
4222+
},
4223+
"base_ref": {
4224+
"anyOf": [
4225+
{
4226+
"type": "string"
4227+
},
4228+
{
4229+
"type": "null"
4230+
}
4231+
],
4232+
"title": "Base Ref"
4233+
},
4234+
"type": {
4235+
"type": "string",
4236+
"const": "command.dequeue",
4237+
"title": "Type"
4238+
},
4239+
"metadata": {
4240+
"$ref": "#/components/schemas/EventCommandMetadata"
4241+
}
4242+
},
4243+
"type": "object",
4244+
"required": [
4245+
"id",
4246+
"received_at",
4247+
"trigger",
4248+
"repository",
4249+
"pull_request",
4250+
"base_ref",
4251+
"type",
4252+
"metadata"
4253+
],
4254+
"title": "EventCommandDequeue"
4255+
},
4256+
"EventCommandMetadata": {
4257+
"properties": {
4258+
"author": {
4259+
"$ref": "#/components/schemas/GitHubAccount"
4260+
},
4261+
"comment_id": {
4262+
"type": "integer",
4263+
"title": "Comment Id"
4264+
}
4265+
},
4266+
"type": "object",
4267+
"required": [
4268+
"author",
4269+
"comment_id"
4270+
],
4271+
"title": "EventCommandMetadata"
4272+
},
4273+
"EventCommandQueue": {
4274+
"properties": {
4275+
"id": {
4276+
"type": "integer",
4277+
"title": "Id"
4278+
},
4279+
"received_at": {
4280+
"type": "string",
4281+
"format": "date-time",
4282+
"title": "Received At"
4283+
},
4284+
"trigger": {
4285+
"type": "string",
4286+
"title": "Trigger"
4287+
},
4288+
"repository": {
4289+
"type": "string",
4290+
"title": "Repository"
4291+
},
4292+
"pull_request": {
4293+
"anyOf": [
4294+
{
4295+
"type": "integer"
4296+
},
4297+
{
4298+
"type": "null"
4299+
}
4300+
],
4301+
"title": "Pull Request"
4302+
},
4303+
"base_ref": {
4304+
"anyOf": [
4305+
{
4306+
"type": "string"
4307+
},
4308+
{
4309+
"type": "null"
4310+
}
4311+
],
4312+
"title": "Base Ref"
4313+
},
4314+
"type": {
4315+
"type": "string",
4316+
"const": "command.queue",
4317+
"title": "Type"
4318+
},
4319+
"metadata": {
4320+
"$ref": "#/components/schemas/EventCommandMetadata"
4321+
}
4322+
},
4323+
"type": "object",
4324+
"required": [
4325+
"id",
4326+
"received_at",
4327+
"trigger",
4328+
"repository",
4329+
"pull_request",
4330+
"base_ref",
4331+
"type",
4332+
"metadata"
4333+
],
4334+
"title": "EventCommandQueue"
4335+
},
4336+
"EventCommandRequeue": {
4337+
"properties": {
4338+
"id": {
4339+
"type": "integer",
4340+
"title": "Id"
4341+
},
4342+
"received_at": {
4343+
"type": "string",
4344+
"format": "date-time",
4345+
"title": "Received At"
4346+
},
4347+
"trigger": {
4348+
"type": "string",
4349+
"title": "Trigger"
4350+
},
4351+
"repository": {
4352+
"type": "string",
4353+
"title": "Repository"
4354+
},
4355+
"pull_request": {
4356+
"anyOf": [
4357+
{
4358+
"type": "integer"
4359+
},
4360+
{
4361+
"type": "null"
4362+
}
4363+
],
4364+
"title": "Pull Request"
4365+
},
4366+
"base_ref": {
4367+
"anyOf": [
4368+
{
4369+
"type": "string"
4370+
},
4371+
{
4372+
"type": "null"
4373+
}
4374+
],
4375+
"title": "Base Ref"
4376+
},
4377+
"type": {
4378+
"type": "string",
4379+
"const": "command.requeue",
4380+
"title": "Type"
4381+
},
4382+
"metadata": {
4383+
"$ref": "#/components/schemas/EventCommandMetadata"
4384+
}
4385+
},
4386+
"type": "object",
4387+
"required": [
4388+
"id",
4389+
"received_at",
4390+
"trigger",
4391+
"repository",
4392+
"pull_request",
4393+
"base_ref",
4394+
"type",
4395+
"metadata"
4396+
],
4397+
"title": "EventCommandRequeue"
4398+
},
41904399
"EventComment": {
41914400
"properties": {
41924401
"id": {
@@ -6863,6 +7072,15 @@
68637072
},
68647073
{
68657074
"$ref": "#/components/schemas/EventScheduledFreezeDelete"
7075+
},
7076+
{
7077+
"$ref": "#/components/schemas/EventCommandQueue"
7078+
},
7079+
{
7080+
"$ref": "#/components/schemas/EventCommandRequeue"
7081+
},
7082+
{
7083+
"$ref": "#/components/schemas/EventCommandDequeue"
68667084
}
68677085
]
68687086
},
@@ -6897,6 +7115,34 @@
68977115
],
68987116
"title": "GetScheduledFreezesResponse"
68997117
},
7118+
"GitHubAccount": {
7119+
"properties": {
7120+
"login": {
7121+
"type": "string",
7122+
"title": "Login"
7123+
},
7124+
"id": {
7125+
"type": "integer",
7126+
"title": "Id"
7127+
},
7128+
"type": {
7129+
"type": "string",
7130+
"enum": [
7131+
"User",
7132+
"Organization",
7133+
"Bot"
7134+
],
7135+
"title": "Type"
7136+
}
7137+
},
7138+
"type": "object",
7139+
"required": [
7140+
"login",
7141+
"id",
7142+
"type"
7143+
],
7144+
"title": "GitHubAccount"
7145+
},
69007146
"MatchingConditionsDict-Input": {
69017147
"properties": {
69027148
"and": {

0 commit comments

Comments
 (0)