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

paramstring

Default task parameters

priorityinteger
project_idstring

MongoDB ObjectId represented as a hexadecimal string

col_idstring

MongoDB ObjectId represented as a hexadecimal string

col_namestring

Data collection name

db_namestring

Database name

data_source_idstring

MongoDB ObjectId represented as a hexadecimal string

modestring

Default task mode

node_idsObjectId[]

Default node IDs for tasks

git_idstring

MongoDB ObjectId represented as a hexadecimal string

git_root_pathstring

Root path in the Git repository

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

Changes