> For the complete documentation index, see [llms.txt](https://cgvproject.gitbook.io/cgvproject/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cgvproject.gitbook.io/cgvproject/main-page-api.md).

# Main Page API

## Home API View(Web)

<mark style="color:blue;">`GET`</mark> `https://younghoonjean.com/`

메인 페이지를 위한 트레일러, 이벤트 컨테이너 정보를 전달합니다.

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```javascript
{
    "name": "Cake's name",
    "recipe": "Cake's recipe name",
    "cake": "Binary cake"
}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```javascript
{
    "message": "Ain't no cake like that."
}
```

{% endtab %}
{% endtabs %}

## Home API View(iOS)

<mark style="color:blue;">`GET`</mark> `https://younghoonjean.com/m/`

메인 페이지를 위한 트레일러, 이벤트 컨테이너 및 앱 화면을 위한 영화 차트정보가 출력됩니다.

#### Query Parameters

| Name      | Type    | Description                                                                     |
| --------- | ------- | ------------------------------------------------------------------------------- |
| now\_open | boolean | input True value if you want to get a movie chart which has been already opened |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}
