Get build report issues API in Automated tests
Use this API to get issue details of an Automated test build.
get build report issues
If Geo Region Restriction (GRR) is enabled for your account, add your region code to the host name:
api-accessibility-<region>.browserstack.com. See Geo Region Restriction endpoints for the region codes and examples.
Request parameters
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-accessibility.browserstack.com/api/automated-tests/v1/builds/issues?build_id={thBuildId}
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-accessibility.browserstack.com/api/automated-tests/v1/builds/issues?task_id={task_id}
-
next_page String
Used to fetch subsequent pages from the API when has_next parameter is true. Pass the next_page reference received in the response of last request.
Response Attributes 200 OK JSON
Response
{
"buildNumber": 18544,
"buildUId": "li6dofcwtgmjvmxsbpjclwvys0elgtb8s7rqx0ih", // This will be the value of parameter: thBuildId
"wcagVersion": "WCAG 2.1 AA",
"testEngine": {
"name": "a11y_engine",
"version": "3.3.0"
},
"time": "2024-12-15T13:08:27.943Z", // This will the value of parameter: createdAt
"advanced": true,
"needsReview": null,
"bestPractice": null,
"report_link": {CSV_file_link}
}
-
buildNumber Integer
Build number.
-
buildUId Integer
Unique ID of the build.
-
wcagVersion String
The WCAG version used for the build.
-
testEngine Object
▶ SHOW VALUESContains test engine info.
-
name String
Name of the rules engine.
-
version String
Version of the rules engine.
-
-
time String
Timestamp of the build.
- Show 5 more
-
advanced Boolean
True if reporting of issues in violation of advanced rules is enabled.
-
needsReview Boolean
True if issues that require manual confirmation are included.
-
bestPractices Boolean
True if best practices rules are included. These are not WCAG violations but are good to have to ensure accessibility.
-
report_link String
A hyperlink of the CSV file.
-
pagination Object
▶ SHOW VALUESContains information to facilitate fetching additional records if they exist.
-
has_next Boolean
True if there are more records to fetch. False if the current response is the last page of records.
-
next_page String
A reference to the next page. Pass this as a request parameter in the subsequent request as “next_page” to get the next page of records.
-
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.