{"openapi":"3.1.0","info":{"title":"灵途拍剪 API","version":"0.1.0","description":"面向用户集成的工作区、对接人员、拍剪项目、作品回收和发布计划 API。每个接口标明可用的认证方式，调用受当前用户的工作区角色和业务权限约束。"},"servers":[{"url":"/"}],"paths":{"/api/auth/me":{"get":{"operationId":"me","summary":"当前用户","description":"返回当前用户。未登录且未携带 API Key 时返回 user: null。额外业务校验以服务端为准。","tags":["workspace"],"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/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"}}}},"/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"}}}},"/api/orgs/{orgId}/dashboard":{"get":{"operationId":"workspaceDashboard","summary":"工作台概览","description":"当前有效工作区成员。额外业务校验以服务端为准。","tags":["workspace"],"parameters":[{"name":"orgId","in":"path","required":true,"schema":{"type":"string"}},{"name":"period","in":"query","required":false,"schema":{"default":"month","type":"string","enum":["month","7d","30d","custom"]}},{"name":"from","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":"to","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":"responsibleUserId","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":32}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":40}},{"name":"creatorType","in":"query","required":false,"schema":{"type":"string","enum":["employee","contracted","amateur"]}},{"name":"issueKind","in":"query","required":false,"schema":{"type":"string","enum":["overdue","review","rework","fee"]}}],"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":{"trend":{"type":"object","properties":{"interactionsPerYuan":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"bucketDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"undated":{"type":"integer","minimum":0,"maximum":9007199254740991},"items":{"type":"array","items":{"type":"object","properties":{"date":{"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])))$"},"to":{"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])))$"},"published":{"type":"integer","minimum":0,"maximum":9007199254740991},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]},"comments":{"anyOf":[{"type":"number"},{"type":"null"}]},"shares":{"anyOf":[{"type":"number"},{"type":"null"}]},"collects":{"anyOf":[{"type":"number"},{"type":"null"}]},"amountFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"interactionsPerYuan":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["date","to","published","likes","comments","shares","collects","amountFen","interactionsPerYuan"],"additionalProperties":false}}},"required":["interactionsPerYuan","bucketDays","undated","items"],"additionalProperties":false},"filterOptions":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"label":{"type":"string"}},"required":["userId","label"],"additionalProperties":false}},"platforms":{"type":"array","items":{"type":"string"}}},"required":["members","platforms"],"additionalProperties":false},"period":{"type":"object","properties":{"from":{"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])))$"},"to":{"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])))$"},"recovered":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"approved":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["from","to","recovered","approved"],"additionalProperties":false},"finance":{"type":"object","properties":{"confirmedFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pendingFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"overpaidFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"overBudgetProjects":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["confirmedFen","paidFen","pendingFen","overpaidFen","overBudgetProjects"],"additionalProperties":false},"management":{"type":"object","properties":{"projects":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","minimum":0,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":0,"maximum":9007199254740991},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"name":{"type":"string"},"status":{"type":"string"},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"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])))$"},"daysRemaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"plannedTasks":{"type":"integer","minimum":0,"maximum":9007199254740991},"completedTasks":{"type":"integer","minimum":0,"maximum":9007199254740991},"recoveredCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"approvedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"pendingReviewCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"reworkCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"pendingFeeCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"overdueCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmedFeeFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"rewardFeeFen":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"workFeeFen":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"budgetFen":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","name","status","responsibleName","endsOn","daysRemaining","plannedTasks","completedTasks","recoveredCount","approvedCount","pendingReviewCount","reworkCount","pendingFeeCount","overdueCount","confirmedFeeFen","rewardFeeFen","workFeeFen","budgetFen"],"additionalProperties":false}}},"required":["total","page","pageSize","items"],"additionalProperties":false},"issues":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","minimum":0,"maximum":9007199254740991},"pageSize":{"type":"integer","minimum":0,"maximum":9007199254740991},"counts":{"type":"object","properties":{"overdue":{"type":"integer","minimum":0,"maximum":9007199254740991},"review":{"type":"integer","minimum":0,"maximum":9007199254740991},"rework":{"type":"integer","minimum":0,"maximum":9007199254740991},"fee":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["overdue","review","rework","fee"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":32},"kind":{"type":"string","enum":["overdue","review","rework","fee"]},"projectId":{"type":"string","minLength":1,"maxLength":32},"projectName":{"type":"string"},"responsibleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":{"type":"string"},"creatorName":{"anyOf":[{"type":"string"},{"type":"null"}]},"occurredAt":{"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))$"},"targetId":{"type":"string","minLength":1,"maxLength":32}},"required":["id","kind","projectId","projectName","responsibleName","title","creatorName","occurredAt","targetId"],"additionalProperties":false}}},"required":["total","page","pageSize","counts","items"],"additionalProperties":false}},"required":["projects","issues"],"additionalProperties":false},"dueSoon":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"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},"creatorGrades":{"type":"object","properties":{"B":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"A":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["B","A"],"additionalProperties":false},"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":["trend","filterOptions","period","finance","management","dueSoon","activeProjects","runningPlans","recoveredContents","activeCreators","creatorGrades","draftPlans","pendingCreators","awaitingSubmission","projects","plans"],"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":"creatorType","in":"query","required":false,"schema":{"type":"string","enum":["employee","contracted","amateur"]}},{"name":"sortBy","in":"query","required":false,"schema":{"default":"createdAt","type":"string","enum":["createdAt","incomeFen","balanceFen"]}},{"name":"sortDirection","in":"query","required":false,"schema":{"default":"desc","type":"string","enum":["asc","desc"]}},{"name":"reviewStatus","in":"query","required":false,"schema":{"type":"string","enum":["pending","approved"]}},{"name":"suspended","in":"query","required":false,"schema":{"type":"string","enum":["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":{"creatorType":{"type":"string","enum":["employee","contracted","amateur"]},"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"currentPersonalName":{"anyOf":[{"type":"string"},{"type":"null"}]},"cooperationSummary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false},"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"hasAlipayQrCode":{"type":"boolean"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"suspended":{"type":"boolean"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"accountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"notes":{"type":"string"},"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":["creatorType","cooperationSummary","hasAlipayQrCode","reviewStatus","suspended","loginUserId","id","organizationId","name","platform","account","accountCount","notes","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":"普通成员须选择自己参与的小组，可从小组列表获取 ID。额外业务校验以服务端为准。","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},"creatorType":{"default":"amateur","type":"string","enum":["employee","contracted","amateur"]},"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},"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":{"creatorType":{"type":"string","enum":["employee","contracted","amateur"]},"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"currentPersonalName":{"anyOf":[{"type":"string"},{"type":"null"}]},"cooperationSummary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false},"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"alipayQrCode":{"type":"string"},"hasAlipayQrCode":{"type":"boolean"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"suspended":{"type":"boolean"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"accountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"notes":{"type":"string"},"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":["creatorType","reviewStatus","suspended","loginUserId","id","organizationId","name","platform","account","accountCount","notes","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":{"creatorType":{"type":"string","enum":["employee","contracted","amateur"]},"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"currentPersonalName":{"anyOf":[{"type":"string"},{"type":"null"}]},"cooperationSummary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false},"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"alipayQrCode":{"type":"string"},"hasAlipayQrCode":{"type":"boolean"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"suspended":{"type":"boolean"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"accountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"notes":{"type":"string"},"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":["creatorType","reviewStatus","suspended","loginUserId","id","organizationId","name","platform","account","accountCount","notes","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},"creatorType":{"type":"string","enum":["employee","contracted","amateur"]},"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},"platform":{"type":"string","maxLength":40},"account":{"type":"string","maxLength":120},"notes":{"type":"string","maxLength":2000}},"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":{"creatorType":{"type":"string","enum":["employee","contracted","amateur"]},"avatarUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"currentPersonalName":{"anyOf":[{"type":"string"},{"type":"null"}]},"cooperationSummary":{"type":"object","properties":{"incomeFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paidFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"balanceFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["incomeFen","paidFen","balanceFen"],"additionalProperties":false},"idNumber":{"type":"string"},"phone":{"type":"string"},"wechat":{"type":"string"},"email":{"type":"string"},"alipayQrCode":{"type":"string"},"hasAlipayQrCode":{"type":"boolean"},"rating":{"type":"string"},"reviewStatus":{"type":"string"},"suspended":{"type":"boolean"},"loginUserId":{"anyOf":[{"type":"string"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"account":{"type":"string"},"accountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"notes":{"type":"string"},"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":["creatorType","reviewStatus","suspended","loginUserId","id","organizationId","name","platform","account","accountCount","notes","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}/groups":{"get":{"operationId":"groups","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":"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"}}}},"/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":{"anyOf":[{"type":"string","enum":["planning","active","completed","archived"]},{"type":"string","const":"unarchived"}]}},{"name":"platform","in":"query","required":false,"schema":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}}],"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"}]},"responsibleGroupNames":{"type":"array","items":{"type":"string"}},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"platforms":{"type":"array","items":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}},"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","responsibleGroupNames","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":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]},"platforms":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}},"status":{"default":"planning","type":"string","enum":["planning","active","completed","archived"]},"notes":{"default":"","type":"string","maxLength":5000}},"required":["name","responsibleUserId","startsOn","endsOn","budgetFen"],"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"}]},"responsibleGroupNames":{"type":"array","items":{"type":"string"}},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"platforms":{"type":"array","items":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}},"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","responsibleGroupNames","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"}]},"responsibleGroupNames":{"type":"array","items":{"type":"string"}},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"platforms":{"type":"array","items":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}},"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","responsibleGroupNames","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":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]},"platforms":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}},"status":{"default":"planning","type":"string","enum":["planning","active","completed","archived"]},"notes":{"default":"","type":"string","maxLength":5000}},"required":["name","responsibleUserId","startsOn","endsOn","budgetFen"],"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"}]},"responsibleGroupNames":{"type":"array","items":{"type":"string"}},"startsOn":{"type":"string"},"endsOn":{"type":"string"},"budgetFen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform":{"type":"string"},"platforms":{"type":"array","items":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}},"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","responsibleGroupNames","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}/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":{"get":{"operationId":"recoveredContents","summary":"回收作品列表","description":"当前有效工作区成员。额外业务校验以服务端为准。","tags":["recovery"],"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":"workStatus","in":"query","required":false,"schema":{"type":"string","enum":["normal","abnormal","pending","manual"]}},{"name":"reviewStatus","in":"query","required":false,"schema":{"type":"string","enum":["pending","approved","rejected"]}},{"name":"sortBy","in":"query","required":false,"schema":{"default":"collectedAt","type":"string","enum":["collectedAt","publishedAt","playCount","diggCount","collectCount","commentCount","shareCount"]}},{"name":"sortDirection","in":"query","required":false,"schema":{"default":"desc","type":"string","enum":["asc","desc"]}},{"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":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台","未知"]}},{"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":{"publishingPlanId":{"anyOf":[{"type":"string"},{"type":"null"}]},"publishingGroupId":{"anyOf":[{"type":"string"},{"type":"null"}]},"refreshError":{"anyOf":[{"type":"string"},{"type":"null"}]},"collectionState":{"type":"string","enum":["idle","waiting","reviewing","manual","failed"]},"collectionNextAt":{"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"}]},"reviewStatus":{"type":"string","enum":["pending","approved","rejected"]},"reviewReason":{"type":"string"},"reviewedAt":{"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"}]},"reviewedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"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":{"materialType":{"anyOf":[{"type":"string"},{"type":"null"}]},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","format":"uri"},{"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"}]}},"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","maxLength":0},"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":["reviewStatus","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}/recovered-contents/{id}":{"get":{"operationId":"recoveredContentGet","summary":"回收作品详情","description":"当前有效工作区成员。额外业务校验以服务端为准。","tags":["recovery"],"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":{"content":{"type":"object","properties":{"publishingPlanId":{"anyOf":[{"type":"string"},{"type":"null"}]},"publishingGroupId":{"anyOf":[{"type":"string"},{"type":"null"}]},"refreshError":{"anyOf":[{"type":"string"},{"type":"null"}]},"collectionState":{"type":"string","enum":["idle","waiting","reviewing","manual","failed"]},"collectionNextAt":{"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"}]},"reviewStatus":{"type":"string","enum":["pending","approved","rejected"]},"reviewReason":{"type":"string"},"reviewedAt":{"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"}]},"reviewedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"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"}]},"secUid":{"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":["reviewStatus","deletedAt","id","projectId","projectName","title","creatorName","platform","contentUrl","body","publishedAt","collectedAt"],"additionalProperties":false}},"required":["content"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents/batch":{"post":{"operationId":"recoveredContentBatch","summary":"批量登记作品链接","description":"将链接登记到当前工作区的指定项目。额外业务校验以服务端为准。","tags":["recovery"],"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}/recovered-contents/collect":{"post":{"operationId":"recoveredContentCollect","summary":"采集作品并保存到项目","description":"支持小红书和抖音作品链接，可能消耗工作区积分。若返回 queued: true，可查询作品详情查看后续结果。额外业务校验以服务端为准。","tags":["recovery"],"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":{"videoUrl":{"type":"string","maxLength":2000,"format":"uri"},"projectId":{"type":"string","minLength":1,"maxLength":32},"skipRecentlyUpdated":{"type":"boolean"}},"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":{"publishingPlanId":{"anyOf":[{"type":"string"},{"type":"null"}]},"publishingGroupId":{"anyOf":[{"type":"string"},{"type":"null"}]},"refreshError":{"anyOf":[{"type":"string"},{"type":"null"}]},"collectionState":{"type":"string","enum":["idle","waiting","reviewing","manual","failed"]},"collectionNextAt":{"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"}]},"reviewStatus":{"type":"string","enum":["pending","approved","rejected"]},"reviewReason":{"type":"string"},"reviewedAt":{"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"}]},"reviewedByName":{"anyOf":[{"type":"string"},{"type":"null"}]},"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"}]},"secUid":{"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":["reviewStatus","deletedAt","id","projectId","projectName","title","creatorName","platform","contentUrl","body","publishedAt","collectedAt"],"additionalProperties":false},"updated":{"type":"boolean"},"queued":{"type":"boolean"},"skippedRecentlyUpdated":{"type":"boolean","const":true}},"required":["content","updated"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/recovered-contents/{id}/review":{"patch":{"operationId":"recoveredContentReview","summary":"审核回收作品","description":"工作区成员可审核当前工作区作品；审核后的作品受状态限制。额外业务校验以服务端为准。","tags":["recovery"],"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":{"reviewStatus":{"type":"string","enum":["pending","approved","rejected"]},"reviewReason":{"type":"string","maxLength":1000}},"required":["reviewStatus"],"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},"reviewStatus":{"type":"string","enum":["pending","approved","rejected"]},"reviewReason":{"type":"string"},"reviewedAt":{"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"}]},"reviewedByName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["updated","reviewStatus","reviewReason","reviewedAt","reviewedByName"],"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":{"platforms":{"default":[],"type":"array","items":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]}},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"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"},"progress":{"default":[],"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]},"status":{"type":"string","enum":["missing","pending","approved","rejected"]}},"required":["platform","status"],"additionalProperties":false}},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"contentMode":{"default":"media","type":"string","enum":["media","text_only"]},"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"},"collectionState":{"type":"string"},"reviewStatus":{"type":"string"},"reviewReason":{"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","progress","id","kind","position","documentName","documentText","contentMode","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["platforms","shareToken","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":"关联项目须属于当前工作区，视频与图文组数之和须在 1 到 100 之间。额外业务校验以服务端为准。","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},"platforms":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]}},"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","platforms","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":{"platforms":{"default":[],"type":"array","items":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]}},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"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"},"progress":{"default":[],"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]},"status":{"type":"string","enum":["missing","pending","approved","rejected"]}},"required":["platform","status"],"additionalProperties":false}},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"contentMode":{"default":"media","type":"string","enum":["media","text_only"]},"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"},"collectionState":{"type":"string"},"reviewStatus":{"type":"string"},"reviewReason":{"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","progress","id","kind","position","documentName","documentText","contentMode","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["platforms","shareToken","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":{"platforms":{"default":[],"type":"array","items":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]}},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"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"},"progress":{"default":[],"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]},"status":{"type":"string","enum":["missing","pending","approved","rejected"]}},"required":["platform","status"],"additionalProperties":false}},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"contentMode":{"default":"media","type":"string","enum":["media","text_only"]},"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"},"collectionState":{"type":"string"},"reviewStatus":{"type":"string"},"reviewReason":{"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","progress","id","kind","position","documentName","documentText","contentMode","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["platforms","shareToken","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"}}},"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},"platforms":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]}},"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":{"platforms":{"default":[],"type":"array","items":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]}},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"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"},"progress":{"default":[],"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]},"status":{"type":"string","enum":["missing","pending","approved","rejected"]}},"required":["platform","status"],"additionalProperties":false}},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"contentMode":{"default":"media","type":"string","enum":["media","text_only"]},"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"},"collectionState":{"type":"string"},"reviewStatus":{"type":"string"},"reviewReason":{"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","progress","id","kind","position","documentName","documentText","contentMode","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["platforms","shareToken","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}/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"},"progress":{"default":[],"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]},"status":{"type":"string","enum":["missing","pending","approved","rejected"]}},"required":["platform","status"],"additionalProperties":false}},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"contentMode":{"default":"media","type":"string","enum":["media","text_only"]},"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"},"collectionState":{"type":"string"},"reviewStatus":{"type":"string"},"reviewReason":{"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","progress","id","kind","position","documentName","documentText","contentMode","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":"工作区所有者、管理员或计划创建人可上传草稿素材。取得 uploadUrl 和 fields 后，以表单直传文件，再调用确认素材上传。额外业务校验以服务端为准。","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"},"progress":{"default":[],"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]},"status":{"type":"string","enum":["missing","pending","approved","rejected"]}},"required":["platform","status"],"additionalProperties":false}},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"contentMode":{"default":"media","type":"string","enum":["media","text_only"]},"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"},"collectionState":{"type":"string"},"reviewStatus":{"type":"string"},"reviewReason":{"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","progress","id","kind","position","documentName","documentText","contentMode","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}},"required":["group"],"additionalProperties":false}}}}}},"default":{"description":"错误返回 { error: { code, message, details? }, requestId }；见 /docs/errors"}}}},"/api/orgs/{orgId}/publishing-plans/{id}/publish":{"post":{"operationId":"publishingPublish","summary":"发布计划并生成分享链接","description":"工作区所有者、管理员或计划创建人可发布已准备好的计划。返回 shareToken，可拼成 /share/plan/:token 供发布者领取。额外业务校验以服务端为准。","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":{"platforms":{"default":[],"type":"array","items":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]}},"shareToken":{"anyOf":[{"type":"string"},{"type":"null"}]},"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"},"progress":{"default":[],"type":"array","items":{"type":"object","properties":{"platform":{"type":"string","enum":["抖音","小红书","微信视频号","微信贴图","B 站","TikTok","Instagram"]},"status":{"type":"string","enum":["missing","pending","approved","rejected"]}},"required":["platform","status"],"additionalProperties":false}},"id":{"type":"string"},"kind":{"type":"string","enum":["video","image"]},"position":{"type":"number"},"documentName":{"type":"string"},"documentText":{"type":"string"},"contentMode":{"default":"media","type":"string","enum":["media","text_only"]},"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"},"collectionState":{"type":"string"},"reviewStatus":{"type":"string"},"reviewReason":{"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","progress","id","kind","position","documentName","documentText","contentMode","shareToken","claimedAt","claimantName","files","submissions"],"additionalProperties":false}}},"required":["platforms","shareToken","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"}}}}},"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。"}}}}