add android app
This commit is contained in:
48
android/http-shortcuts-recipe.json
Normal file
48
android/http-shortcuts-recipe.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"id": "fuggloader_category",
|
||||
"name": "fuggloader",
|
||||
"shortcuts": [
|
||||
{
|
||||
"id": "upload_file_to_fuggloader",
|
||||
"name": "Upload File to fuggloader",
|
||||
"description": "Upload shared file to fuggloader server",
|
||||
"executionType": "APP",
|
||||
"url": "https://YOUR_SITE.com/api/v2/upload",
|
||||
"method": "POST",
|
||||
"bodyType": "FORM_DATA",
|
||||
"parameters": [
|
||||
{
|
||||
"key": "file",
|
||||
"value": "file",
|
||||
"fileName": "upload.png"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"key": "X-Api-Key",
|
||||
"value": "YOUR_API_KEY"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "upload_url_to_fuggloader",
|
||||
"name": "Upload URL to fuggloader",
|
||||
"description": "Upload shared URL to fuggloader server",
|
||||
"executionType": "APP",
|
||||
"url": "https://YOUR_SITE.com/api/v2/upload",
|
||||
"method": "POST",
|
||||
"bodyType": "JSON",
|
||||
"bodyContent": "{\"url\": \"{url}\"}",
|
||||
"headers": [
|
||||
{
|
||||
"key": "X-Api-Key",
|
||||
"value": "YOUR_API_KEY"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user