Commit uploaded file as document version
POST
/documents/drives/{domain}/{id}/{folderId}/upload
Step 3 of the three-step upload flow: after PUTting the file to the
presigned URL, commit the upload into a new document version in the target
folder. Metadata supplied here is attached to the resulting version.
Authorizations
IBinderOAuth2
OAuth 2.0 Client Credentials flow. Obtain a token from the iBinder Identity
Provider, then send it as Authorization: Bearer <token> on every request.
The token endpoint expects grant_type=client_credentials, your client_id,
your client_secret, and scope=ibinder_public.
clientCredentials Flow
Token URL
"https://signin.ibinder.com/connect/token"Scopes:
"ibinder_public"
Parameters
Header Parameters
x-ibinder-tenantid*
Type
Requiredstring
Path Parameters
domain*
Type
Requiredstring
id*
Type
Requiredstring
folderId*
Type
Requiredstring
Request Body
application/json
JSON "fileName": "string", "version": "string", "uploadId": "string", "additionalMetadata": [ { "metadataElementId": "string", "value": "string" } ]
{
}
Responses
The request has succeeded.
application/json
JSON "id": "string", "documentId": "string", "version": "string", "status": "string", "modifiedAt": "string", "description": "string", "metadata": [ { "metadataElementId": "string", "valueId": "string" } ], "downloadUrl": "string", "thumbnailUrl": "string"
{
}

