-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document
/source/{project_name}/{package_name}?cmd=updatepatchinfo
…
…with OpenAPI
- Loading branch information
1 parent
3d0e9d0
commit 56df236
Showing
2 changed files
with
30 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
28 changes: 28 additions & 0 deletions
28
src/api/public/apidocs-new/paths/source_project_name_package_name_cmd_updatepatchinfo.yaml
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,28 @@ | ||
post: | ||
summary: Update the issues listed in the `_patchinfo` file of a specified package. | ||
description: | | ||
Update the issues listed in the `_patchinfo` file of a specified package, based on | ||
infos available through the issue trackers. | ||
security: | ||
- basic_authentication: [] | ||
parameters: | ||
- $ref: '../components/parameters/project_name.yaml' | ||
- $ref: '../components/parameters/package_name.yaml' | ||
responses: | ||
'200': | ||
$ref: '../components/responses/succeeded.yaml' | ||
'401': | ||
$ref: '../components/responses/unauthorized.yaml' | ||
'403': | ||
description: Forbidden. | ||
content: | ||
application/xml; charset=utf-8: | ||
schema: | ||
$ref: '../components/schemas/api_response.yaml' | ||
example: | ||
code: cmd_execution_no_permission | ||
summary: no permission to modify package patchinfo in project openSUSE:Maintenance:123 | ||
'404': | ||
$ref: '../components/responses/unknown_project_or_package.yaml' | ||
tags: | ||
- Sources - Packages |