# Info

## Info

<mark style="color:blue;">`GET`</mark> `http://15.165.197.67:5000/info`

&#x20;이 엔드포인트에서는 User의 email과 Item들에 대한 모든 정보를 담아서 응답합니다.

#### Headers

| Name  | Type   | Description                                                    |
| ----- | ------ | -------------------------------------------------------------- |
| token | string | Authentication token to track down who is emptying our stocks. |

{% tabs %}
{% tab title="200  데이터 응답 성공   " %}

```
{ "data": [
        {
            "ItemId": 1,
            "image": "image_url",
            "category": "cloth",
            "type": "pants",
            "buydate": "2007",
            "price": 45000,
            "storage": "행",
            "sp": 1,
            "sm": 0,
            "f": 0,
            "w": 1
        },
        {
            "ItemId": 2,
            "image": "image_ur",
            "category": "cloth",
            "type": "shirts",
            "buydate": "2003",
            "price": 35000,
            "storage": "서",
            "sp": 0,
            "sm": 1,
            "f": 1,
            "w": 0
        }
    ] }
```

{% endtab %}

{% tab title="403  토큰정보를 서버에서 확인할 수 없는 경우   " %}

```
{ "message": err.message }
```

{% endtab %}

{% tab title="404  아이템 등록에 에러가  발생한 경우  " %}

```
{ "message": "Failed" }
```

{% endtab %}

{% tab title="409  유저가  등록한 아이템이 db에 존재하지 않을 경우  " %}

```
{ "message": "no data" }
```

{% endtab %}
{% endtabs %}
