Loading...
Loading...
File upload skill. Provides capabilities of obtaining file upload credentials and uploading files. It is triggered when users need to "upload files" or "obtain file upload credentials".
npx skill4agent add huija/fx-api-cli fxapi-file-uploadis the provided command-line program, all operations are completed by executing thefx-api-clicommand.fx-api-cli
fx-api-cli file <interface name> '<json input parameters>'fx-api-cli file get_upload_token '{"app_id": "app_id_1", "entry_id": "entry_id_1", "transaction_id": "transaction_id_1"}'fx-api-cli file upload '{"url": "upload_url", "token": "upload_token", "file": "/path/to/file"}'app.entry.file.get_upload_tokenfile.uploadapp.entry.file.get_upload_tokenfile.uploadfile.upload_info_list