public

Finishes an upload from createFileUpload, once its script has run: checks the file's content against its type and makes it available. Until then, functions that take a file id reject it. Returns the file, whose _id is the fileId from createFileUpload. Confirming again returns the same file.

post/api/rpc/confirmFileUpload

Request

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

Request body

tenantunknown required
fileIdstring uuid required

The fileId from createFileUpload, once the file is uploaded.

Response

Successful response

_idstring required
namestring required
sizenumber required
mimeTypestring required

Changes

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