April 2014
Intermediate to advanced
182 pages
4h
English
The following schemas represent the request and response messages used by the authentication service.
The authentication service exposes a login operation. The following pair of schemas defines the request and response messages it deals with.
The request schema represents a login request message that allows us to validate a user's credentials, and is coded as follows:
{
"$schema": "http://json-schema.org/draft-03/schema#",
"$content_type": "application/vnd.ccm.login.req.v1+json",
"type": "object",
"additionalProperties": false,
"properties": {
"username": {
"type":"string",
"required": true
},
"password": {
"type":"string",
"required": true
}
}
}The response schema represents the response to a login request, ...
Read now
Unlock full access