This is the endpoint that will be called to create a new custom course container.
It must:
require authorization (must be logged in + have a permission that allows the creation of containers)
must be a POST API call (it is not safe and not idempotent)
Should return 202 Accepted the response body that includes an build ID to poll the status of the build. (the build ID can also be used by a websocket interface to subscribe to receive updates on the build
should return 429 Too Many (rate limiting) if the same request is sent within a minute.
Missing fields in the post body will be handled as unset fields
it should save the request to the the build history collection
actual processing of the build should be left unimplemented (implement a wrapper around the submission to a job queue or rpc call to allow that option to be configured)
should perform basic validation of the inputs
Format and specific contents of the request / response bodies should be discussed before implementation is completed.
This is the endpoint that will be called to create a new custom course container.
It must:
POST
API call (it is not safe and not idempotent)202 Accepted
the response body that includes an build ID to poll the status of the build. (the build ID can also be used by a websocket interface to subscribe to receive updates on the build429 Too Many
(rate limiting) if the same request is sent within a minute.Format and specific contents of the request / response bodies should be discussed before implementation is completed.