get oauth access_token
get oauth access Token, based on authorization code or refresh_ Token
Header Parameters
- Content-Type requiredapplication/json 
- application/json
Request Body
- client_id stringApplication Client Id 
- client_secret stringApplication client key 
- code stringOauth authorization code (non empty when using authorization code to obtain token) 
- grant_type stringgrant_type value:refresh_token(Use refresh_ Token must be passed when refreshing a token) 
- refresh_token stringrefresh_token(Use refresh_ Token must be passed when refreshing a token) 
Responses
- 200
- 403
- 404
- responseBody
create tokenSuccess
Forbidden
resouce not found
- application/json
- Schema
Schema
- access_token stringaccess_token。 
- expires_in longaccess_token expire time(timestamp:ms) 
- refresh_token stringrefresh_token 
- refresh_token_expires_in longrefresh_token expire time(timestamp:ms) 
Loading...