-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(specs): add getAppTask endpoint to search (#3156)
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
get: | ||
tags: | ||
- Advanced | ||
operationId: getAppTask | ||
x-acl: | ||
- editSettings | ||
description: | | ||
Checks the status of a given application task. | ||
summary: Check application task status | ||
parameters: | ||
- name: taskID | ||
in: path | ||
description: Unique task identifier. | ||
required: true | ||
schema: | ||
type: integer | ||
format: int64 | ||
example: 1506303845001 | ||
responses: | ||
'200': | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
title: getTaskResponse | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
status: | ||
$ref: '../../common/enums.yml#/taskStatus' | ||
required: | ||
- status | ||
'400': | ||
$ref: '../../../common/responses/BadRequest.yml' | ||
'402': | ||
$ref: '../../../common/responses/FeatureNotEnabled.yml' | ||
'403': | ||
$ref: '../../../common/responses/MethodNotAllowed.yml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ | ||
{ | ||
"parameters": { | ||
"taskID": 123 | ||
}, | ||
"request": { | ||
"path": "/1/task/123", | ||
"method": "GET" | ||
} | ||
} | ||
] |
fd5a312
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://api-clients-automation.netlify.app as production
🚀 Deployed on https://666804f1bef6d2c2ad6c5f8a--api-clients-automation.netlify.app