{"openapi":"3.1.0","info":{"title":"素人种草 360 API","version":"0.1.0","description":"支持统一登录会话与账号中心签发的 Agent API Key。逐接口标明 Key 是否可用；Key 每次实时校验，使用本地角色和业务权限。MCP 服务尚未提供。"},"servers":[{"url":"/"}],"paths":{"/api/orgs/{orgId}/recovered-contents/{id}/settlement":{"post":{"operationId":"cooperationConfirm","summary":"确认作品结算","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","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)$"},"amountFen":{"type":"integer","minimum":1,"maximum":2147483647}},"required":["requestId","amountFen"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/settlements/{id}/additions":{"post":{"operationId":"cooperationAddAmount","summary":"追加作品费用","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","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)$"},"amountFen":{"type":"integer","minimum":1,"maximum":2147483647},"note":{"default":"","type":"string","maxLength":500}},"required":["requestId","amountFen"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/settlements/{id}/reverse":{"post":{"operationId":"cooperationReverseSettlement","summary":"撤销作品结算","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","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)$"},"reason":{"type":"string","minLength":1,"maxLength":500}},"required":["requestId","reason"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/settlements":{"get":{"operationId":"cooperationSettlements","summary":"项目结算列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"projectId","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":32}},{"name":"contentId","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":32}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["pending","partial","paid","reversed"]}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"organizationId":{"type":"string","minLength":1,"maxLength":32},"projectId":{"type":"string","minLength":1,"maxLength":32},"creatorId":{"type":"string","minLength":1,"maxLength":32},"walletId":{"type":"string","minLength":1,"maxLength":32},"contentId":{"type":"string","minLength":1,"maxLength":32},"projectName":{"type":"string"},"creatorName":{"type":"string"},"title":{"type":"string"},"platform":{"type":"string"},"contentUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"pendingFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["pending","partial","paid","reversed"]},"confirmedByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reversedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"reversedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"reversalReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","organizationId","projectId","creatorId","walletId","contentId","projectName","creatorName","title","platform","contentUrl","amountFen","paidFen","pendingFen","status","confirmedByName","createdAt","reversedAt","reversedByName","reversalReason"],"additionalProperties":false}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","minimum":0,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":0,"maximum":9007199254740991},"summary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false}},"required":["items","total","page","pageSize","summary"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/settlements/{id}":{"get":{"operationId":"cooperationSettlement","summary":"作品结算明细","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"charges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"kind":{"type":"string","enum":["settlement","settlement_addition"]},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":"string"},"actorName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","kind","amountFen","note","actorName","createdAt"],"additionalProperties":false}},"settlement":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"organizationId":{"type":"string","minLength":1,"maxLength":32},"projectId":{"type":"string","minLength":1,"maxLength":32},"creatorId":{"type":"string","minLength":1,"maxLength":32},"walletId":{"type":"string","minLength":1,"maxLength":32},"contentId":{"type":"string","minLength":1,"maxLength":32},"projectName":{"type":"string"},"creatorName":{"type":"string"},"title":{"type":"string"},"platform":{"type":"string"},"contentUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"pendingFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["pending","partial","paid","reversed"]},"confirmedByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reversedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"reversedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"reversalReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","organizationId","projectId","creatorId","walletId","contentId","projectName","creatorName","title","platform","contentUrl","amountFen","paidFen","pendingFen","status","confirmedByName","createdAt","reversedAt","reversedByName","reversalReason"],"additionalProperties":false},"payments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":"string"},"createdByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reversedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"reversedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"reversalReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"settlementId":{"type":"string","minLength":1,"maxLength":32},"title":{"type":"string"},"projectName":{"type":"string"},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["settlementId","title","projectName","amountFen"],"additionalProperties":false}}},"required":["id","amountFen","note","createdByName","createdAt","reversedAt","reversedByName","reversalReason","allocations"],"additionalProperties":false}}},"required":["charges","settlement","payments"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/creators/{id}/statement":{"get":{"operationId":"cooperationStatement","summary":"素人合作账单","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"wallet":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"organizationId":{"type":"string","minLength":1,"maxLength":32},"organizationName":{"type":"string"},"creatorId":{"type":"string","minLength":1,"maxLength":32},"creatorName":{"type":"string"},"summary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false}},"required":["id","organizationId","organizationName","creatorId","creatorName","summary"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"kind":{"type":"string","enum":["settlement","settlement_reversal","settlement_addition","payment","payment_reversal"]},"deltaFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"actorName":{"type":"string"},"note":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"settlement":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"organizationId":{"type":"string","minLength":1,"maxLength":32},"projectId":{"type":"string","minLength":1,"maxLength":32},"creatorId":{"type":"string","minLength":1,"maxLength":32},"walletId":{"type":"string","minLength":1,"maxLength":32},"contentId":{"type":"string","minLength":1,"maxLength":32},"projectName":{"type":"string"},"creatorName":{"type":"string"},"title":{"type":"string"},"platform":{"type":"string"},"contentUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"pendingFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["pending","partial","paid","reversed"]},"confirmedByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reversedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"reversedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"reversalReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","organizationId","projectId","creatorId","walletId","contentId","projectName","creatorName","title","platform","contentUrl","amountFen","paidFen","pendingFen","status","confirmedByName","createdAt","reversedAt","reversedByName","reversalReason"],"additionalProperties":false},{"type":"null"}]},"payment":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":"string"},"createdByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reversedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"reversedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"reversalReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"settlementId":{"type":"string","minLength":1,"maxLength":32},"title":{"type":"string"},"projectName":{"type":"string"},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["settlementId","title","projectName","amountFen"],"additionalProperties":false}}},"required":["id","amountFen","note","createdByName","createdAt","reversedAt","reversedByName","reversalReason","allocations"],"additionalProperties":false},{"type":"null"}]}},"required":["id","kind","deltaFen","balanceFen","actorName","note","createdAt","settlement","payment"],"additionalProperties":false}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","minimum":0,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["wallet","items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/creators/{id}/payments":{"post":{"operationId":"cooperationPay","summary":"登记线下付款","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","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)$"},"amountFen":{"type":"integer","minimum":1,"maximum":2147483647},"note":{"default":"","type":"string","maxLength":500}},"required":["requestId","amountFen"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/cooperation-payments/{id}/reverse":{"post":{"operationId":"cooperationReversePayment","summary":"撤销付款登记","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","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)$"},"reason":{"type":"string","minLength":1,"maxLength":500}},"required":["requestId","reason"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/my/cooperation-wallets":{"get":{"operationId":"myCooperationWallets","summary":"我的合作钱包","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"organizationId":{"type":"string","minLength":1,"maxLength":32},"organizationName":{"type":"string"},"creatorId":{"type":"string","minLength":1,"maxLength":32},"creatorName":{"type":"string"},"summary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false}},"required":["id","organizationId","organizationName","creatorId","creatorName","summary"],"additionalProperties":false}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","minimum":0,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/my/cooperation-wallets/{id}/statement":{"get":{"operationId":"myCooperationStatement","summary":"我的合作账单","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"wallet":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"organizationId":{"type":"string","minLength":1,"maxLength":32},"organizationName":{"type":"string"},"creatorId":{"type":"string","minLength":1,"maxLength":32},"creatorName":{"type":"string"},"summary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false}},"required":["id","organizationId","organizationName","creatorId","creatorName","summary"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"kind":{"type":"string","enum":["settlement","settlement_reversal","settlement_addition","payment","payment_reversal"]},"deltaFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"actorName":{"type":"string"},"note":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"settlement":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"organizationId":{"type":"string","minLength":1,"maxLength":32},"projectId":{"type":"string","minLength":1,"maxLength":32},"creatorId":{"type":"string","minLength":1,"maxLength":32},"walletId":{"type":"string","minLength":1,"maxLength":32},"contentId":{"type":"string","minLength":1,"maxLength":32},"projectName":{"type":"string"},"creatorName":{"type":"string"},"title":{"type":"string"},"platform":{"type":"string"},"contentUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"pendingFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["pending","partial","paid","reversed"]},"confirmedByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reversedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"reversedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"reversalReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","organizationId","projectId","creatorId","walletId","contentId","projectName","creatorName","title","platform","contentUrl","amountFen","paidFen","pendingFen","status","confirmedByName","createdAt","reversedAt","reversedByName","reversalReason"],"additionalProperties":false},{"type":"null"}]},"payment":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"note":{"type":"string"},"createdByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"reversedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"reversedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"reversalReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"allocations":{"type":"array","items":{"type":"object","properties":{"settlementId":{"type":"string","minLength":1,"maxLength":32},"title":{"type":"string"},"projectName":{"type":"string"},"amountFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["settlementId","title","projectName","amountFen"],"additionalProperties":false}}},"required":["id","amountFen","note","createdByName","createdAt","reversedAt","reversedByName","reversalReason","allocations"],"additionalProperties":false},{"type":"null"}]}},"required":["id","kind","deltaFen","balanceFen","actorName","note","createdAt","settlement","payment"],"additionalProperties":false}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","minimum":0,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["wallet","items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/materials/fetch":{"post":{"operationId":"materialFetch","summary":"materialFetch","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"videoUrl":{"type":"string","maxLength":2000,"format":"uri"}},"required":["videoUrl"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"material":{"type":"object","properties":{"platform":{"anyOf":[{"type":"string"},{"type":"null"}]},"materialType":{"anyOf":[{"type":"string"},{"type":"null"}]},"videoId":{"anyOf":[{"type":"string"},{"type":"null"}]},"uniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}]},"playCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"diggCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"shareCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"collectCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"downloadCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"forwardCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"playAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"downloadAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"imageList":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"videoDesc":{"anyOf":[{"type":"string"},{"type":"null"}]},"duration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"releaseAt":{"anyOf":[{"type":"integer","minimum":0,"maximum":253402300799},{"type":"null"}]},"shareUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"additionalProperties":false}},"required":["material"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-plans":{"get":{"operationId":"publishingList","summary":"发布计划列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"projectId","in":"query","required":false,"schema":{"type":"string","maxLength":32}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["draft","published","stopped"]}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"project":{"type":"string"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"notes":{"type":"string"},"status":{"type":"string"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"canEdit":{"type":"boolean"},"groups":{"type":"array","items":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["id","projectId","project","deadline","notes","status","publishedAt","createdAt","canEdit","groups"],"additionalProperties":false}},"total":{"type":"number"},"page":{"type":"number"},"pageSize":{"type":"number"}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"publishingCreate","summary":"创建发布计划","description":"当前有效工作区成员；关联项目必须属于当前工作区。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":32},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"notes":{"default":"","type":"string","maxLength":2000},"videoCount":{"type":"integer","minimum":0,"maximum":100},"imageTextCount":{"type":"integer","minimum":0,"maximum":100}},"required":["projectId","deadline","videoCount","imageTextCount"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plan":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"project":{"type":"string"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"notes":{"type":"string"},"status":{"type":"string"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"canEdit":{"type":"boolean"},"groups":{"type":"array","items":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["id","projectId","project","deadline","notes","status","publishedAt","createdAt","canEdit","groups"],"additionalProperties":false}},"required":["plan"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-plans/{id}":{"get":{"operationId":"publishingGet","summary":"发布计划详情","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plan":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"project":{"type":"string"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"notes":{"type":"string"},"status":{"type":"string"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"canEdit":{"type":"boolean"},"groups":{"type":"array","items":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["id","projectId","project","deadline","notes","status","publishedAt","createdAt","canEdit","groups"],"additionalProperties":false}},"required":["plan"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"delete":{"operationId":"publishingDelete","summary":"删除发布计划","description":"所有者、管理员或计划创建人；正文和素材仅草稿可改，状态限制以服务端为准。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"patch":{"operationId":"publishingUpdate","summary":"修改发布计划","description":"所有者、管理员或计划创建人；正文和素材仅草稿可改，状态限制以服务端为准。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":32},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"notes":{"default":"","type":"string","maxLength":2000},"videoCount":{"type":"integer","minimum":0,"maximum":100},"imageTextCount":{"type":"integer","minimum":0,"maximum":100}},"required":["projectId","deadline","videoCount","imageTextCount"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plan":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"project":{"type":"string"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"notes":{"type":"string"},"status":{"type":"string"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"canEdit":{"type":"boolean"},"groups":{"type":"array","items":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["id","projectId","project","deadline","notes","status","publishedAt","createdAt","canEdit","groups"],"additionalProperties":false}},"required":["plan"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-groups/{id}":{"get":{"operationId":"publishingGroupGet","summary":"内容组详情","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"group":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-groups/{id}/images-order":{"patch":{"operationId":"publishingImagesOrder","summary":"保存图组图片顺序","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"fileIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":32}}},"required":["fileIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"group":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-groups/{id}/document":{"patch":{"operationId":"publishingDocument","summary":"保存计划正文","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":1048576}},"required":["text"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"group":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-groups/{id}/uploads":{"post":{"operationId":"publishingUpload","summary":"获取文件上传签名","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"mime":{"type":"string","maxLength":100},"size":{"type":"integer","exclusiveMinimum":0,"maximum":524288000},"requestId":{"type":"string","minLength":1,"maxLength":64}},"required":["name","mime","size","requestId"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"file":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false},"uploadUrl":{"type":"string"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["file","uploadUrl","fields"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-files/{id}/complete":{"post":{"operationId":"publishingComplete","summary":"确认文件上传","description":"所有者、管理员或计划创建人；正文和素材仅草稿可改，状态限制以服务端为准。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"group":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-files/{id}":{"delete":{"operationId":"publishingRemove","summary":"删除计划文件","description":"所有者、管理员或计划创建人；正文和素材仅草稿可改，状态限制以服务端为准。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-plans/{id}/publish":{"post":{"operationId":"publishingPublish","summary":"生成分享链接","description":"所有者、管理员或计划创建人；正文和素材仅草稿可改，状态限制以服务端为准。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plan":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"project":{"type":"string"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"notes":{"type":"string"},"status":{"type":"string"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"canEdit":{"type":"boolean"},"groups":{"type":"array","items":{"type":"object","properties":{"submissionCount":{"type":"number"},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"claimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"claimantName":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["submissionCount","id","kind","position","documentName","documentText","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["id","projectId","project","deadline","notes","status","publishedAt","createdAt","canEdit","groups"],"additionalProperties":false}},"required":["plan"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-plans/{id}/stop":{"post":{"operationId":"publishingStop","summary":"停止发布计划","description":"所有者、管理员或计划创建人；正文和素材仅草稿可改，状态限制以服务端为准。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-files/{id}/url":{"get":{"operationId":"publishingMedia","summary":"获取计划文件地址","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["publishing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/publishing-shares/{token}":{"get":{"operationId":"shareGet","summary":"分享任务详情","description":"匿名仅返回任务摘要；领取者才可查看正文和素材。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization":{"type":"object","properties":{"name":{"type":"string"},"companyName":{"type":"string"},"contactEmail":{"type":"string"},"contactPhone":{"type":"string"},"reportEmail":{"type":"string"},"reportWechat":{"type":"string"}},"required":["name","companyName","contactEmail","contactPhone","reportEmail","reportWechat"],"additionalProperties":false},"project":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"status":{"type":"string"},"availability":{"type":"string","enum":["available","mine","claimed","expired","stopped"]},"documentText":{"type":"string"},"notes":{"type":"string"},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number"},"kind":{"type":"string","enum":["video","image","document"]},"status":{"type":"string"}},"required":["id","name","mime","size","kind","status"],"additionalProperties":false}},"submissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"platform":{"type":"string"},"accountName":{"type":"string"},"accountHomepage":{"type":"string"},"resolution":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","url","platform","accountName","accountHomepage","resolution","createdAt"],"additionalProperties":false}}},"required":["organization","project","kind","deadline","status","availability"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/publishing-shares/{token}/claim":{"post":{"operationId":"shareClaim","summary":"领取分享任务","description":"统一登录用户；任务有效且尚可领取。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/publishing-shares/{token}/preview":{"post":{"operationId":"sharePreview","summary":"sharePreview","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"urls":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","maxLength":2000,"format":"uri"}},"previewToken":{"type":"string","minLength":48,"maxLength":48},"account":{"type":"object","properties":{"platform":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号"]},"nickname":{"type":"string","minLength":1,"maxLength":120},"homepage":{"type":"string","maxLength":2000,"format":"uri"},"stableId":{"type":"string","maxLength":191}},"required":["platform","nickname","homepage"]}},"required":["urls"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"previewToken":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"material":{"anyOf":[{"type":"object","properties":{"platform":{"anyOf":[{"type":"string"},{"type":"null"}]},"materialType":{"anyOf":[{"type":"string"},{"type":"null"}]},"videoId":{"anyOf":[{"type":"string"},{"type":"null"}]},"uniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}]},"playCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"diggCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"shareCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"collectCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"downloadCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"forwardCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"playAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"downloadAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"imageList":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"videoDesc":{"anyOf":[{"type":"string"},{"type":"null"}]},"duration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"releaseAt":{"anyOf":[{"type":"integer","minimum":0,"maximum":253402300799},{"type":"null"}]},"shareUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["url","material"],"additionalProperties":false}}},"required":["previewToken","items"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/publishing-shares/{token}/submissions":{"post":{"operationId":"shareSubmit","summary":"回填作品链接","description":"当前任务领取者；受任务状态、截止时间和档案状态约束。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"urls":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","maxLength":2000,"format":"uri"}},"previewToken":{"type":"string","minLength":48,"maxLength":48},"account":{"type":"object","properties":{"platform":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号"]},"nickname":{"type":"string","minLength":1,"maxLength":120},"homepage":{"type":"string","maxLength":2000,"format":"uri"},"stableId":{"type":"string","maxLength":191}},"required":["platform","nickname","homepage"]}},"required":["urls"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"submitted":{"type":"number"},"duplicates":{"type":"number"}},"required":["submitted","duplicates"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/publishing-shares/{token}/files/{id}":{"get":{"operationId":"shareMedia","summary":"获取任务文件地址","description":"当前任务领取者；受任务状态、截止时间和档案状态约束。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/my/publishing-tasks":{"get":{"operationId":"myPublishingTasks","summary":"我的发布任务","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["tasks"],"parameters":[{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"project":{"type":"string"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"status":{"type":"string"},"submitted":{"type":"number"}},"required":["token","project","deadline","status","submitted"],"additionalProperties":false}},"total":{"type":"number"},"page":{"type":"number"},"pageSize":{"type":"number"}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/social-accounts":{"post":{"operationId":"socialAccountCreate","summary":"socialAccountCreate","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"creatorId":{"type":"string","minLength":1},"platform":{"type":"string","minLength":1,"maxLength":40},"nickname":{"type":"string","minLength":1,"maxLength":120},"stableId":{"default":"","type":"string","maxLength":191},"homepage":{"default":"","type":"string","maxLength":2000}},"required":["creatorId","platform","nickname"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"get":{"operationId":"socialAccounts","summary":"平台账号列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"creatorId","in":"query","required":false,"schema":{"type":"string"}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","maxLength":40}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"conflicts":{"type":"array","items":{"type":"object","properties":{"creatorId":{"type":"string"},"creatorName":{"type":"string"},"url":{"type":"string"}},"required":["creatorId","creatorName","url"],"additionalProperties":false}},"id":{"type":"string"},"creatorId":{"type":"string"},"creatorName":{"type":"string"},"platform":{"type":"string"},"stableId":{"anyOf":[{"type":"string"},{"type":"null"}]},"nickname":{"type":"string"},"homepage":{"type":"string"},"reviewStatus":{"type":"string"}},"required":["conflicts","id","creatorId","creatorName","platform","stableId","nickname","homepage","reviewStatus"],"additionalProperties":false}},"total":{"type":"number"},"page":{"type":"number"},"pageSize":{"type":"number"}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/creators/{id}/review":{"patch":{"operationId":"creatorReview","summary":"审核素人档案","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["approved","pending","suspended"]}},"required":["status"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/social-accounts/{id}/review":{"patch":{"operationId":"socialAccountReview","summary":"审核平台账号","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["approved","pending","suspended"]},"creatorId":{"type":"string","maxLength":32}},"required":["status"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/project-owners":{"get":{"operationId":"projectOwners","summary":"项目负责人选项","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"nickname":{"type":"string"}},"required":["userId","nickname"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents/{id}/delete":{"patch":{"operationId":"recoveredContentDelete","summary":"recoveredContentDelete","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"updated":{"type":"boolean","const":true}},"required":["updated"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents/{id}":{"patch":{"operationId":"recoveredContentUpdate","summary":"编辑回收内容","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"socialAccountId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]}},"required":["socialAccountId"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"updated":{"type":"boolean","const":true}},"required":["updated"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents/{id}/platform":{"patch":{"operationId":"recoveredContentPlatformUpdate","summary":"更正回收平台","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"platform":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","多平台","未知"]}},"required":["platform"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"updated":{"type":"boolean","const":true}},"required":["updated"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents/collect":{"post":{"operationId":"recoveredContentCollect","summary":"recoveredContentCollect","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"videoUrl":{"type":"string","maxLength":2000,"format":"uri"},"projectId":{"type":"string","minLength":1,"maxLength":32}},"required":["videoUrl","projectId"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"content":{"type":"object","properties":{"settlement":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"amountFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"confirmedByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","amountFen","paidFen","confirmedByName","createdAt"],"additionalProperties":false},{"type":"null"}]},"canDelete":{"type":"boolean"},"canChangeAssociation":{"type":"boolean"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"socialAccountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"creatorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"accountNickname":{"anyOf":[{"type":"string"},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"materialData":{"anyOf":[{"type":"object","properties":{"platform":{"anyOf":[{"type":"string"},{"type":"null"}]},"materialType":{"anyOf":[{"type":"string"},{"type":"null"}]},"videoId":{"anyOf":[{"type":"string"},{"type":"null"}]},"uniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}]},"playCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"diggCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"shareCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"collectCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"downloadCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"forwardCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"playAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"downloadAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"imageList":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"videoDesc":{"anyOf":[{"type":"string"},{"type":"null"}]},"duration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"releaseAt":{"anyOf":[{"type":"integer","minimum":0,"maximum":253402300799},{"type":"null"}]},"shareUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"fetchedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"id":{"type":"string"},"projectId":{"type":"string"},"projectName":{"type":"string"},"title":{"type":"string"},"creatorName":{"type":"string"},"platform":{"type":"string"},"contentUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"body":{"type":"string"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"collectedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["deletedAt","id","projectId","projectName","title","creatorName","platform","contentUrl","body","publishedAt","collectedAt"],"additionalProperties":false},"updated":{"type":"boolean"}},"required":["content","updated"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents/batch":{"post":{"operationId":"recoveredContentBatch","summary":"批量回收作品链接","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projectId":{"type":"string","minLength":1,"maxLength":32},"urls":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","maxLength":2000,"format":"uri"}}},"required":["projectId","urls"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"added":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"skipped":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["added","skipped"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/project-options":{"get":{"operationId":"projectOptions","summary":"项目名称选项","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents":{"get":{"operationId":"recoveredContents","summary":"内容回收列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","deleted"]}},{"name":"publishedFrom","in":"query","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},{"name":"publishedTo","in":"query","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","多平台","未知"]}},{"name":"projectId","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":32}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"settlement":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"amountFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"confirmedByName":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","amountFen","paidFen","confirmedByName","createdAt"],"additionalProperties":false},{"type":"null"}]},"canDelete":{"type":"boolean"},"canChangeAssociation":{"type":"boolean"},"deletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"socialAccountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"creatorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"accountNickname":{"anyOf":[{"type":"string"},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"materialData":{"anyOf":[{"type":"object","properties":{"platform":{"anyOf":[{"type":"string"},{"type":"null"}]},"materialType":{"anyOf":[{"type":"string"},{"type":"null"}]},"videoId":{"anyOf":[{"type":"string"},{"type":"null"}]},"uniqueId":{"anyOf":[{"type":"string"},{"type":"null"}]},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}]},"playCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"diggCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"commentCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"shareCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"collectCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"downloadCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"forwardCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"playAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"downloadAddr":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"imageList":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"width":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"height":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false}},{"type":"null"}]},"videoDesc":{"anyOf":[{"type":"string"},{"type":"null"}]},"duration":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"releaseAt":{"anyOf":[{"type":"integer","minimum":0,"maximum":253402300799},{"type":"null"}]},"shareUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"fetchedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"id":{"type":"string"},"projectId":{"type":"string"},"projectName":{"type":"string"},"title":{"type":"string"},"creatorName":{"type":"string"},"platform":{"type":"string"},"contentUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"body":{"type":"string"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"collectedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["deletedAt","id","projectId","projectName","title","creatorName","platform","contentUrl","body","publishedAt","collectedAt"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/projects":{"get":{"operationId":"projects","summary":"种草项目列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["planning","active","completed","archived"]}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","多平台"]}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"status":{"type":"string","enum":["planning","active","completed","archived"]},"notes":{"type":"string"},"canEdit":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","organizationId","name","responsibleUserId","responsibleName","startsOn","endsOn","budgetFen","platform","status","notes","canEdit","createdAt","updatedAt"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"projectCreate","summary":"创建种草项目","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"responsibleUserId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]},"startsOn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"endsOn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"budgetFen":{"type":"integer","minimum":0,"maximum":2147483647},"platform":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","多平台"]},"status":{"default":"planning","type":"string","enum":["planning","active","completed","archived"]},"notes":{"default":"","type":"string","maxLength":5000}},"required":["name","responsibleUserId","startsOn","endsOn","budgetFen","platform"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"status":{"type":"string","enum":["planning","active","completed","archived"]},"notes":{"type":"string"},"canEdit":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","organizationId","name","responsibleUserId","responsibleName","startsOn","endsOn","budgetFen","platform","status","notes","canEdit","createdAt","updatedAt"],"additionalProperties":false}},"required":["project"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/projects/{id}":{"get":{"operationId":"projectGet","summary":"种草项目详情","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"status":{"type":"string","enum":["planning","active","completed","archived"]},"notes":{"type":"string"},"canEdit":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","organizationId","name","responsibleUserId","responsibleName","startsOn","endsOn","budgetFen","platform","status","notes","canEdit","createdAt","updatedAt"],"additionalProperties":false}},"required":["project"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"patch":{"operationId":"projectUpdate","summary":"修改种草项目","description":"所有者、管理员、项目创建人或当前负责人。额外业务校验以服务端为准。","tags":["projects"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"responsibleUserId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]},"startsOn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"endsOn":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"budgetFen":{"type":"integer","minimum":0,"maximum":2147483647},"platform":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","多平台"]},"status":{"default":"planning","type":"string","enum":["planning","active","completed","archived"]},"notes":{"default":"","type":"string","maxLength":5000}},"required":["name","responsibleUserId","startsOn","endsOn","budgetFen","platform"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"status":{"type":"string","enum":["planning","active","completed","archived"]},"notes":{"type":"string"},"canEdit":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","organizationId","name","responsibleUserId","responsibleName","startsOn","endsOn","budgetFen","platform","status","notes","canEdit","createdAt","updatedAt"],"additionalProperties":false}},"required":["project"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/shared-credits":{"get":{"operationId":"sharedCredits","summary":"共享积分状态","description":"工作区所有者或管理员；授权流程必须在当前用户浏览器会话中完成。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorized":{"type":"boolean"},"available":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"frozen":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"dailyLimit":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"dailyUsed":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"rechargeUrl":{"type":"string","format":"uri"}},"required":["authorized","available","frozen","dailyLimit","dailyUsed","rechargeUrl"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/shared-credits/authorize":{"post":{"operationId":"sharedCreditsAuthorize","summary":"发起共享积分授权","description":"工作区所有者或管理员；授权流程必须在当前用户浏览器会话中完成。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"confirmationUrl":{"type":"string","format":"uri"},"mode":{"type":"string","enum":["redirect","manual"]}},"required":["confirmationUrl","mode"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/shared-credits/complete":{"post":{"operationId":"sharedCreditsComplete","summary":"完成共享积分授权","description":"工作区所有者或管理员；授权流程必须在当前用户浏览器会话中完成。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"},"result":{"type":"string","enum":["authorized","cancelled"]}},"required":["state","result"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorized":{"type":"boolean"},"available":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"frozen":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"dailyLimit":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"dailyUsed":{"anyOf":[{"type":"string","pattern":"^\\d+(\\.\\d)?$"},{"type":"null"}]},"rechargeUrl":{"type":"string","format":"uri"}},"required":["authorized","available","frozen","dailyLimit","dailyUsed","rechargeUrl"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/credit-transfers":{"get":{"operationId":"creditTransfers","summary":"积分划转记录","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"points":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amountYuan":{"type":"string"},"state":{"type":"string","enum":["creating","awaiting_confirmation","credited","expired"]},"confirmationUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"canContinue":{"type":"boolean"},"createdAt":{"type":"string"},"creditedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"acknowledged":{"type":"boolean"},"errorCode":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","points","amountYuan","state","confirmationUrl","canContinue","createdAt","creditedAt","acknowledged","errorCode"],"additionalProperties":false}},"rechargeUrl":{"type":"string","format":"uri"}},"required":["items","rechargeUrl"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"creditTransferCreate","summary":"创建积分划转","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"transfer":{"type":"object","properties":{"id":{"type":"string"},"points":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amountYuan":{"type":"string"},"state":{"type":"string","enum":["creating","awaiting_confirmation","credited","expired"]},"confirmationUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"canContinue":{"type":"boolean"},"createdAt":{"type":"string"},"creditedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"acknowledged":{"type":"boolean"},"errorCode":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","points","amountYuan","state","confirmationUrl","canContinue","createdAt","creditedAt","acknowledged","errorCode"],"additionalProperties":false}},"required":["transfer"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/credit-transfers/sync":{"post":{"operationId":"creditTransfersSync","summary":"同步积分划转","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/credit-transfers/{id}/retry":{"post":{"operationId":"creditTransferRetry","summary":"重试积分划转","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"transfer":{"type":"object","properties":{"id":{"type":"string"},"points":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amountYuan":{"type":"string"},"state":{"type":"string","enum":["creating","awaiting_confirmation","credited","expired"]},"confirmationUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"canContinue":{"type":"boolean"},"createdAt":{"type":"string"},"creditedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"acknowledged":{"type":"boolean"},"errorCode":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","points","amountYuan","state","confirmationUrl","canContinue","createdAt","creditedAt","acknowledged","errorCode"],"additionalProperties":false}},"required":["transfer"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/groups":{"get":{"operationId":"groups","summary":"成员分组列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"mine","in":"query","required":false,"schema":{"default":"false","type":"string","enum":["true","false"]}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"isDefault":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"leaderUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderName":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderStatus":{"anyOf":[{"type":"string","enum":["active","suspended"]},{"type":"null"}]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"creatorCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"myRole":{"anyOf":[{"type":"string","enum":["leader","member"]},{"type":"null"}]}},"required":["id","name","description","leaderUserId","leaderName","leaderStatus","memberCount","creatorCount","myRole"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"groupCreate","summary":"创建成员分组","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"default":"","type":"string","maxLength":500}},"required":["name"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"group":{"type":"object","properties":{"isDefault":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"leaderUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderName":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderStatus":{"anyOf":[{"type":"string","enum":["active","suspended"]},{"type":"null"}]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"creatorCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"myRole":{"anyOf":[{"type":"string","enum":["leader","member"]},{"type":"null"}]}},"required":["id","name","description","leaderUserId","leaderName","leaderStatus","memberCount","creatorCount","myRole"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/groups/{id}":{"get":{"operationId":"groupGet","summary":"成员分组详情","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"group":{"type":"object","properties":{"isDefault":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"leaderUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderName":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderStatus":{"anyOf":[{"type":"string","enum":["active","suspended"]},{"type":"null"}]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"creatorCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"myRole":{"anyOf":[{"type":"string","enum":["leader","member"]},{"type":"null"}]}},"required":["id","name","description","leaderUserId","leaderName","leaderStatus","memberCount","creatorCount","myRole"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"patch":{"operationId":"groupUpdate","summary":"修改成员分组","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"default":"","type":"string","maxLength":500}},"required":["name"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"group":{"type":"object","properties":{"isDefault":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"leaderUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderName":{"anyOf":[{"type":"string"},{"type":"null"}]},"leaderStatus":{"anyOf":[{"type":"string","enum":["active","suspended"]},{"type":"null"}]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"creatorCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"myRole":{"anyOf":[{"type":"string","enum":["leader","member"]},{"type":"null"}]}},"required":["id","name","description","leaderUserId","leaderName","leaderStatus","memberCount","creatorCount","myRole"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"delete":{"operationId":"groupDissolve","summary":"解散成员分组","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"targetGroupId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]},"responsibleUserId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]}},"required":["targetGroupId","responsibleUserId"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/groups/{id}/members":{"get":{"operationId":"groupMembers","summary":"小组成员列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"nickname":{"type":"string"},"accountId":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"role":{"type":"string","enum":["leader","member"]},"responsibleCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["userId","nickname","accountId","status","role","responsibleCount"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"groupMemberAdd","summary":"添加小组成员","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":1,"maxLength":32}},"required":["userId"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/groups/{id}/members/{userId}":{"delete":{"operationId":"groupMemberRemove","summary":"移除小组成员","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clearResponsibilities":{"type":"boolean","const":true}},"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/groups/{id}/leader":{"patch":{"operationId":"groupLeader","summary":"设置小组组长","description":"工作区所有者或管理员；受责任交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]}},"required":["userId"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/creator-assignments":{"post":{"operationId":"creatorsAssign","summary":"分配素人责任","description":"所有者、管理员或组长；组长仅可调整本组分工。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"groupId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]},"responsibleUserId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]},"creatorIds":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":32}}},"required":["groupId","responsibleUserId","creatorIds"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/health/live":{"get":{"operationId":"live","summary":"存活检查","description":"无需登录；仅返回公开状态或当前会话摘要。额外业务校验以服务端为准。","tags":["operations"],"parameters":[],"security":[],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","const":"ok"}},"required":["status"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/health/ready":{"get":{"operationId":"ready","summary":"就绪检查","description":"无需登录；仅返回公开状态或当前会话摘要。额外业务校验以服务端为准。","tags":["operations"],"parameters":[],"security":[],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","const":"ok"},"database":{"type":"boolean","const":true},"redis":{"type":"boolean","const":true}},"required":["status","database","redis"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/auth/sessions":{"get":{"operationId":"sessions","summary":"当前账号会话","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["account"],"parameters":[],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"lastSeenAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"current":{"type":"boolean"}},"required":["id","createdAt","lastSeenAt","expiresAt","current"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/auth/sessions/{id}":{"delete":{"operationId":"sessionRevoke","summary":"撤销指定会话","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["account"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/auth/sessions/revoke-others":{"post":{"operationId":"sessionsRevokeOthers","summary":"撤销其他会话","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["account"],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs":{"get":{"operationId":"organizations","summary":"我的工作区","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"companyName":{"type":"string"},"contactEmail":{"type":"string"},"contactPhone":{"type":"string"},"reportEmail":{"type":"string"},"reportWechat":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"role":{"type":"string","enum":["owner","admin","member"]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","name","description","status","role","memberCount","createdAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"organizationCreate","summary":"创建工作区","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"default":"","type":"string","maxLength":500},"companyName":{"type":"string","maxLength":200},"contactEmail":{"anyOf":[{"type":"string","const":""},{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}]},"contactPhone":{"type":"string","maxLength":254},"reportEmail":{"anyOf":[{"type":"string","const":""},{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}]},"reportWechat":{"type":"string","maxLength":254}},"required":["name"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"companyName":{"type":"string"},"contactEmail":{"type":"string"},"contactPhone":{"type":"string"},"reportEmail":{"type":"string"},"reportWechat":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"role":{"type":"string","enum":["owner","admin","member"]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","name","description","status","role","memberCount","createdAt"],"additionalProperties":false}},"required":["organization"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}":{"get":{"operationId":"organization","summary":"工作区详情","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"companyName":{"type":"string"},"contactEmail":{"type":"string"},"contactPhone":{"type":"string"},"reportEmail":{"type":"string"},"reportWechat":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"role":{"type":"string","enum":["owner","admin","member"]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","name","description","status","role","memberCount","createdAt"],"additionalProperties":false}},"required":["organization"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"patch":{"operationId":"organizationUpdate","summary":"修改工作区","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"default":"","type":"string","maxLength":500},"companyName":{"type":"string","maxLength":200},"contactEmail":{"anyOf":[{"type":"string","const":""},{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}]},"contactPhone":{"type":"string","maxLength":254},"reportEmail":{"anyOf":[{"type":"string","const":""},{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}]},"reportWechat":{"type":"string","maxLength":254}},"required":["name"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"companyName":{"type":"string"},"contactEmail":{"type":"string"},"contactPhone":{"type":"string"},"reportEmail":{"type":"string"},"reportWechat":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"role":{"type":"string","enum":["owner","admin","member"]},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","name","description","status","role","memberCount","createdAt"],"additionalProperties":false}},"required":["organization"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/dashboard":{"get":{"operationId":"workspaceDashboard","summary":"工作台概览","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"activeProjects":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"runningPlans":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"recoveredContents":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"activeCreators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"draftPlans":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pendingCreators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"awaitingSubmission":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string"},"endsOn":{"type":"string"}},"required":["id","name","platform","status","endsOn"],"additionalProperties":false}},"plans":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"projectName":{"type":"string"},"status":{"type":"string"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"groups":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"submitted":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","projectName","status","deadline","groups","submitted"],"additionalProperties":false}}},"required":["activeProjects","runningPlans","recoveredContents","activeCreators","draftPlans","pendingCreators","awaitingSubmission","projects","plans"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/overview":{"get":{"operationId":"overview","summary":"工作区统计","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"creators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"activeCreators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"members":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdThisMonth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["creators","activeCreators","members","createdThisMonth"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/members":{"get":{"operationId":"members","summary":"工作区成员","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"groupId","in":"query","required":false,"schema":{"type":"string","maxLength":32}},{"name":"userId","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":32}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"nickname":{"type":"string"},"accountId":{"type":"string"},"role":{"type":"string","enum":["owner","admin","member"]},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"responsibleCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"role":{"type":"string","enum":["leader","member"]}},"required":["id","name","responsibleCount","role"],"additionalProperties":false}},"responsibleCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"joinedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"status":{"type":"string","enum":["active","suspended"]}},"required":["id","userId","nickname","accountId","role","groups","responsibleCount","joinedAt","status"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/members/{userId}":{"patch":{"operationId":"memberRole","summary":"设置成员角色","description":"工作区所有者；目标成员必须有效，受交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"role":{"type":"string","enum":["admin","member"]}},"required":["role"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"member":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"nickname":{"type":"string"},"accountId":{"type":"string"},"role":{"type":"string","enum":["owner","admin","member"]},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"responsibleCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"role":{"type":"string","enum":["leader","member"]}},"required":["id","name","responsibleCount","role"],"additionalProperties":false}},"responsibleCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"joinedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"status":{"type":"string","enum":["active","suspended"]}},"required":["id","userId","nickname","accountId","role","groups","responsibleCount","joinedAt","status"],"additionalProperties":false}},"required":["member"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"delete":{"operationId":"memberRemove","summary":"移除工作区成员","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clearResponsibilities":{"type":"boolean","const":true}},"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/leave":{"post":{"operationId":"organizationLeave","summary":"退出工作区","description":"工作区普通成员或管理员；所有者须先转让所有权，退出前须交接责任。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/transfer":{"post":{"operationId":"organizationTransfer","summary":"转让工作区","description":"工作区所有者；目标成员必须有效，受交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":1,"maxLength":32}},"required":["userId"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/invitations":{"get":{"operationId":"invitations","summary":"邀请列表","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"usedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"usedById":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","createdById","createdAt","expiresAt","revokedAt","usedAt","usedById"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"invitationCreate","summary":"创建成员邀请","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"invitation":{"type":"object","properties":{"id":{"type":"string"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"usedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"usedById":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","createdById","createdAt","expiresAt","revokedAt","usedAt","usedById"],"additionalProperties":false},"token":{"type":"string"}},"required":["invitation","token"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/invitations/{id}":{"delete":{"operationId":"invitationRevoke","summary":"撤销成员邀请","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/invitations/{token}":{"get":{"operationId":"invitation","summary":"查看成员邀请","description":"无需登录；仅返回公开状态或当前会话摘要。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organizationName":{"type":"string"},"status":{"type":"string","enum":["valid","revoked","used","expired","suspended"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["organizationName","status","expiresAt"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/invitations/{token}/accept":{"post":{"operationId":"invitationAccept","summary":"接受成员邀请","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organizationId":{"type":"string"}},"required":["organizationId"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/audit-logs":{"get":{"operationId":"audit","summary":"工作区操作日志","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"action","in":"query","required":false,"schema":{"type":"string","maxLength":80}},{"name":"actorId","in":"query","required":false,"schema":{"type":"string","maxLength":32}},{"name":"organizationId","in":"query","required":false,"schema":{"type":"string","maxLength":32}},{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"actorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"actorName":{"type":"string"},"organizationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"action":{"type":"string"},"targetId":{"anyOf":[{"type":"string"},{"type":"null"}]},"result":{"type":"string"},"details":{},"requestId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","actorId","actorName","organizationId","action","targetId","result","details","requestId","createdAt"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/point-entries":{"get":{"operationId":"points","summary":"工作区积分账单","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"delta":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amountFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","delta","balance","amountFen","description","createdAt"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/auth/profile/sync":{"post":{"operationId":"profileSync","summary":"同步统一账号资料","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["account"],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string"},"accountId":{"type":"string"},"nickname":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"isPlatformAdmin":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"phoneMasked":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","accountId","nickname","status","isPlatformAdmin","createdAt"],"additionalProperties":false}},"required":["user"],"additionalProperties":false},{"type":"object","properties":{"reauthorize":{"type":"boolean","const":true}},"required":["reauthorize"],"additionalProperties":false}]}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/auth/me":{"get":{"operationId":"me","summary":"当前登录用户","description":"无需登录；仅返回公开状态或当前会话摘要。额外业务校验以服务端为准。","tags":["account"],"parameters":[],"security":[{},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"user":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"accountId":{"type":"string"},"nickname":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"isPlatformAdmin":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"phoneMasked":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","accountId","nickname","status","isPlatformAdmin","createdAt"],"additionalProperties":false},{"type":"null"}]}},"required":["user"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/auth/logout":{"post":{"operationId":"logout","summary":"退出登录","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["account"],"parameters":[{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/creators":{"get":{"operationId":"creatorsList","summary":"素人档案列表","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}},{"name":"archived","in":"query","required":false,"schema":{"default":"false","type":"string","enum":["all","true","false"]}},{"name":"groupId","in":"query","required":false,"schema":{"type":"string","maxLength":32}},{"name":"responsibleUserId","in":"query","required":false,"schema":{"type":"string","maxLength":32}},{"name":"mine","in":"query","required":false,"schema":{"default":"false","type":"string","enum":["true","false"]}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"alipayQrCode":{"type":"string"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"notes":{"type":"string"},"archived":{"type":"boolean"},"groupId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"needsHandoff":{"type":"boolean"},"canEdit":{"type":"boolean"},"canAssign":{"type":"boolean"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["reviewStatus","loginUserId","id","organizationId","name","platform","account","notes","archived","groupId","responsibleUserId","groupName","responsibleName","needsHandoff","canEdit","canAssign","createdById","createdAt","updatedAt"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"creatorsCreate","summary":"创建素人档案","description":"工作区成员；普通成员必须选择自己参与的小组。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"platform":{"default":"","type":"string","maxLength":40},"account":{"default":"","type":"string","maxLength":120},"groupId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]},"responsibleUserId":{"anyOf":[{"type":"string","minLength":1,"maxLength":32},{"type":"null"}]},"idNumber":{"default":"","type":"string","maxLength":18},"phone":{"default":"","type":"string","maxLength":32},"wechat":{"default":"","type":"string","maxLength":120},"email":{"default":"","type":"string","maxLength":254},"alipayQrCode":{"default":"","type":"string","maxLength":700000},"rating":{"default":"","type":"string","enum":["","S","A","B","C","D"]},"notes":{"default":"","type":"string","maxLength":2000}},"required":["name"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"creator":{"type":"object","properties":{"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"alipayQrCode":{"type":"string"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"notes":{"type":"string"},"archived":{"type":"boolean"},"groupId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"needsHandoff":{"type":"boolean"},"canEdit":{"type":"boolean"},"canAssign":{"type":"boolean"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["reviewStatus","loginUserId","id","organizationId","name","platform","account","notes","archived","groupId","responsibleUserId","groupName","responsibleName","needsHandoff","canEdit","canAssign","createdById","createdAt","updatedAt"],"additionalProperties":false}},"required":["creator"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/creators/{id}":{"get":{"operationId":"creatorsGet","summary":"素人档案详情","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"creator":{"type":"object","properties":{"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"alipayQrCode":{"type":"string"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"notes":{"type":"string"},"archived":{"type":"boolean"},"groupId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"needsHandoff":{"type":"boolean"},"canEdit":{"type":"boolean"},"canAssign":{"type":"boolean"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["reviewStatus","loginUserId","id","organizationId","name","platform","account","notes","archived","groupId","responsibleUserId","groupName","responsibleName","needsHandoff","canEdit","canAssign","createdById","createdAt","updatedAt"],"additionalProperties":false}},"required":["creator"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"patch":{"operationId":"creatorsUpdate","summary":"修改素人档案","description":"所有者、管理员或所在小组成员；归档和恢复仅管理员。额外业务校验以服务端为准。","tags":["creators"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":false,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":false,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]},{"agentKey":[]}],"x-agent-supported":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"idNumber":{"type":"string","maxLength":18},"phone":{"type":"string","maxLength":32},"wechat":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":254},"alipayQrCode":{"type":"string","maxLength":700000},"rating":{"type":"string","enum":["","S","A","B","C","D"]},"platform":{"type":"string","maxLength":40},"account":{"type":"string","maxLength":120},"notes":{"type":"string","maxLength":2000},"archived":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"creator":{"type":"object","properties":{"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"alipayQrCode":{"type":"string"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"notes":{"type":"string"},"archived":{"type":"boolean"},"groupId":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string"},{"type":"null"}]},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"needsHandoff":{"type":"boolean"},"canEdit":{"type":"boolean"},"canAssign":{"type":"boolean"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["reviewStatus","loginUserId","id","organizationId","name","platform","account","notes","archived","groupId","responsibleUserId","groupName","responsibleName","needsHandoff","canEdit","canAssign","createdById","createdAt","updatedAt"],"additionalProperties":false}},"required":["creator"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/membership-plans":{"get":{"operationId":"plans","summary":"会员套餐","description":"当前有效登录用户。额外业务校验以服务端为准。","tags":["billing"],"parameters":[],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":50},"priceFen":{"type":"integer","minimum":0,"maximum":100000000},"yearPriceFen":{"type":"integer","minimum":0,"maximum":100000000},"memberLimit":{"type":"integer","minimum":1,"maximum":100000},"enabled":{"type":"boolean"},"id":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,19}$"}},"required":["name","priceFen","yearPriceFen","memberLimit","enabled","id"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/billing":{"get":{"operationId":"billing","summary":"工作区会员权益","description":"当前有效工作区成员；工作区及账号必须有效。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plan":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,19}$"},"planName":{"type":"string"},"memberLimit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"memberCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"nextPlan":{"anyOf":[{"type":"string","pattern":"^[a-z][a-z0-9-]{1,19}$"},{"type":"null"}]},"nextStartsAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"points":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["plan","planName","memberLimit","memberCount","expiresAt","nextPlan","nextStartsAt","points"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/membership-orders":{"get":{"operationId":"orders","summary":"会员订单列表","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},{"name":"pageSize","in":"query","required":false,"schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"q","in":"query","required":false,"schema":{"default":"","type":"string","maxLength":100}}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"plan":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,19}$"},"planName":{"type":"string"},"memberLimit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amountFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"period":{"type":"string","enum":["month","year"]},"source":{"type":"string","enum":["purchase","grant"]},"status":{"type":"string","enum":["pending","paid","cancelled","granted"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"paidAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"startsAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"organization":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":false}},"required":["id","organizationId","plan","planName","memberLimit","amountFen","period","source","status","createdAt","paidAt","startsAt","expiresAt"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total","page","pageSize"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}},"post":{"operationId":"orderCreate","summary":"创建会员订单","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"plan":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,19}$"},"period":{"default":"month","type":"string","enum":["month","year"]}},"required":["plan"],"additionalProperties":false}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"order":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"plan":{"type":"string","pattern":"^[a-z][a-z0-9-]{1,19}$"},"planName":{"type":"string"},"memberLimit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amountFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"period":{"type":"string","enum":["month","year"]},"source":{"type":"string","enum":["purchase","grant"]},"status":{"type":"string","enum":["pending","paid","cancelled","granted"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"paidAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"startsAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"organization":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"additionalProperties":false}},"required":["id","organizationId","plan","planName","memberLimit","amountFen","period","source","status","createdAt","paidAt","startsAt","expiresAt"],"additionalProperties":false}},"required":["order"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/membership-orders/{id}/cancel":{"post":{"operationId":"orderCancel","summary":"取消会员订单","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/membership/free":{"post":{"operationId":"membershipFree","summary":"切换免费版本","description":"工作区所有者或管理员；受业务状态及交接规则约束。额外业务校验以服务端为准。","tags":["billing"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Origin","in":"header","required":true,"schema":{"type":"string"},"description":"Cookie 鉴权必须匹配部署的 ALLOWED_ORIGINS；Bearer Key 不需要此头"},{"name":"X-Requested-With","in":"header","required":true,"schema":{"const":"suren360","type":"string"},"description":"仅 Cookie 鉴权要求；Bearer Key 不需要此头"}],"security":[{"session":[]}],"x-agent-supported":false,"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}}},"components":{"securitySchemes":{"agentKey":{"type":"http","scheme":"bearer","bearerFormat":"ltak_…","description":"在统一账号中心创建并授权本应用的 API Key；勿与 Cookie 混用。"},"session":{"type":"apiKey","in":"cookie","name":"suren360_session","description":"通过 /api/auth/oidc/start 在浏览器完成统一登录。不是 Agent API Key。"}}}}