Native tests
List native test suites
Paged native test Components by name, including inactive authoring suites. No source or runtime changes.
GET
/
api
/
v1
/
native-tests
List native test suites
curl --request GET \
--url https://api.revoengine.com/api/v1/native-tests \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/native-tests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/native-tests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"name": "<string>",
"type": "CODE_JS_TEST",
"version": 123,
"active": true,
"category": "<string>",
"testConfig": {
"mode": "fixture",
"targets": [
"<string>"
],
"fixtures": {}
}
}
],
"next": true,
"total": 123,
"capabilities": {
"canRun": true
}
}Authorizations
Bearer JWT token or API Key (sk-*).
Query Parameters
Maximum string length:
100Required range:
1 <= x <= 100Required range:
x >= 0⌘I
List native test suites
curl --request GET \
--url https://api.revoengine.com/api/v1/native-tests \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/native-tests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/native-tests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"name": "<string>",
"type": "CODE_JS_TEST",
"version": 123,
"active": true,
"category": "<string>",
"testConfig": {
"mode": "fixture",
"targets": [
"<string>"
],
"fixtures": {}
}
}
],
"next": true,
"total": 123,
"capabilities": {
"canRun": true
}
}
