📚Archives

API Methods at /archives route

Get available archives

GET https://sort-me.org/api//archives/getPublic

🈂️ Localization applies.

Query Parameters

Name
Type
Description

query

string

Text to search through archive descriptions

offset

int

Pagination parameter. Use id field.

{
    "archives": [
        {
            "id": 19,
            "names": {
                "ru": "Полуфинал ICPC в Северной Евразии",
                "en": "Northern Eurasia ICPC Semi-Finals"
            },
            "org": {
                "ru": "Университет ИТМО и Комитет ICPC",
                "en": "ITMO University and ICPC Committee"
            },

            "seasons": 3,
            "seasons_info": {
                "ru": "с 2011 г.",
                "en": "2011 - Present"
            },

            "stats": { // can be not presented if you are not logged in
                "solved_problems": 4,
                "total_problems": 21
            }
        }
    ]
}

Get archive by ID

GET https://api.sort-me.org/api/archives/getByID

🈂️ Localization applies.

Get single archive by its id.

Last updated