oauth
Create OAuth token
Changed onCreates OAuth token using various grant types
post/token
Request
- Base URLhttps://api.figshare.com/v2
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK. Token created successfully <a href='http://tools.ietf.org/html/rfc6749#section-5.1' target='_blank'>RFC 6749 Section 5.1</a>.
Example response
{
"access_token": "abcd1234567890efgh",
"token": "abcd1234567890efgh",
"token_type": "bearer",
"expires_in": 3600,
"refresh_token": "refresh_abcd1234567890efgh",
"scope": "all"
}Changes
- info
added the media type
application/x-www-form-urlencodedto the request body
- info
- info
endpoint added
- info