Data Plane Tokens
Get a token to upload files to the data plane API.
Requires permission matching: file:write:default.<file-name>, for each name included in the request.
post/files/upload-token
Request
- Base URLhttps://replace-with-account.api.decodable.co/v1alpha2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
token-validity-secondsnumber
Validity of the token in seconds. The upload to the data plane must be completed by the time the token expires. Defaults to 300 seconds.
Request body
Response
A request and token issued by the control plane API for use with the data plane API.
Changes
No recorded changes to this operation across all 1 revision of this API.