REST interface for the social networking library (tokens).
| media type | data type |
|---|---|
| application/json | ApplicationId (JSON) |
| code | condition |
|---|---|
| 201 | Successful creation of the token, reported in the 'result' field of the returned object |
| 403 | There is no application profile with such id |
| 500 | The error is reported into the 'message' field of the returned object |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
POST /2/tokens/generate-application-token
Content-Type: application/json
Accept: application/json
{
"app_id" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
...