List runnable conformance suites
curl --request GET \
--url https://chargerdojo.com/api/v1/testing/suitesimport requests
url = "https://chargerdojo.com/api/v1/testing/suites"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://chargerdojo.com/api/v1/testing/suites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chargerdojo.com/api/v1/testing/suites",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://chargerdojo.com/api/v1/testing/suites"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://chargerdojo.com/api/v1/testing/suites")
.asString();require 'uri'
require 'net/http'
url = URI("https://chargerdojo.com/api/v1/testing/suites")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"total_suites": 123,
"suites": [
{
"id": "<string>",
"name": "<string>",
"module": "<string>",
"version": "2.1.1",
"test_count": 123,
"description": "<string>",
"tags": [
"<string>"
],
"group": "<string>",
"order": 123,
"mandatory": true
}
],
"endpoint": "<string>",
"version": "<string>",
"description": "<string>"
}{
"success": false,
"message": "<string>",
"status": "error",
"code": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"capability": "external-endpoints",
"limit": {
"id": "connections",
"used": 123,
"cap": 123
}
}Testing
List runnable conformance suites
List the conformance test suites you can run against a connection, each with its OCPI version and a short description of what it checks.
GET
/
testing
/
suites
List runnable conformance suites
curl --request GET \
--url https://chargerdojo.com/api/v1/testing/suitesimport requests
url = "https://chargerdojo.com/api/v1/testing/suites"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://chargerdojo.com/api/v1/testing/suites', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://chargerdojo.com/api/v1/testing/suites",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://chargerdojo.com/api/v1/testing/suites"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://chargerdojo.com/api/v1/testing/suites")
.asString();require 'uri'
require 'net/http'
url = URI("https://chargerdojo.com/api/v1/testing/suites")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"total_suites": 123,
"suites": [
{
"id": "<string>",
"name": "<string>",
"module": "<string>",
"version": "2.1.1",
"test_count": 123,
"description": "<string>",
"tags": [
"<string>"
],
"group": "<string>",
"order": 123,
"mandatory": true
}
],
"endpoint": "<string>",
"version": "<string>",
"description": "<string>"
}{
"success": false,
"message": "<string>",
"status": "error",
"code": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"capability": "external-endpoints",
"limit": {
"id": "connections",
"used": 123,
"cap": 123
}
}