# 灵途拍剪 API 公开文档 /docs;OpenAPI /docs/openapi.json。 支持浏览器 Cookie 及账号中心签发的 API Key(Authorization: Bearer ltak_…)。中心创建并勾选本应用,首次在产品网页登录后用 issuer/sub 映射本地用户。每次实时校验,不缓存;撤销与过期立即影响后续请求。 浏览器 /api/auth/oidc/start 发起登录。先 GET /api/auth/me,再 GET /api/orgs 选择用户授权工作区。 Cookie 写请求须带 Origin(部署 ALLOWED_ORIGINS 内)与 X-Requested-With: suren360;Bearer Key 不需要 CSRF 头,禁止 Cookie 与 Key 混用。有请求体时使用 application/json。成功返回 {data:业务对象}。 业务 ID 必须来自真实查询,工作区之间不得混用。写入不盲目重试;发布计划、停止计划和付费采集应确认用户意图。 错误结构 {error:{code,message,details?},requestId},详见 /docs/errors。 ## 当前用户 (me) GET /api/auth/me API Key:支持 权限:返回当前用户。未登录且未携带 API Key 时返回 user: null 文档:/docs/me 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 我的工作区 (organizations) GET /api/orgs API Key:支持 权限:当前有效登录用户 文档:/docs/organizations 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 工作区详情 (organization) GET /api/orgs/:orgId API Key:支持 权限:当前有效工作区成员 文档:/docs/organization 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 工作台概览 (workspaceDashboard) GET /api/orgs/:orgId/dashboard API Key:支持 权限:当前有效工作区成员 文档:/docs/workspaceDashboard 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"period":{"default":"month","type":"string","enum":["month","7d","30d","custom"]},"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])))$"},"responsibleUserId":{"type":"string","minLength":1,"maxLength":32},"platform":{"type":"string","minLength":1,"maxLength":40},"creatorType":{"type":"string","enum":["employee","contracted","amateur"]},"issueKind":{"type":"string","enum":["overdue","review","rework","fee"]}}} 响应 JSON Schema: {"$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} ## 对接人员列表 (creatorsList) GET /api/orgs/:orgId/creators API Key:支持 权限:当前有效工作区成员 文档:/docs/creatorsList 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100},"q":{"default":"","type":"string","maxLength":100},"creatorType":{"type":"string","enum":["employee","contracted","amateur"]},"sortBy":{"default":"createdAt","type":"string","enum":["createdAt","incomeFen","balanceFen"]},"sortDirection":{"default":"desc","type":"string","enum":["asc","desc"]},"reviewStatus":{"type":"string","enum":["pending","approved"]},"suspended":{"type":"string","enum":["true","false"]},"groupId":{"type":"string","maxLength":32},"responsibleUserId":{"type":"string","maxLength":32},"mine":{"default":"false","type":"string","enum":["true","false"]}}} 响应 JSON Schema: {"$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} ## 对接人员详情 (creatorsGet) GET /api/orgs/:orgId/creators/:id API Key:支持 权限:当前有效工作区成员 文档:/docs/creatorsGet 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 添加对接人员 (creatorsCreate) POST /api/orgs/:orgId/creators API Key:支持 权限:普通成员须选择自己参与的小组,可从小组列表获取 ID 文档:/docs/creatorsCreate 请求 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} 响应 JSON Schema: {"$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} ## 修改对接人员资料 (creatorsUpdate) PATCH /api/orgs/:orgId/creators/:id API Key:支持 权限:工作区所有者、管理员或所在小组成员;归档和恢复仅限所有者和管理员 文档:/docs/creatorsUpdate 请求 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} 响应 JSON Schema: {"$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} ## 列出对接人员所属小组 (groups) GET /api/orgs/:orgId/groups API Key:支持 权限:当前有效工作区成员 文档:/docs/groups 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100},"q":{"default":"","type":"string","maxLength":100},"mine":{"default":"false","type":"string","enum":["true","false"]}}} 响应 JSON Schema: {"$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} ## 拍剪项目列表 (projects) GET /api/orgs/:orgId/projects API Key:支持 权限:当前有效工作区成员 文档:/docs/projects 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100},"q":{"default":"","type":"string","maxLength":100},"status":{"anyOf":[{"type":"string","enum":["planning","active","completed","archived"]},{"type":"string","const":"unarchived"}]},"platform":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台"]}}} 响应 JSON Schema: {"$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} ## 拍剪项目详情 (projectGet) GET /api/orgs/:orgId/projects/:id API Key:支持 权限:当前有效工作区成员 文档:/docs/projectGet 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 创建拍剪项目 (projectCreate) POST /api/orgs/:orgId/projects API Key:支持 权限:如指定负责人,须为当前工作区有效成员。至少填写一个发布平台 文档:/docs/projectCreate 请求 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} 响应 JSON Schema: {"$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} ## 修改拍剪项目 (projectUpdate) PATCH /api/orgs/:orgId/projects/:id API Key:支持 权限:工作区所有者、管理员、项目创建人或当前负责人。至少填写一个发布平台 文档:/docs/projectUpdate 请求 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} 响应 JSON Schema: {"$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} ## 列出可选项目负责人 (projectOwners) GET /api/orgs/:orgId/project-owners API Key:支持 权限:当前有效工作区成员 文档:/docs/projectOwners 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 回收作品列表 (recoveredContents) GET /api/orgs/:orgId/recovered-contents API Key:支持 权限:当前有效工作区成员 文档:/docs/recoveredContents 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100},"q":{"default":"","type":"string","maxLength":100},"status":{"type":"string","enum":["active","deleted"]},"workStatus":{"type":"string","enum":["normal","abnormal","pending","manual"]},"reviewStatus":{"type":"string","enum":["pending","approved","rejected"]},"sortBy":{"default":"collectedAt","type":"string","enum":["collectedAt","publishedAt","playCount","diggCount","collectCount","commentCount","shareCount"]},"sortDirection":{"default":"desc","type":"string","enum":["asc","desc"]},"publishedFrom":{"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])))$"},"publishedTo":{"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])))$"},"platform":{"type":"string","enum":["小红书","抖音","微信视频号","微信公众号","微信贴图","B 站","TikTok","Instagram","多平台","未知"]},"projectId":{"type":"string","minLength":1,"maxLength":32}}} 响应 JSON Schema: {"$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} ## 回收作品详情 (recoveredContentGet) GET /api/orgs/:orgId/recovered-contents/:id API Key:不支持,仅浏览器会话 权限:当前有效工作区成员 文档:/docs/recoveredContentGet 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 批量登记作品链接 (recoveredContentBatch) POST /api/orgs/:orgId/recovered-contents/batch API Key:支持 权限:将链接登记到当前工作区的指定项目 文档:/docs/recoveredContentBatch 请求 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} 响应 JSON Schema: {"$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} ## 采集作品并保存到项目 (recoveredContentCollect) POST /api/orgs/:orgId/recovered-contents/collect API Key:不支持,仅浏览器会话 权限:支持小红书和抖音作品链接,可能消耗工作区积分。若返回 queued: true,可查询作品详情查看后续结果 文档:/docs/recoveredContentCollect 请求 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} 响应 JSON Schema: {"$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} ## 审核回收作品 (recoveredContentReview) PATCH /api/orgs/:orgId/recovered-contents/:id/review API Key:不支持,仅浏览器会话 权限:工作区成员可审核当前工作区作品;审核后的作品受状态限制 文档:/docs/recoveredContentReview 请求 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} 响应 JSON Schema: {"$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} ## 发布计划列表 (publishingList) GET /api/orgs/:orgId/publishing-plans API Key:支持 权限:当前有效工作区成员 文档:/docs/publishingList 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100},"q":{"default":"","type":"string","maxLength":100},"projectId":{"type":"string","maxLength":32},"status":{"type":"string","enum":["draft","published","stopped"]}}} 响应 JSON Schema: {"$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} ## 发布计划详情 (publishingGet) GET /api/orgs/:orgId/publishing-plans/:id API Key:支持 权限:当前有效工作区成员 文档:/docs/publishingGet 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 创建发布计划 (publishingCreate) POST /api/orgs/:orgId/publishing-plans API Key:支持 权限:关联项目须属于当前工作区,视频与图文组数之和须在 1 到 100 之间 文档:/docs/publishingCreate 请求 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} 响应 JSON Schema: {"$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} ## 修改发布计划 (publishingUpdate) PATCH /api/orgs/:orgId/publishing-plans/:id API Key:支持 权限:工作区所有者、管理员或计划创建人;正文和素材仅在草稿状态可修改 文档:/docs/publishingUpdate 请求 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} 响应 JSON Schema: {"$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} ## 保存内容组正文 (publishingDocument) PATCH /api/orgs/:orgId/publishing-groups/:id/document API Key:支持 权限:工作区所有者、管理员或计划创建人;正文和素材仅在草稿状态可修改 文档:/docs/publishingDocument 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":1048576}},"required":["text"],"additionalProperties":false} 响应 JSON Schema: {"$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} ## 获取素材上传签名 (publishingUpload) POST /api/orgs/:orgId/publishing-groups/:id/uploads API Key:支持 权限:工作区所有者、管理员或计划创建人可上传草稿素材。取得 uploadUrl 和 fields 后,以表单直传文件,再调用确认素材上传 文档:/docs/publishingUpload 请求 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} 响应 JSON Schema: {"$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} ## 确认素材上传 (publishingComplete) POST /api/orgs/:orgId/publishing-files/:id/complete API Key:支持 权限:工作区所有者、管理员或计划创建人;正文和素材仅在草稿状态可修改 文档:/docs/publishingComplete 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 发布计划并生成分享链接 (publishingPublish) POST /api/orgs/:orgId/publishing-plans/:id/publish API Key:支持 权限:工作区所有者、管理员或计划创建人可发布已准备好的计划。返回 shareToken,可拼成 /share/plan/:token 供发布者领取 文档:/docs/publishingPublish 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$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} ## 停止发布计划 (publishingStop) POST /api/orgs/:orgId/publishing-plans/:id/stop API Key:支持 权限:工作区所有者、管理员或计划创建人;正文和素材仅在草稿状态可修改 文档:/docs/publishingStop 请求 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false} 响应 JSON Schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}