Your data / Profile & preferences
GET
https://ba.joexyz.online/api/v1/me/preferenceshttp://localhost:3000/api/v1/me/preferencesGets your tool preferences, or the defaults if you never changed them.
Authentication
Bearer Token — send Authorization: Bearer <token>. Inherited from folder "Your data".
curl https://ba.joexyz.online/api/v1/me/preferences \
-H 'Authorization: Bearer {{api_key}}'const response = await fetch("https://ba.joexyz.online/api/v1/me/preferences", {
headers: {
"Authorization": "Bearer {{api_key}}",
},
});
const data = await response.json();
console.log(data);import requests
url = "https://ba.joexyz.online/api/v1/me/preferences"
headers = {
"Authorization": "Bearer {{api_key}}",
}
response = requests.get(url, headers=headers)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://ba.joexyz.online/api/v1/me/preferences", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer {{api_key}}")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}curl http://localhost:3000/api/v1/me/preferences \
-H 'Authorization: Bearer {{api_key}}'const response = await fetch("http://localhost:3000/api/v1/me/preferences", {
headers: {
"Authorization": "Bearer {{api_key}}",
},
});
const data = await response.json();
console.log(data);import requests
url = "http://localhost:3000/api/v1/me/preferences"
headers = {
"Authorization": "Bearer {{api_key}}",
}
response = requests.get(url, headers=headers)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "http://localhost:3000/api/v1/me/preferences", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer {{api_key}}")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}Response
{
"data": {
"bond": {
"autoPopulateSingleTargetGifts": false
},
"formationDisplay": {
"defaultDisplayOverline": false,
"defaultGroupsVertical": false,
"defaultLevel": 90,
"defaultLevelEnabled": true,
"defaultNoDisplayRole": false,
"defaultRowGap": 8,
"defaultScale": 4
},
"pvp": {
"hideEmptyAgendaDays": true,
"includeMatchesInStatisticsByDefault": true
},
"timelineVisualizer": {
"defaultExportBackgroundColor": "#000000",
"defaultExportBackgroundOpacity": 100,
"defaultExportWithTransparentBackground": true,
"defaultHorizontalSeparatorSize": 50,
"defaultItemSpacing": -6,
"defaultScale": 4,
"defaultShowCreator": true,
"defaultVerticalSeparatorSize": 50,
"defaultVisibility": "public",
"triggerAutoFocus": true
}
}
}