Skip to content

Publish or Review

  • Endpoint Path: /api/fresns/v1/editor/{type}/draft/{did}
  • Method: POST
  • Request: Rest

Headers Optional Parameter

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

Path Variables

KeyTypeRequiredDescription
typeStringrequiredpost or comment
didStringrequiredDraft ID

Return

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

Released under the Apache-2.0 License