Location - Monitoring locations.
WSDL: https://api.cloudmonit.pl/2.0.0/wsdl/Location.wsdl
JSON: https://api.cloudmonit.pl/2.0.0/json/Location.json
This module can be used to obtain information about available monitoring locations (also called sensors or monitoring stations).
This method allows you to fetch information about selected Location objects.
Filters to apply to the results.
An array of objects, each containg the fields:
The filter argument (the text to be contained in the field, or value to be compared). The argument must be of the same type as the field you filter by.
The field to filter the results by.
Allowed values are: city
,
color
,
country
,
group_id
,
id
,
ip
,
is_available
,
link
,
name
.
The type of filter. Filters (not_)greater_than and (not_)lower_than compare numbers numerically and string lexicographically. Defaults to "equals".
Allowed values are: contains
,
equals
,
greater_than
,
lower_than
,
not_greater_than
,
not_lower_than
.
Maximum array length: 10.
Items per page. If not specified, NULL or 0, all elements will be fetched. You should probably specify results ordering as well, if you want the results to be consistent.
The index of the first element to show on page.
Items are numbered starting from 0.
Default is 0.
Only meaningful if limit
is specified as well.
Fields to order the results by, starting from the most significant.
An array of objects, each containg the fields:
The ordering direction, "ascending" or "descending".
Allowed values are: ascending
,
descending
.
Defaults to "ascending"
if not specified.
The field to order by. If not specified, the results can be returned in any order.
Allowed values are: city
,
color
,
country
,
id
,
ip
,
is_available
,
link
,
name
.
Maximum array length: 10.
The groups of fields to be returned with each object.
An array of strings.
No values are supported at the moment.
This array cannot contain duplicate values.
Defaults to []
if not specified.
An array of objects, each containg the fields:
The city that the sensor is located in.
The location's color, given as 6 letters of hexadecimal RGB. This is the color used on the service response time in the Administration Panel.
This value must match the /^[0-9a-f]{6}$/
regular expression.
The country that the sensor is located in.
The location's identifier.
The IPv4 address of the location.
Whether the location is available to set.
The network links available in the location.
The name of the location.
The total number of results (not including pagination).
This method can be called by read-only users.
Returns the JSON or WSDL specification of the Location
API module.
This method is meant for internal usage in API clients. Unless you are writing one, you probably do not need it.
The specification format you want to use.
If omitted,
defaults to json
if you call this method using JSON request ot wsdl
if you call this method with SOAP.
Allowed values are: json
,
wsdl
.
The specification of the module.
The specification format used.
Allowed values are: json
,
wsdl
.
This method can be called by read-only users.
This method allows you to get information about a single Location object.
The location's identifier.
The groups of fields to be returned with the object.
An array of strings.
No values are supported at the moment.
This array cannot contain duplicate values.
Defaults to []
if not specified.
The city that the sensor is located in.
The location's color, given as 6 letters of hexadecimal RGB. This is the color used on the service response time in the Administration Panel.
This value must match the /^[0-9a-f]{6}$/
regular expression.
The country that the sensor is located in.
The location's identifier.
The IPv4 address of the location.
Whether the location is available to set.
The network links available in the location.
The name of the location.
This method can be called by read-only users.