public

Upload base64-encoded file content into 21RISK file storage and return the internal asset link.

post/api/rpc/uploadAssetFromBase64

Request

  • Base URL: https://21risk.com
  • URL: https://21risk.com/api/rpc/uploadAssetFromBase64
  • Auth: OAuth 2 (client credentials, token URL /api/v1/oauth/token)

Request body

tenantunknown required
base64string required

Base64-encoded file content. The data URI prefix is optional and will be stripped if provided.

fileNamestring required

File name including extension, for example page-1.png or extracted.jpg.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.