get_upload_token
Generate file upload tokens for file/image fields in JianDaoYun forms, enabling secure and traceable uploads by specifying app ID, form ID, and transaction ID.
Instructions
Get file upload tokens for file/image fields
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appId | Yes | The JianDaoYun application ID | |
appKey | No | The JianDaoYun application key (API key) (optional, will use JIANDAOYUN_APP_KEY from environment if not provided) | |
formId | Yes | The form ID (can be form ID or app ID) | |
transactionId | Yes | Transaction ID to bind uploads to |
Input Schema (JSON Schema)
{
"properties": {
"appId": {
"description": "The JianDaoYun application ID",
"type": "string"
},
"appKey": {
"description": "The JianDaoYun application key (API key) (optional, will use JIANDAOYUN_APP_KEY from environment if not provided)",
"type": "string"
},
"formId": {
"description": "The form ID (can be form ID or app ID)",
"type": "string"
},
"transactionId": {
"description": "Transaction ID to bind uploads to",
"type": "string"
}
},
"required": [
"appId",
"formId",
"transactionId"
],
"type": "object"
}