# Equipment (Items)

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

List all equipment (items). Supports query parameters for pagination and localization.

Query parameters:
- **size**: Number of items per page (minimum: 1).
- **index**: Page index (starting from 1).
- **lang**: Language code for localized content (default: `en`).

The response includes equipment data:
- **records**: Array of equipment entries, each containing:
    - **_id**: Unique record identifier.
    - **_createdAt**: Creation timestamp.
    - **_updatedAt**: Last update timestamp.
    - **data**:
        - **equipid**: Equipment ID.
        - **equipname**: Equipment name (e.g., 'Bud of Hope').
        - **equipicon**: Equipment icon URL.
    - **id**: Internal record ID.
    - **sourceId**: Source reference ID.

This endpoint is useful for:
- Displaying the full equipment catalog.
- Browsing available items.
- Analyzing basic item attributes.

## Request

`GET https://arena.rone.dev/api/academy/equipment`

### 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... |
| `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/equipment'
```

## Example response

```json
{
  "code": 0,
  "message": "OK",
  "data": {
    "records": [
      {
        "_createdAt": 1762773906608,
        "_id": "6911cb92f45ef3d6c8c6340e",
        "_updatedAt": 1762773906608,
        "data": {
          "equipicon": "https://wsrv.nl/?url=https%3A%2F%2Fakmweb.youngjoygame.com%2Fweb%2Fsvnres%2Fimg%2Fmlbb%2Fhomepage%2F100_e7f1b44153bd079824ececabb14cf901.png",
          "equipid": 10002,
          "equipname": "Bud of Hope"
        },
        "id": 101281,
        "sourceId": 2775075
      }
    ],
    "total": 184
  }
}
```

## Links

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