Download OpenAPI specification:Download
This is the very basic api spec of the new VitalFrog performance api
sd
object (Countries) | |||||||||||||||||
| |||||||||||||||||
Component | string Component of you software we are testing. Helps to later find cross repo problems. | ||||||||||||||||
Version | string Version of you software we are testing. Helps for later tracing of problems. | ||||||||||||||||
performance_budgets_id | integer <int32> What performance budget to use. If none configured the default VitalFrog performance budgets will be used | ||||||||||||||||
Array of objects (Device) What devices to test. If not set falls back to testing two devices "desktop" & "mobile" | |||||||||||||||||
Array
| |||||||||||||||||
required | object (Target) | ||||||||||||||||
| |||||||||||||||||
object (HttpConfig) Additional http request configurations | |||||||||||||||||
|
{- "countries": {
- "mode": "block_list",
- "list": [
- {
- "name": "Germany",
- "code": "DE"
}
]
}, - "Component": "string",
- "Version": "string",
- "performance_budgets_id": 1,
- "devices": [
- {
- "name": "desktop"
}
], - "target": {
- "host": "www.vitalfrog.com",
- "scheme": "https",
- "paths": {
- "mode": "string",
- "paths": [
- "string"
]
}
}, - "http": {
- "extra_headers": [
- {
- "header": "string",
- "value": "string"
}
], - "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}
{- "metadata": {
- "uuid": "1dea0c0e-e1e0-11ec-8fea-0242ac120002",
- "created": "2019-08-24T14:15:22Z",
- "finished": "2019-08-24T14:15:22Z",
- "cost": 0,
- "config": {
- "countries": {
- "mode": "block_list",
- "list": [
- {
- "name": "Germany",
- "code": "DE"
}
]
}, - "Component": "string",
- "Version": "string",
- "performance_budgets_id": 1,
- "devices": [
- {
- "name": "desktop"
}
], - "target": {
- "host": "www.vitalfrog.com",
- "scheme": "https",
- "paths": {
- "mode": "string",
- "paths": [
- "string"
]
}
}, - "http": {
- "extra_headers": [
- {
- "header": "string",
- "value": "string"
}
], - "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}
}, - "data": [
- {
- "id": 1,
- "path": "/blog",
- "country": {
- "name": "Germany",
- "code": "DE"
}, - "device": {
- "name": "desktop"
}, - "first_contentful_paint": {
- "value_ms": 937,
- "elements": [
- {
- "selector": "div#particlesJS > div.max-w-screen-xl > div.text-center > p.text-xl",
- "snippet": "<p class=text-xl text-gray-600 xl:text-2xl mb-4>"
}
]
}, - "largest_contentful_paint": {
- "value_ms": 3124,
- "element": {
- "selector": "div#particlesJS > div.max-w-screen-xl > div.text-center > p.text-xl",
- "snippet": "<p class=text-xl text-gray-600 xl:text-2xl mb-4>"
}, - "lazy_loaded": true,
- "image_preloaded": true
}, - "first_meaningful_paint_ms": 2195,
- "speed_index_ms": 937,
- "total_blocking_time_ms": 0,
- "max_potential_fid_ms": 16,
- "cumulative_layout_shift": {
- "value": 0.1,
- "elements": [
- {
- "selector": "div#particlesJS > div.max-w-screen-xl > div.text-center > p.text-xl",
- "snippet": "<p class=text-xl text-gray-600 xl:text-2xl mb-4>"
}
]
}, - "server_response_time_ms": 86,
- "interactive_ms": 2195,
- "network_requests": [
], - "big_payloads": {
- "total_bytes": 2802127,
}
}
]
}
sd
uuid required | string Example: 1dea0c0e-e1e0-11ec-8fea-0242ac120002 asd |
{- "metadata": {
- "uuid": "1dea0c0e-e1e0-11ec-8fea-0242ac120002",
- "created": "2019-08-24T14:15:22Z",
- "finished": "2019-08-24T14:15:22Z",
- "cost": 0,
- "config": {
- "countries": {
- "mode": "block_list",
- "list": [
- {
- "name": "Germany",
- "code": "DE"
}
]
}, - "Component": "string",
- "Version": "string",
- "performance_budgets_id": 1,
- "devices": [
- {
- "name": "desktop"
}
], - "target": {
- "host": "www.vitalfrog.com",
- "scheme": "https",
- "paths": {
- "mode": "string",
- "paths": [
- "string"
]
}
}, - "http": {
- "extra_headers": [
- {
- "header": "string",
- "value": "string"
}
], - "basic_auth": {
- "username": "string",
- "password": "string"
}
}
}
}, - "data": [
- {
- "id": 1,
- "path": "/blog",
- "country": {
- "name": "Germany",
- "code": "DE"
}, - "device": {
- "name": "desktop"
}, - "first_contentful_paint": {
- "value_ms": 937,
- "elements": [
- {
- "selector": "div#particlesJS > div.max-w-screen-xl > div.text-center > p.text-xl",
- "snippet": "<p class=text-xl text-gray-600 xl:text-2xl mb-4>"
}
]
}, - "largest_contentful_paint": {
- "value_ms": 3124,
- "element": {
- "selector": "div#particlesJS > div.max-w-screen-xl > div.text-center > p.text-xl",
- "snippet": "<p class=text-xl text-gray-600 xl:text-2xl mb-4>"
}, - "lazy_loaded": true,
- "image_preloaded": true
}, - "first_meaningful_paint_ms": 2195,
- "speed_index_ms": 937,
- "total_blocking_time_ms": 0,
- "max_potential_fid_ms": 16,
- "cumulative_layout_shift": {
- "value": 0.1,
- "elements": [
- {
- "selector": "div#particlesJS > div.max-w-screen-xl > div.text-center > p.text-xl",
- "snippet": "<p class=text-xl text-gray-600 xl:text-2xl mb-4>"
}
]
}, - "server_response_time_ms": 86,
- "interactive_ms": 2195,
- "network_requests": [
], - "big_payloads": {
- "total_bytes": 2802127,
}
}
]
}
[- {
- "id": 1,
- "description": "Default VitalFrog performance budget",
- "default": true,
- "budgets": [
- {
- "metric": "first_contentful_paint_ms",
- "mode": "above",
- "warning": 0,
- "error": 0
}
]
}
]
sd
id required | integer <int32> Example: 1 asd |
{- "id": 1,
- "description": "Default VitalFrog performance budget",
- "default": true,
- "budgets": [
- {
- "metric": "first_contentful_paint_ms",
- "mode": "above",
- "warning": 0,
- "error": 0
}
]
}