April 2014
Intermediate to advanced
182 pages
4h
English
Whenever something goes wrong when a service processes a request message, it can return an error message to provide information about the failure. The following schema represents such a generic error message that can be returned not only by the authentication service, but by any service CCM will create:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"$content_type": "application/vnd.ccm.error.v1+json",
"type": "object",
"additionalProperties": false,
"properties": {
"context": {
"type":"string",
"required": true
},
"message": {
"type":"string",
"required": true
}
}
}Read now
Unlock full access