Skip to content

Commit

Permalink
Auto-updated by master commit to modio-restapi
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
zanderwar authored and github-actions[bot] committed Jul 24, 2024
1 parent 7503d3d commit 126f0a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -2578,7 +2578,7 @@ Exchange `client_id` and `client_secret` for an access token. Successful request
client_id|integer|true|Client ID issued to your game.
client_secret|string|true|Client Secret issued to your game. This should be secure on a backend server and never displayed to players.
grant_type|string|true|Must be `client_credentials`.
scopes|string|false|The scopes you wish your token to have. Currently only, read, write, and monetization is supported.
scope|string|false|Specify the comma-separated scopes you wish your token to have. Currently, only read, write, update, and monetization are supported. The update scope will elevate the token's authorization, allowing it to edit mods while acting as the game's leader.

> Example response

Expand All @@ -2587,7 +2587,7 @@ Exchange `client_id` and `client_secret` for an access token. Successful request
"token_type": "Bearer",
"expires_in": "2592000",
"access_token": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiUlNBLU9BRVAiLCJjdHkiOi....",
"scopes": "read,write"
"scope": "read,write"
}

```
Expand Down Expand Up @@ -17220,7 +17220,7 @@ thumb_100x100|string|URL to the medium avatar thumbnail.
"token_type": "Bearer",
"expires_in": "2592000",
"access_token": "eyJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiUlNBLU9BRVAiLCJjdHkiOi....",
"scopes": "read,write"
"scope": "read,write"
}
```

Expand All @@ -17231,7 +17231,7 @@ Name|Type|Description
token_type|string|Token type, always `Bearer`.
expires_in|int|Seconds until the supplied `access_token` expires which is fixed at `2592000` seconds (approx 1 month).
access_token|string|The access token used to make requests to the mod.io API on behalf of the user.
scopes|string|The scopes the of the token that have been set.
scope|string|The scopes the of the token that have been set.



Expand Down

0 comments on commit 126f0a4

Please sign in to comment.