Download toolbench/toolenv/tools/Storage/synwave.json from Septzzz/gymcl-data: direct link, hf CLI and curl.
- Browser
- Download file 5.76 kB
-
https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Storage/synwave.json
- Command line
-
hf download hf://datasets/Septzzz/gymcl-data/toolbench/toolenv/tools/Storage/synwave.json
-
curl -L -o synwave.json https://huggingface.co/datasets/Septzzz/gymcl-data/resolve/main/toolbench/toolenv/tools/Storage/synwave.json
5.76 kB
| { | |
| "product_id": "api_29a4170c-48cd-4346-8ce6-2d3f6f6c360e", | |
| "tool_description": "A data storage management API offering the following features:\n\n", | |
| "home_url": "https://rapidapi.com/rpi4gx/api/synwave/", | |
| "name": "SynWave", | |
| "title": "SynWave", | |
| "pricing": "FREEMIUM", | |
| "tool_name": "SynWave", | |
| "score": { | |
| "avgServiceLevel": 100, | |
| "avgLatency": 752, | |
| "avgSuccessRate": 97, | |
| "popularityScore": 9.4, | |
| "__typename": "Score" | |
| }, | |
| "host": "synwave.p.rapidapi.com", | |
| "api_list": [ | |
| { | |
| "name": "Upload a new file", | |
| "url": "https://synwave.p.rapidapi.com/v1/upload", | |
| "description": "Upload a new file.", | |
| "method": "POST", | |
| "required_parameters": [ | |
| { | |
| "name": "file", | |
| "type": "BINARY", | |
| "description": "", | |
| "default": "" | |
| } | |
| ], | |
| "optional_parameters": [ | |
| { | |
| "name": "auth_password", | |
| "type": "STRING", | |
| "description": "Password to protect this file. auth_username parameter is required if auth_password is set.\n", | |
| "default": "" | |
| }, | |
| { | |
| "name": "expiration_seconds", | |
| "type": "NUMBER", | |
| "description": "Number of seconds before the file becomes unavailable.\n", | |
| "default": 3600 | |
| }, | |
| { | |
| "name": "auth_username", | |
| "type": "STRING", | |
| "description": "Username to protect this file. auth_password parameter is required if auth_username is set.\n", | |
| "default": "" | |
| }, | |
| { | |
| "name": "download_limit", | |
| "type": "NUMBER", | |
| "description": "Number of downloads before the file becomes unavailable.\n", | |
| "default": "" | |
| } | |
| ], | |
| "code": "import requests\n\nurl = \"https://synwave.p.rapidapi.com/v1/upload\"\nquerystring = {\"file\": \"\", \"auth_password\": \"\", \"expiration_seconds\": 3600, \"auth_username\": \"\", \"download_limit\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"synwave.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "convert_code": "import requests\n\nurl = \"https://synwave.p.rapidapi.com/v1/upload\"\nquerystring = {\"file\": \"\", \"auth_password\": \"\", \"expiration_seconds\": 3600, \"auth_username\": \"\", \"download_limit\": \"\"}\n\nheaders = {\n \"X-RapidAPI-Key\": \"SIGN-UP-FOR-KEY\",\n \"X-RapidAPI-Host\": \"synwave.p.rapidapi.com\"\n }\n\nresponse = requests.post(url, headers=headers, params=querystring)\nprint(response.json())\n", | |
| "test_endpoint": "", | |
| "statuscode": 200, | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "success": { | |
| "type": "boolean", | |
| "description": "Whether the operation succeeded" | |
| }, | |
| "file": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string", | |
| "description": "Unique ID that uniquely identifies the generated URL" | |
| }, | |
| "address": { | |
| "type": "string", | |
| "description": "Address of the generated URL" | |
| }, | |
| "filename": { | |
| "type": "string", | |
| "description": "Name of the file" | |
| }, | |
| "mimetype": { | |
| "type": "string", | |
| "description": "Mimetype of the file" | |
| }, | |
| "size_bytes": { | |
| "type": "number", | |
| "description": "Size of the file in bytes" | |
| }, | |
| "created_at": { | |
| "type": "string", | |
| "description": "When the file was uploaded" | |
| }, | |
| "expiration_time": { | |
| "type": "string", | |
| "description": "When the file will stop being available" | |
| }, | |
| "downloads_remaining": { | |
| "type": "number", | |
| "description": "Number of file downloads before the content becomes unavailable" | |
| }, | |
| "authentication": { | |
| "type": "object", | |
| "properties": { | |
| "username": { | |
| "type": "string" | |
| }, | |
| "password": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| } |