All URIs are relative to https://api.dotcom-monitor.com/config_api_v1
Method | HTTP request | Description |
---|---|---|
AddDevice | Put /devices | Get device list by platform. |
DeleteDevice | Delete /device/{device_id} | Get Device info. |
DisableDeviceAlert | Post /device/{device_id}/DisableAlert/ | Get Device info. |
EditDevice | Post /device/{device_id} | Edit device list by platform. |
GetDevice | Get /device/{device_id} | Get Device info. |
GetDevicesPlataform | Get /devices/{platform} | Get device list by platform. |
GetTasks | Get /device/{device_id}/tasks | Get Device tasks. |
Result AddDevice(ctx, device) Get device list by platform.
Get device list by platform.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
device | Device | Device Object |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Result DeleteDevice(ctx, deviceId) Get Device info.
Get Device info.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceId | string | device id |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse200 DisableDeviceAlert(ctx, deviceId, optional) Get Device info.
Get Device info.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceId | string | device id | |
optional | *DisableDeviceAlertOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a DisableDeviceAlertOpts struct
Name | Type | Description | Notes |
---|
alertSilencePeriod | optional.Interface of AlertSilencePeriod| |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Result EditDevice(ctx, deviceId, device) Edit device list by platform.
Edit device list by platform.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceId | string | Device id | |
device | Device | Device Object |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interface{} GetDevice(ctx, deviceId) Get Device info.
Get Device info.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceId | string | device id |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]int32 GetDevicesPlataform(ctx, platform) Get device list by platform.
Get device list by platform.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
platform | string | Platform name |
[]int32
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]int32 GetTasks(ctx, deviceId) Get Device tasks.
Get Device tasks.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceId | string | device id |
[]int32
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]