Skip to content

API reference

https://api.forgerelay.soknight.meOpenAPI: /api/v1/openapi.json
GET/Service infopublic
GET/healthHealth checkpublic
GET/api/v1/versionCurrent releasepublic
GET/api/v1/channelsRelease channelspublic
GET/api/v1/mirrorsDownload mirrorspublic
GET/api/v1/rollout/streamEvent streamtoken
GET/api/v1/rolloutsServer datatoken
GET/api/v1/artifactsServer datatoken

Paths marked token need Authorization: Bearer <server token> and answer 401 without it. Event streams stay open and push records as they appear. Unknown paths answer 404.

GET /api/v1/channels

{
"channels": [
{
"id": "stable",
"default": true
},
{
"id": "beta",
"default": false
},
{
"id": "preview",
"default": false
}
]
}

GET /api/v1/mirrors

{
"mirrors": [
{
"url": "https://updates.soknight.me",
"primary": true
},
{
"url": "https://mirror.updates.soknight.me",
"primary": false
}
]
}