List packs
curl --request GET \
--url https://judged.systems/api/packs \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/packs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/packs"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"name": "<string>",
"liveVersionId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"questionCount": 123,
"unpublishedChanges": true
}
]{
"error": "<string>",
"issues": [
{}
]
}Packs
List packs
Requires packs:read.
GET
/
api
/
packs
List packs
curl --request GET \
--url https://judged.systems/api/packs \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/packs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/packs"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"name": "<string>",
"liveVersionId": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"questionCount": 123,
"unpublishedChanges": true
}
]{
"error": "<string>",
"issues": [
{}
]
}