Matomo
Last updated
Last updated
This method allows to delete a matomo instance.
This method is asynchronous (status code 202
) and you'll have to wait for async action to be completed by checking its status.
DELETE /analytics/matomo/123
id, example: 123
An action gives status about processing of a task previously launched by an API call and asynchronously processed.
This method allows to create a matomo instance.
You will have to know at the minimum :
region
attribute)name
attribute)sizing
attribute). The possible values are : XS (Up to 100K ppm), S(Up to 1M ppm), M(Up to 10M ppm), L(Up to 100M ppm), XL(More than 100M ppm)password
attribute). The password must be At least one lowercase, one uppercase, one digit, one special character, minimum length must be 12.serviceId
attribute).defaultWebSiteName
, defaultWebUri
).This method is asynchronous (status code 202
) and you'll have to wait for async action to be completed by checking its status.
POST /analytics/matomo
{
"name": "pmatomo01",
"region": "EB",
"sizing":"XS",
"serviceId":"123",
"password": "Password!!??",
"defaultWebSiteName": "ITCare",
"defaultWebUri": "https://itcare.cegedim.cloud"
}
Indicates if backup has to be setup on instance. If absent, backup will be setup automatically if instance is in a production service.
BackupPolicy id. Refers to desired backup policy to be applied for the database, must be set when backup is enabled.
Default website name to be configured in Matomo, if left empty, a dummy value will be configured
Default website url to be configured in Matomo, if left empty, a dummy value will be configured
Indicates if alerting should be activated. If absent, set to false.
Indicates if monitoring will be setup. If absent, it will be automatically be setup if this is an production environment, or if backup is enabled.
Name of Matomo Instance
[a-z0-9\-]{4,60}$
Indicates why a production resource is not under backup.
Indicates why a production resource is not under monitoring.
Indicates why a production resource is not replicated.
Indicates if on call teams will be called on non business hours if an incident occurs on instance. If absent, set to false.
Password to connect to the matomo instance.
Region. that is a low-latency network area, available in List Regions method. If absent, default Area of Region will be used.
Regulation. Refer to the regulation of the Area (HDS|STANDARD). If absent, default 'STANDARD' will be used.
Indicates if replication will be setup. If absent, it will be automatically be setup if this is an production environment
BackupPolicy id. Refers to desired backup policy to be applied for the virtual machine, must be set when backup is enabled.
id of service to put instance in.
Sizing. L, XL , XS, S, M. Sizing for matomo instances
An action gives status about processing of a task previously launched by an API call and asynchronously processed.
This method allows to update a matomo instance.
Structure of payload is generic and describes :
operation
you want to be performedoptions
data relative to the operation performed - see details - optional.Below are different operations currently implemented.
Start matomo instance
Use the start
operation to start a matomo instance.
Starts matomo instance.
This method is synchronous (status code 202
).
Example :
PATCH /analytics/matomo/1234
{
"operation": "start"
}
Stop matomo instance
Use the stop
operation to stop the nodes of the matomo instance and the instance itself.
This operation cannot be undone afterwards.
This method is synchronous (status code 202
).
PATCH /analytics/matomo/1234
{
"operation":"stop"
}
Extend matomo instance
Use the extend
operation to stop the nodes of the matomo instance and the instance itself.
This operation cannot be undone afterwards.
This method is synchronous (status code 202
).
PATCH /analytics/matomo/1234
{
"operation":"extend",
"options" : {
"sizing" : "M"
}
}
id, example: 123
An action gives status about processing of a task previously launched by an API call and asynchronously processed.