Skip to content

HTTPS Endpoints

Omega exposes discovery and profile data over HTTPS. All identifiers in the routes below are positive decimal integers.

Returns a randomly selected connected Omikron.

{
"status": "success",
"id": "<omikron-id>",
"public_key": "<base64>",
"ip_address": "<ip-address>",
"port": "<port>"
}

Returns a connected Omikron by ID. If <id> identifies a connected Iota or a user with an assigned Iota, the response identifies that account’s primary connected Omikron.

{
"status": "success",
"id": "<omikron-id>",
"public_key": "<base64>",
"ip_address": "<ip-address>",
"port": "<port>"
}

Returns the live in-memory map of Omikron IDs to their connected Iota IDs and hosted user IDs. The map is empty after an Omega restart until connected Omikron instances publish their state.

{
"status": "success",
"<omikron-id>": {
"<iota-id>": ["<user-id>", "..."]
}
}

Returns the public identity data for an Iota.

{
"status": "success",
"iota_id": "<iota-id>",
"public_key": "<base64>"
}

Returns a user’s profile and assigned Iota ID.

{
"status": "success",
"username": "<username>",
"public_key": "<base64>",
"user_id": "<user-id>",
"iota_id": "<iota-id>?",
"sub_level": "<integer>",
"sub_end": "<unix-milliseconds>",
"display": "<string>?",
"status_message": "<string>?",
"about": "<string>?",
"avatar": "<base64>?"
}

Resolves a username to its public profile and identity IDs. The username is limited to 15 characters after URL decoding.

{
"status": "success",
"username": "<username>",
"public_key": "<base64>",
"user_id": "<user-id>",
"iota_id": "<iota-id>?",
"sub_level": "<integer>",
"sub_end": "<unix-milliseconds>"
}

Returns Omega’s public MTP key bundle in base64 form.

{
"status": "success",
"public_key": "<base64>"
}