Retrieve game marketing assets
Retrieve game marketing assets
Retrieves marketing assets for a specific game managed by the Sinatra service.
Request endpoint: /games/{version}/assets/{game_id}
Request Method: GET
Request Parameters
| Parameter | Where To Place | Data Type | Description |
|---|---|---|---|
| game_id | query | String required | A game ID, which uniquely identifies the game whose marketing assess are returned. |
| jwt-auth | header | String required | The session ID received from the login request. The session ID is valid for only 20 minutes. |
| version | path | String required | The API version. Only version 1.0 is currently supported. Other version values are accepted but are treated as 1.0. Example:1.0 |
Response Parameters:
None.
Example Response:
Success response:
{
"Banners": [
"https://someuri.gaming.com/image1.jpg"
],
"Characters": [],
"Symbols (Game Elements)": [
"https://someuri.gaming.com/image1.jpg"
],
"Games Catalog image": [
"https://someuri.gaming.com/image1.jpg"
],
"Backgrounds": [
"https://someuri.gaming.com/image1.jpg"
],
"Thumbnails (Game icons)": [
"https://someuri.gaming.com/image1.jpg"
],
"Logo": [
"https://someuri.gaming.com/image1.jpg"
]
}Error Response:
{
"errMsg": "unauthorized"
}Response codes:
| Code | Status | Message |
|---|---|---|
| 200 | success | Successfully retrieved game marketing assets |
| 400 | Bad Request | Bad Request |
| 401 | unauthorized | unauthorized |
| 500 | internal server error | internal server error |