Body Required
-
title of the app
-
description of the app
-
icon of the app
-
Version of the app
-
Array of input types for the app
-
Array of screenshots for the app
POST /api/v1/application
curl \
-X POST https://api.crawlora.com/api/v1/application \
-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)
{
"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 (422)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}