You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/frontend.swagger.json
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -273,6 +273,48 @@
273
273
}
274
274
},
275
275
"/v1/frontendservice/tickets": {
276
+
"delete": {
277
+
"summary": "DeleteTickets immediately stops Open Match from using the Tickets for matchmaking and removes the Tickets from state storage.\nThe client should delete the Tickets when finished matchmaking with them.",
278
+
"operationId": "FrontendService_DeleteTickets",
279
+
"responses": {
280
+
"200": {
281
+
"description": "A successful response.",
282
+
"schema": {
283
+
"type": "object",
284
+
"properties": {}
285
+
}
286
+
},
287
+
"404": {
288
+
"description": "Returned when the resource does not exist.",
289
+
"schema": {
290
+
"type": "string",
291
+
"format": "string"
292
+
}
293
+
},
294
+
"default": {
295
+
"description": "An unexpected error response.",
296
+
"schema": {
297
+
"$ref": "#/definitions/rpcStatus"
298
+
}
299
+
}
300
+
},
301
+
"parameters": [
302
+
{
303
+
"name": "ticket_ids",
304
+
"description": "TicketIds of generated Tickets to be deleted.",
305
+
"in": "query",
306
+
"required": false,
307
+
"type": "array",
308
+
"items": {
309
+
"type": "string"
310
+
},
311
+
"collectionFormat": "multi"
312
+
}
313
+
],
314
+
"tags": [
315
+
"FrontendService"
316
+
]
317
+
},
276
318
"post": {
277
319
"summary": "CreateTicket assigns an unique TicketId to the input Ticket and record it in state storage.\nA ticket is considered as ready for matchmaking once it is created.\n - If a TicketId exists in a Ticket request, an auto-generated TicketId will override this field.\n - If SearchFields exist in a Ticket, CreateTicket will also index these fields such that one can query the ticket with query.QueryTickets function.",
0 commit comments