Skip to content

Publish or Review

  • Endpoint Path: /api/v2/editor/{type}/{draftId}
  • Method: POST
  • Request: Rest

Headers Optional Parameter

Parameter NamePublic Mode (Required)Private Mode (Required)
X-Fresns-Aidrequiredrequired
X-Fresns-Aid-Tokenrequiredrequired
X-Fresns-Uidrequiredrequired
X-Fresns-Uid-Tokenrequiredrequired

Rest Params

Parameter NameTypeRequiredDescription
typeStringrequiredpost or comment
draftIdNumberrequiredDraft ID

Return

json
{
    "code": 0,
    "message": "ok",
    "data": {
        "fsid": "String / Official content's pid or cid"
    }
}

Released under the Apache-2.0 License