Path parameters
-
ID of the plugin to update
Body Required
PUT
/api/v1/plugins/{id}
curl \
-X PUT https://api.crawlora.com/api/v1/plugins/{id} \
-H "x-api-key: $API_KEY" \
-H "Content-Type: multipart/form-data" \
-F "name=string" \
-F "status=draft" \
-F "comments=string" \
-F "should_test=false" \
-F "allowed_hostnames[]=string" \
-F "file=@file" \
-F "test_data=@file"
Response examples (200)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {
"id": "string",
"name": "string",
"status": "string",
"code_path": "string",
"language": "string",
"comments": "string",
"description": "string",
"allowed_hostnames": [
"string"
],
"test_data": "string",
"test_status": "string",
"test_error": "string",
"test_response": "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": {}
}
Response examples (422)
{
"is_error": true,
"message": "string",
"correlator_id": "string",
"data": {}
}