# NotionAPIのドキュメント自動生成のrequestのフォーマット
## JSON のフォーマット
```json
[{
"parent": { "database_id": {{ database_id }} },
"properties": {
"エンドポイント": {
"title": [
{
"text": {
"content": {{ endpoint }}
}
}
]
},
"概要": {
"rich_text": [
{
"text": {
"content": {{ summary }}
}
}
]
}
}
}]
```
### 条件
- {{ endpoint }} はページのタイトル
- {{ summary }} はページの概要
- それぞれの変数に定義したものを入れて./api.jsonを作成する
go