Request URL
POST | https://api.dotcom-monitor.com/config_api_v1/task/{task_id} |
Path Parameters
Field | Type | Required | Description |
---|---|---|---|
task_id |
string |
true |
The unique id of a monitoring task you want to edit. |
Query Parameters
Field | Type | Required/Optional | Description | |
Timeout |
int32 |
optional |
Contains task execution timeout in ms. | |
Device_Id |
int32 |
required |
The unique device id.
Example:
|
|
Task_Type_Id |
int32 |
required |
The type of the task. | |
Name |
string |
optional |
The task description. | |
RequireRepeatVisit |
boolean |
optional |
Defines the state of the Simulate Return Visitor flag. POSSIBLE VALUES:
|
|
WriteVideoOnEachMonitoring |
boolean |
optional |
Defines the state of the Record Video on Each Run option.
POSSIBLE VALUES:
|
|
DisableHttpProxy |
boolean |
optional |
Allows to activate the proxy option to send monitoring requests through a proxy or switch back to direct requests. | |
DisableVideoRecording |
boolean |
optional |
Allows to disable the video recording feature. | |
DisableScreenshots |
boolean |
optional |
Allows to disable the screenshots feature. | |
AbortOnError |
boolean |
optional |
Indicates if the Abort Script on First Error option is activated.
POSSIBLE VALUES:
|
|
DNSResolveMode |
boolean |
optional |
POSSIBLE VALUES:
For detailed explanation, see the DNS Mode Option article. |
|
DNSserverIP |
string |
0ptional |
The field for a custom DNS server IP address. For detailed explanation, see the DNS Mode Option article. | |
CustomDNSHosts |
string |
optional |
Contains the list of IP address – host name pairs that are used to set up mapping of IP addresses to host names. |
Request Body
Dotcom-Monitor API accepts binary files uploaded with a request body. To upload an ES script along with your request to Dotcom-Monitor:
- Create or edit an EveryStep script using EveryStep Scripting Tool.
- Download the script to your computer and save to a dmuv/dmes file.
- In an API client, select to send the dmuv/dmes file as a binary file in the request body. If your API client does not support the binary method, use an alternative approach.
Success Response