Skip to content

Commit

Permalink
Merge pull request #13998 from hellcp-work/apidocs-sources-package-de…
Browse files Browse the repository at this point in the history
…precated

Deprecate broken endpoints source rebuild and wipe
  • Loading branch information
eduardoj committed Mar 15, 2023
2 parents 12aba77 + 459b8ba commit e5d2870
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/public/apidocs-new/OBS-v2.10.50.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ paths:
$ref: 'paths/source_project_name_package_name_cmd_linkdiff.yaml'
/source/{project_name}/{package_name}?cmd=mergeservice:
$ref: 'paths/source_project_name_package_name_cmd_mergeservice.yaml'
/source/{project_name}/{package_name}?cmd=rebuild:
$ref: 'paths/source_project_name_package_name_cmd_rebuild.yaml'
/source/{project_name}/{package_name}?cmd=remove_flag:
$ref: 'paths/source_project_name_package_name_cmd_remove_flag.yaml'
/source/{project_name}/{package_name}?cmd=runservice:
Expand All @@ -343,6 +345,8 @@ paths:
$ref: 'paths/source_project_name_package_name_cmd_undelete.yaml'
/source/{project_name}/{package_name}?cmd=waitservice:
$ref: 'paths/source_project_name_package_name_cmd_waitservice.yaml'
/source/{project_name}/{package_name}?cmd=wipe:
$ref: 'paths/source_project_name_package_name_cmd_wipe.yaml'
/source/{project_name}/{package_name}/_attribute:
$ref: 'paths/source_project_name_package_name_attribute.yaml'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
post:
deprecated: true
summary: Trigger a package rebuild.
description: |
Triggers a rebuild of the package. This endpoint
is broken and will be removed.
See [`POST /build/{project_name}?cmd=rebuild`](#/Build/post_build__project_name__cmd_rebuild).
tags:
- Sources - Packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
post:
deprecated: true
summary: Wipe package build results.
description: |
Wipe all build results of this package. This endpoint
is broken and will be removed.
See [`POST /build/{project_name}?cmd=wipe`](#/Build/post_build__project_name__cmd_wipe).
tags:
- Sources - Packages

0 comments on commit e5d2870

Please sign in to comment.