Export a pack
curl --request GET \
--url https://judged.systems/api/packs/{packId}/export \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/packs/{packId}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/packs/{packId}/export"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"name": "<string>",
"document": {
"questions": [
{
"type": "choice",
"id": "<string>",
"name": "<string>",
"instructions": "<string>",
"criteria": {},
"review": {
"minSelectedProbability": 0.5
}
}
]
}
}{
"error": "<string>",
"issues": [
{}
]
}Packs
Export a pack
Requires packs:read. document is the draft.
GET
/
api
/
packs
/
{packId}
/
export
Export a pack
curl --request GET \
--url https://judged.systems/api/packs/{packId}/export \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/packs/{packId}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/packs/{packId}/export"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"name": "<string>",
"document": {
"questions": [
{
"type": "choice",
"id": "<string>",
"name": "<string>",
"instructions": "<string>",
"criteria": {},
"review": {
"minSelectedProbability": 0.5
}
}
]
}
}{
"error": "<string>",
"issues": [
{}
]
}