-
Notifications
You must be signed in to change notification settings - Fork 64
Resource Types
Rowan Manning edited this page Sep 20, 2013
·
6 revisions
This page contains outlines of the resource types available through the pa11y-ws web-service.
A task is a group of settings which will be tested with whenever pa11y-ws generates results. Each task in the application is looped over and results are generated with pa11y.
A task looks like this:
{
"id": "522f263ccd4cc6fd52000011",
"url": "nature.com",
"standard": "WCAG2AA",
"ignore": [],
"last_result": { ... }
}
Note: the last_result
property will only be present if it is requested. See documentation in individual endpoints.
A result represents the output of one pa11y test on a specific task. It cannot be created manually, as they are created at scheduled intervals.
A result looks like this:
{
"id": "522f263ccd4cc6fd52000012",
"task": "522f263ccd4cc6fd52000011",
"date": "2013-09-16T14:16:19.186Z",
"count": {
"error": 2,
"warning": 4,
"notice": 6,
"total": 12
},
"results": [ ... ]
}
Note: the results
property will only be present if it is requested. See documentation in individual endpoints.