auth.token — плоский ответ как у /oauth/token (Phoenix).
| Parameter | Type | Required | Description |
|---|---|---|---|
grant_type |
mixed | no | |
refresh_token |
mixed | no | |
username |
mixed | no | |
password |
mixed | no |
curl -s -X POST 'https://durovloh.net/api.php' \ -d 'method=auth.token' \ -d 'access_token=USER_TOKEN'