---
title: "立即发布"
method: POST
path: "/api/v2/channels/publish/tasks/{taskId}/publish-now"
tags: ["渠道管理/内容发布"]
---

# 立即发布

`POST /api/v2/channels/publish/tasks/{taskId}/publish-now`

接口说明：将定时任务调整为立即发布

## Path parameters

- `taskId` string, required

## Response `200`

请求已被服务处理。业务是否成功以响应体 code === 0 为准。

- object
  - `data` ChannelPublishTaskOperationVo
    - `taskId` string, required — 发布任务 ID
  - `code` integer, required — 业务状态码。0 表示成功，非 0 表示业务错误。
  - `message` string, required — 响应消息。
  - `requestId` string — 请求 ID。
  - `timestamp` integer — 错误响应时间戳，Unix 毫秒。

---

[API](https://skmtc.net/aitoearn/apis/aitoearn-api.md) · [All operations](https://skmtc.net/aitoearn/apis/aitoearn-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aitoearn/aitoearn-api/revisions/19d860d9260d/schema)
