/config ⇒
GET
This API fetches the ProCONF domain config from the environment.
Returns: Returns the access token & refresh token (JWT).
Example
{
"error": null,
"data": "<example.domain>"
}
Error Codes:
401 : Unauthorized (If authentication token is invalid or expired)
{
"data": null,
"error": {
"code": 401,
"message": "Unauthorized"
}
}
404 : Not Found (If invalid url or wrong http method is used)
{
"error": {
"code": 404,
"message": "Not found"
},
"data": null
}
500 : Internal Server Error (If there is any exception on server side)
{
"error": {
"code": 500,
"message": "Internal server error"
},
"data": null
}
503 : Service unavailable (If there is no domain configured )
{
"error": {
"code": 503,
"message": "Domain not found."
},
"data": null
}