Project status
GET/project/:id/status
Return project status
Request
Path Parameters
A unique project ID
Responses
- 200
Successful response - full project status
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
project
object
Basic project information
A unique Project ID
Unix timestamp of last run
1665407081
Unix timestamp of last change
1665263416
Was reported
ok
Longer message about project status
Server returned HTTP status 200
Short project status message
200
Total count of checks
12
How much check has failed
0
Current date time unix timestamp
1665407098
tests
object[]
Check id
50a9f73014db3ae812000234
true
true
Area ID
55ae166c25b395537a8b6030
Name of check
Homepage
URL of check
https://testomato.com
Check notice
Possible values: [homepage
, simple
, favicon
, robots
]
simple
Possible values: [completed
, running
]
completed
Test flags e.g. configured
["configured"]
status
object
ok
rules
object[]
Type of check
Possible values: [text html status header location title meta-description meta-og:title meta-og:description meta-og:image meta-og:image meta-og:image meta-og:type meta-og:url meta-og:site_name meta-og:locale meta-og:updated_time meta-og:logo meta-article:modified_time meta-article:published_time meta-article:publisher meta-article:section meta-article:tag meta-twitter:title meta-twitter:image meta-twitter:image meta-twitter:description meta-twitter:card meta-twitter:site meta-twitter:creator meta-itemprop:name meta-itemprop:author meta-itemprop:description meta-itemprop:image
]
text
text
Operators can be: eq
is equal to, sub
contains, !sub
does not contains, match
for exact match, !match
for does not match and xpath
for Xpath checks.
Possible values: [eq
, sub
, !sub
, match
, !match
, xpath
]
sub
Value that will be used for check
123456
Original of the check
check
Optional parameter if check use a Template
Order of the check
response
object
200
200
https://testomato.com
text/html
:status: 200
server: nginx
date: Mon, 10 Oct 2022 15:04:05 GMT
content-type: text/html;
0.037
Size of response in case of check error
false
List of redirections
timing
undefined[]
Template ID if any
Template variables if any
[]
options
object
Allow HTTP/1 requests only
false
Allow only IPv6 request
false
Do not accept gzip encoding
false
Do not follow redirects
false
Extra HTTP headers separated
{
"project": {
"id": "string",
"lastRun": 1665407081,
"lastChange": 1665263416,
"reported": "ok",
"status": "string",
"msg": "Server returned HTTP status 200",
"shortMessage": 200
},
"total": 12,
"failed": 0,
"now": 1665407098,
"tests": [
{
"id": "50a9f73014db3ae812000234",
"enabled": true,
"areaId": "55ae166c25b395537a8b6030",
"name": "Homepage",
"url": "https://testomato.com",
"notice": "",
"type": "simple",
"run": "completed",
"flags": [
"configured"
],
"status": {
"status": "ok",
"failures": [
"string"
],
"rules": [
{
"type": "text",
"op": "sub",
"val": 123456,
"origin": "check",
"templateId": "string",
"order": 0
}
],
"response": {
"status": 200,
"httpStatus": 200,
"baseUrl": "https://testomato.com",
"contentType": "text/html",
"httpHeader": ":status: 200\r\nserver: nginx\r\ndate: Mon, 10 Oct 2022 15:04:05 GMT\r\ncontent-type: text/html;",
"processTime": 0.037,
"size": false,
"redirects": [
"string"
],
"timing": [
{
"metrics": "DNS Lookup",
"value": 1
}
]
}
},
"templateId": "",
"templateVars": [],
"options": {
"2": false,
"6": false,
"g": false,
"l": false,
"w": "string"
}
}
]
}