# Game Version Info

> `GET /api/academy/meta/version`: Academy endpoint of the Rone Arena API.

Fetch a list of game versions with their release dates. Supports query parameters for pagination, sorting, and localization.

Query parameters:
- **size**: Number of items per page (minimum: 1).
- **index**: Page index (starting from 1).
- **order**: Sort order for results. Allowed values: `asc`, `desc`.
- **lang**: Language code for localized content (default: `en`).

The response includes game version data:
- **records**: Array of version entries, each containing:
    - **id**: Unique version record identifier.
    - **uin**: User identifier associated with the record.
    - **createdAt**: Creation timestamp.
    - **updatedAt**: Last update timestamp.
    - **data**:
        - **game_version**: Version string (e.g., `2.1.18`).
    - **form**:
        - **id**: Form ID reference.
    - **vote_all** (optional): Voting metadata, if available:
        - **target**: Target record ID.
        - **vote**:
            - **id**: Vote ID.

This endpoint is useful for:
- Tracking game version history.
- Monitoring release cycles.
- Ensuring compatibility with specific patches or updates.

## Request

`GET https://arena.rone.dev/api/academy/meta/version`

### Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `size` | query | integer | no | `20` | Number of items per page. Range: 1... |
| `index` | query | integer | no | `1` | Page index for pagination. Range: 1... |
| `order` | query | string | no | `desc` | Sort order for results. One of: `asc`, `desc`. |
| `lang` | query | string | no | `en` | Language code for localized content. One of: `en`, `id`, `ru`, `es`, `pt`, `tr`, `ar`, `de`, `fr`, `it`, `ja`, `ko`, `th`, `vi`, `zh-CN`, `zh-TW`, `km`. |

### Example

```bash
curl -X GET 'https://arena.rone.dev/api/academy/meta/version'
```

## Example response

```json
{
  "code": 0,
  "message": "OK",
  "data": {
    "records": [
      {
        "createdAt": 1759044257232,
        "data": {
          "game_version": "2.1.18"
        },
        "form": {
          "id": 2777742
        },
        "id": 967057876869504,
        "uin": "1",
        "updatedAt": 1759044257232
      }
    ],
    "total": 1
  }
}
```

## Links

- Try it in the playground: https://arena.rone.dev/web/academy/meta/version
- Academy endpoints: https://arena.rone.dev/web/academy.md
- OpenAPI schema: https://arena.rone.dev/api/openapi.json
