Get upload properties for a file a client wish to upload on TextMaster. Theses properties can then be used to make the HTTP request on the storage provider with the file sent as HTTP form data.
OAuth: This endpoint requires the default public scope.
Get Upload Properties
post
Authorizations
OAuth2authorizationCodeRequired
OAuth2 Bearer token authentication
Authorization URL: Token URL: Refresh URL:
Body
file_namestringRequired
File name for the uploaded file
hashed_payloadstringRequired
SHA256 digest of the file content
Responses
200
File Uploaded
application/json
urlstringRequired
post
/v1/clients/upload_properties
200
File Uploaded
Code samples
This sample Ruby code requires the excon gem to be installed.