---
description: 최고스코어, 최근스코어를 가져온다
---

# ScorePage

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

#### Headers

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

{% tabs %}
{% tab title="200: OK 정상 서비스 상태" %}
````json
```json
{
    "return": 0,
    "message": "success",
    "value": {
        "latest_scores": [
            {
                "log_dt": "24.02.27. 13:36",
                "score": 3
            },
            {
                "log_dt": "24.02.22. 11:11",
                "score": 3
            },
            {
                "log_dt": "24.02.22. 11:00",
                "score": 2
            }
        ],
        "top_score": {
            "log_dt": "24.02.14. 15:50",
            "score": 4
        }
    }
}
```
````
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Example Curl" %}
```powershell
curl --location --request GET 'https://localhost:51151/v1.0/swipebrick/score'
```
{% 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>latest_scores</td><td>array</td><td></td></tr><tr><td>log_dt</td><td>string</td><td></td></tr><tr><td>score</td><td>int</td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td>top_score</td><td>object</td><td></td></tr><tr><td>log_dt</td><td>string</td><td></td></tr><tr><td>score</td><td>int</td><td></td></tr></tbody></table>
{% endtab %}

{% tab title="Result Code" %}
| return | message        | desc. |
| ------ | -------------- | ----- |
| 0      | success        | 성공    |
| 72000  | Not Found User |       |
|        |                |       |
{% endtab %}
{% endtabs %}
