D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

Tokens Resource

REST interface for the social networking library (tokens).

POST /2/tokens/generate-application-token

This method has been deprecated.

Request Body
media type data type
application/json ApplicationId (JSON)
Response Codes
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
Response Body
media type data type description
application/json object (JSON)

Example

Request
POST /2/tokens/generate-application-token
Content-Type: application/json
Accept: application/json

                
{
  "app_id" : "..."
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
...