QamaqQamaq
POST

フォルダーを作成

/folders

ナレッジベースに新しいフォルダーを作成します。

リクエストボディ

application/json必須
{
name*:string

Folder name

parent_id:string| null

Parent folder ID (null for root)

}

コード例

curl -X POST "https://api.qamaq.io/api/v1/folders" \
  -H "Authorization: Bearer qmq_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

レスポンス

201Folder created successfully

Response Body

{
id:string
name:string
parent_id:string| null
created_at:string (date-time)
}