跳转到主要内容
POST
Create a new collection

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
name
string
必填
Required string length: 1 - 120
description
string
Maximum string length: 2000
isPublic
boolean
默认值:false
parentId
string<uuid> | null

Parent folder (collection) id; omit or null for root.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

响应

Successful response

id
string
必填