createMyProposal
提交提案
需要绑定到 catalog 站点的用户访问令牌。
post
/v2/me/proposalsAuthorization: Bearer <用户访问令牌>(用户授权后的访问令牌,不是 API 密钥)请求体
application/json
entity_idstring必填目标 catalog id。
entity_typestring必填编辑引擎类型,例如 catalog.work。不得用作判别条件。
notestring不得用作判别条件。
patchmap<string, object>必填字段键到新值。
«key»object
响应
请求示例
cURL
curl -X POST "https://api.nextmoe.dev/v2/me/proposals" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"entity_id":"string","entity_type":"string","patch":{"key":"string"}}'