Body Required
-
title string
Title of the app
-
description string
Description of the app
-
file string(binary)
-
icon string(binary)
icon of the app
-
version string
Version of the app
-
input array[object]
Input types for the app
-
screenshots array[string(binary)]
Array of screenshots for the app
PUT /api/v1/application/{id}
curl \
-X PUT https://api.crawlora.com/api/v1/application/{id} \
-H "x-api-key: $API_KEY" \
-H "Content-Type: multipart/form-data" \
-F "title=string" \
-F "description=string" \
-F "file=@file" \
-F "icon=@file" \
-F "banner=@file" \
-F "author=string" \
-F "version=string" \
-F "input[]={"type"=>"input", "datatype"=>"string", "placeholder"=>"string", "default"=>"string", "label"=>"string", "regex"=>"string", "required"=>true, "name"=>"string"}" \
-F "screenshots[]=@file"
Response examples (200)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {
"id": "string",
"title": "string",
"description": "string",
"author": "string",
"icon": "string",
"banner": "string",
"version": "string",
"input": [
{
"type": "string",
"datatype": "string",
"label": "string",
"regex": "string",
"default": "string",
"required": true,
"placeholder": "string",
"name": "string"
}
],
"screenshots": [
"string"
],
"created_at": "string",
"updated_at": "string"
}
}
Response examples (401)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}
Response examples (404)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}