Scanners
GET scanner_tasks/meta
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns list of pre-defined scanner tasks.
Resource URL
http://{host}/api/2.0/scanner_tasks/meta/.format
Example Request
GET
Returns a list of all available scanner tasks configurations.
Resource URL
http://{host}/api/2.0/scanner_tasks/.format
Example Request
GET
GET scanner_tasks/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns single scanner tasks configurations.
Resource URL
http://{host}/api/2.0/scanner_tasks/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Scanner task to be viewed. |
Example Request
GET
POST scanner_tasks
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Adds a new scanner task to the system and auto-start the scan process.
Resource URL
http://{host}/api/2.0/scanner_tasks/.format
Example Request
POST
DELETE scanner_tasks/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a scanner task.
Resource URL
http://{host}/api/2.0/scanner_tasks/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired Scanner task to be deleted. |
Example Request
DELETE
GET scanner_tasks/command/stop/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stops a running scanner task. Channels found until that time are kept.
Resource URL
http://{host}/api/2.0/scanner_tasks/command/stop/{id}/.format
Example Request
GET
GET scanner_tasks/command/restart/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Restarts an idle scanner task.
Resource URL
http://{host}/api/2.0/scanner_tasks/command/restart/{id}/.format
Example Request
GET