Matomo
Last updated
Last updated
OK
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
OK
Code of action performed
Status label of action
Human readable message of status
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
OK
Code of action performed
Status label of action
Human readable message of status
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"
}
id of service to put instance in.
Regulation. Refer to the regulation of the Area (HDS|STANDARD). If absent, default 'STANDARD' will be used.
Region. that is a low-latency network area, available in List Regions method. If absent, default Area of Region will be used.
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.
Indicates why a production resource is not under monitoring.
Indicates if on call teams will be called on non business hours if an incident occurs on instance. If absent, set to false.
Indicates if alerting should be activated. If absent, set to false.
Indicates if backup has to be setup on instance. If absent, backup will be setup automatically if instance is in a production service.
Indicates why a production resource is not under backup.
Indicates if replication will be setup. If absent, it will be automatically be setup if this is an production environment
Indicates why a production resource is not replicated.
BackupPolicy id. Refers to desired backup policy to be applied for the virtual machine, must be set when backup is enabled.
BackupPolicy id. Refers to desired backup policy to be applied for the database, must be set when backup is enabled.
Sizing. L, XL , XS, S, M. Sizing for matomo instances
Password to connect to the matomo instance.
Name of Matomo Instance
[a-z0-9\-]{4,60}$
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
OK
Code of action performed
Status label of action
Human readable message of status
id, example: 123
OK
Representation of a resource patch party