v1
latestOpenAPI 3.0.02026-07-142351,1971.3 MBSynthetics
Get a mobile test
Get the detailed configuration associated with a Synthetic mobile test.
get/api/v1/synthetics/tests/mobile/{public_id}
Path parameters
public_idstring required
The public ID of the test to get details from.
Response
OK
Example response
{
"config": {
"variables": [
{
"name": "VARIABLE_NAME",
"type": "text"
}
]
},
"device_ids": [
"chrome.laptop_large"
],
"message": "Notification message",
"monitor_id": 12345678,
"name": "Example test name",
"options": {
"ci": {
"executionRule": "blocking"
},
"device_ids": [
"synthetics:mobile:device:apple_ipad_10th_gen_2022_ios_16"
],
"mobileApplication": {
"applicationId": "00000000-0000-0000-0000-aaaaaaaaaaaa",
"referenceId": "00000000-0000-0000-0000-aaaaaaaaaaab",
"referenceType": "latest"
},
"restricted_roles": [
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
],
"scheduling": {
"timeframes": [
{
"day": 1,
"from": "07:00",
"to": "16:00"
},
{
"day": 3,
"from": "07:00",
"to": "16:00"
}
],
"timezone": "America/New_York"
},
"tick_every": 300
},
"public_id": "123-abc-456",
"status": "live",
"steps": [
{
"params": {
"variable": {
"name": "VAR_NAME"
}
},
"publicId": "pub-lic-id0",
"type": "assertElementContent"
}
],
"tags": [
"env:production"
],
"type": "mobile"
}