support.file
Downloads an attachment from a ticket accessible to the player.
GET
/api/v1/{locale}/support/files/{id}API scope support.file
Request
Send Authorization: Bearer <key> with each request.
Requires a signed-in player and applicable permission.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
id | integer | Required | Identifier of the requested resource or file. |
This endpoint takes no request body.
Run samples from your application server. See Quickstart for variables and sessions.
curl --fail-with-body --request GET \
-H "Authorization: Bearer $MINEXON_API_KEY" \
-b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
--output minexon-file \
"${MINEXON_BASE_URL}/api/v1/en/support/files/42"Response
HTTP 200
The body is raw file bytes. Read Content-Type for its media type.
HTTP/1.1 200 OK
Content-Type: <file media type>
<binary bytes>