# RankPage

<mark style="color:blue;">`GET`</mark> `https://{status-domain}/v1.0/swipebrick/rank`

#### Headers

| Name                                            | Type   | Description    |
| ----------------------------------------------- | ------ | -------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer (token) |

{% tabs %}
{% tab title="200: OK 정상 서비스 상태" %}

````json
```json
{
    "return": 0,
    "message": "success",
    "value": {
        "my_rank": {
            "rank": 1,
            "wallet_address": "0x49c29502f54f5f449186535ecde9873a6d99fc2e28208ecbf541325e14b37e68",
            "score": 3,
            "tier": "E"
        },
        "ranks": [
            {
                "wallet_address": "0x49c29502f54f5f449186535ecde9873a6d99fc2e28208ecbf541325e14b37e68",
                "score": 3,
                "tier": "E"
            }
        ]
    }
}
```
````

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Example Curl" %}

```powershell
curl --location --request GET 'https://localhost:51151/v1.0/swipebrick/rank'
```

{% endtab %}

{% tab title="Response 'Value'" %}

<table><thead><tr><th width="173.33333333333331">key</th><th width="180.93023255813955">data type</th><th>desc.</th></tr></thead><tbody><tr><td>my_rank</td><td>object</td><td>현재 랭킹내의 내 최고랭킹</td></tr><tr><td>rank</td><td>int</td><td>rank</td></tr><tr><td>wallet_address</td><td>string</td><td>user address</td></tr><tr><td>score</td><td>int</td><td>stage</td></tr><tr><td>tier</td><td>string</td><td>tier</td></tr><tr><td></td><td></td><td></td></tr><tr><td>ranks</td><td>array</td><td>현재 랭킹 배열(오늘, 10위까지)</td></tr><tr><td>wallet_address</td><td>string</td><td>user address</td></tr><tr><td>score</td><td>int</td><td>stage</td></tr><tr><td>tier</td><td>string</td><td>tier</td></tr></tbody></table>
{% endtab %}

{% tab title="Result Code" %}

| return        | message        | desc. |
| ------------- | -------------- | ----- |
| 0             | success        | 성공    |
| 72000         | Not Found User |       |
|               |                |       |
|               |                |       |
| {% endtab %}  |                |       |
| {% endtabs %} |                |       |
