Skip to content
Snippets Groups Projects

WS-31: Submit capability request view

Merged Nathan Hertz requested to merge WS-31-submit-capability-request-view into main
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -41,7 +41,7 @@ def create_capability_request(request: Request) -> Response:
Pyramid view that accepts a request to create a capability request
URL: capability/{capability_name}/request/create
:param request: POST request, expecting JSON parameters ["parameters", "versions"]
:param request: POST request, expecting JSON parameter "parameters"
:return: Response with JSON-formatted info of newly created capability request
or 400 response (HTTPBadRequest) if expected parameters not given
or 412 response (HTTPPreconditionFailed) if capability with given name does not exist and thus cannot be
@@ -91,7 +91,7 @@ def submit_capability_request(request: Request) -> Response:
Pyramid view that accepts a request to submit a capability request
URL: capability/{capability_name}/request/{request_id}/submit
:param request: POST request, expecting JSON parameters ["parameters", "versions"]
:param request: POST request
:return: Response with
or 412 response (HTTPPreconditionFailed) if capability request with given ID does not exist and thus cannot be
submitted
Loading