Update App by ID

PUT /api/v1/application/{id}

Path parameters

  • id string Required
multipart/form-data

Body Required

Responses

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": {}
}