Compare two versions
curl --request GET \
--url https://judged.systems/api/packs/{packId}/compare \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/packs/{packId}/compare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/packs/{packId}/compare"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"added": [
"<string>"
],
"removed": [
"<string>"
],
"changed": [
"<string>"
]
}{
"error": "<string>",
"issues": [
{}
]
}Packs
Compare two versions
Requires packs:read. from and to are version ids of this pack.
GET
/
api
/
packs
/
{packId}
/
compare
Compare two versions
curl --request GET \
--url https://judged.systems/api/packs/{packId}/compare \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/packs/{packId}/compare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/packs/{packId}/compare"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"added": [
"<string>"
],
"removed": [
"<string>"
],
"changed": [
"<string>"
]
}{
"error": "<string>",
"issues": [
{}
]
}