Skip to content

Commit

Permalink
Update apidocs to include optional parameters for staging projects
Browse files Browse the repository at this point in the history
  • Loading branch information
saraycp committed Nov 5, 2019
1 parent a8b7354 commit bed28e6
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/api/api/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1940,12 +1940,24 @@ DELETE /staging/<staging_workflow_project>/workflow
Delete a staging workflow associated to a given project.
XmlResult: status_ok

GET /staging/<staging_workflow_project>/staging_projects
Get the overall state of all staging projects belonging to a staging workflow project
GET /staging/<staging_workflow_project>/staging_projects?requests=1&status=1&history=1
Get the overall state of all staging projects belonging to a staging workflow project.
Extra information can be requested by adding any combination of these parameters in the URL: requests, status and history.

- If requests is present, the output includes the staged requests.
- If status is present, the output includes the overall state and the status xml (broken packages, missing reviews, checks, etc.)
- If history is present, the output includes the history of the staging project.

XmlResult: staging_projects

GET /staging/<staging_workflow_project>/staging_projects/<staging_project>
Get the overall state of a staging project
GET /staging/<staging_workflow_project>/staging_projects/<staging_project>?requests=1&status=1&history=1
Get the overall state of a staging project.
Extra information can be requested by adding any combination of these parameters in the URL: requests, status and history.

- If requests is present, the output includes the staged requests.
- If status is present, the output includes the overall state and the status xml (broken packages, missing reviews, checks, etc.)
- If history is present, the output includes the history of the staging project.

XmlResult: staging_project

POST /staging/<staging_workflow_project>/staging_projects/<staging_project>/copy/<staging_project_copy_name>
Expand Down

0 comments on commit bed28e6

Please sign in to comment.