Spiders

Update spider by ID

put/spiders/{id}

Path parameters

idstring required

MongoDB ObjectId represented as a hexadecimal string

Object ID

Request body

_idstring

MongoDB ObjectId represented as a hexadecimal string

namestring
descriptionstring
cmdstring

Command to run the spider

priorityinteger
project_idstring

MongoDB ObjectId represented as a hexadecimal string

col_idstring

MongoDB ObjectId represented as a hexadecimal string

col_namestring

Data collection name

git_idstring

MongoDB ObjectId represented as a hexadecimal string

gitobject

Git repository information

statobject

Spider statistics

created_atstring date-time
updated_atstring date-time
created_bystring

MongoDB ObjectId represented as a hexadecimal string

updated_bystring

MongoDB ObjectId represented as a hexadecimal string

Response

Spider updated successfully

codeinteger
messagestring
dataobject

Changes