Get Image¶
Fetch raw bytes of an image asset by ID.
- Method: GET
- Path (REST):
/images/{imageId} - Returns: image bytes (binary)
- Response headers:
Content-Type: detected from file signature (png, jpeg, gif, webp; otherwiseapplication/octet-stream)Cache-Control:public, max-age=2592000, immutableLast-Modified: creation timestampContent-Disposition:inline; filename="{imageId}.{ext}"
byte[] bytes = gmc.imageClient().getImage("img-123").execute();
const bytes = await client.imageClient.getImage('img-123'); // Buffer
img = client.image_client.get_image('img-123')
curl -s -o out.png https://api.gamemanager.cloud/images/img-123