Skip to content

File Update Info

  • Endpoint Path: /api/fresns/common/v1/file/{fid}/info
  • Method: PATCH
  • Request: application/json

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
fidStringrequiredFile FID

Body Params

KeyTypeRequiredDescription
uploadedBooleanoptionalS3 uploaded successfully
warningStringoptionalFile Warning none, nudity, violence, sensitive

Request Description

  • Null to not modify.

Return

json
{
    "code": 0,
    "message": "ok",
    "data": {
        // Common Data Structure -> File Info
    }
}

Released under the Apache-2.0 License