games.avatars.listGameCustomAvatars


Description

Lists custom avatars for the given game.


Code Examples

Request

GET
https://api.rivet.gg/cloud/games/{game_id}/avatars
curl -X GET 'https://api.rivet.gg/cloud/games/{game_id}/avatars'

Request Parameters

game_id

Path parameter, required


Response Body

custom_avatars

array<object> (required)

A list of custom avatar summaries.

custom_avatars[*].complete

boolean (required)

Whether or not this custom avatar has completely been uploaded.

custom_avatars[*].content_length

integer (required)

Unsigned 64 bit integer.

custom_avatars[*].create_ts

string (required)

RFC3339 timestamp.

custom_avatars[*].display_name

string (required)

Represent a resource's readable display name.

custom_avatars[*].upload_id

string (required)

custom_avatars[*].url

string

The URL of this custom avatar image. Only present if upload is complete.