Provisioning API · Internal testing only
getProvisioningProblem
const url = 'https://api.builders.ac/api/provisioning/v1alpha1/problems/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.builders.ac/api/provisioning/v1alpha1/problems/exampleResolves one problem type. This is the URL a Problem body carries in type.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Problem type documentation
object
The stable identifier a Problem body carries in type.
Whether repeating the request unchanged can succeed later.
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/authentication_required", "code": "authentication_required", "title": "Authentication required", "status": 401, "detail": "Provide an active Provisioning API Key as a Bearer token.", "retryable": false}Headers
Section titled “Headers”Public discovery metadata may be cached for five minutes.
The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Not found. The example shows not_found.
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/not_found", "title": "Not found", "status": 404, "detail": "The requested resource was not found.", "code": "not_found", "retryable": false, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.