Using the keyword endpoint

Here, categories for events are listed. Events in each category can be found at the event endpoint using the query parameter keyword. The common keywords used in all events originate from the general Finnish ontology (yso), hence the format yso:p4354. Default ordering is decreasing order by the number of events found.

The most common event categories are listed in the two keyword sets helsinki:topics and helsinki:audiences, which list the YSO keywords that are present in most events to specify event main topic and audience.

Keyword text

To find keywords that contain a specific string, use the query parameter text.

Example:

keyword/?text=lapset

See the result

Free text

While the previous search is looking for the keywords containg exact matches of the search string, free_text retrieves keywords on the basis of similarity. Results are sorted by similarity.

Example:

keyword/?free_text=lapppset

See the result

Keyword source

Will restrict keywords to a specific data source.

Example:

keyword/?data_source=yso

See the result

Show only keywords with the upcoming events

To show only the keywords which are used in the upcoming events supply the has_upcoming_events query parameter.

For example:

keyword/?has_upcoming_events=True

See the result

Showing all keywords

By default, only those keywords which have listed events are displayed. You may display keywords with zero n_events with the query parameter show_all_keywords.

For example:

keyword/?show_all_keywords=True

See the result

Showing deprecated keywords

By default, deprecated keywords are not displayed. You may also display deprecated keywords with the query parameter show_deprecated.

For example:

keyword/?show_deprecated=True

See the result

Ordering

Default ordering is decreasing order by the number of events found. You may also order results by name.

For example:

keyword/?sort=name

See the result

GET /v1/keyword/?format=api&page=235&show_all_keywords=True
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json ;utf-8
Vary: Accept

{
    "meta": {
        "count": 31675,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=236&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=234&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p37889",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Luganda language",
                "lugandan kieli",
                "ganda (språk)"
            ],
            "created_time": "2023-08-16T05:07:50.074881Z",
            "last_modified_time": "2023-08-16T05:07:50.074906Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gandan kieli",
                "sv": "luganda (språk)",
                "en": "Ganda language"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p37889/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p37903",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Ganda literature",
                "Luganda literature",
                "lugandankielinen kirjallisuus",
                "litteratur på ganda"
            ],
            "created_time": "2023-08-16T05:11:32.582903Z",
            "last_modified_time": "2023-08-16T05:11:32.582922Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gandankielinen kirjallisuus",
                "sv": "litteratur på luganda",
                "en": "Ganda language literature"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p37903/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38100",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Baganda people",
                "Waganda people",
                "bagandat",
                "wagandat",
                "baganda (folk)"
            ],
            "created_time": "2023-08-16T05:07:51.675170Z",
            "last_modified_time": "2023-08-16T05:07:51.675196Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gandat",
                "sv": "ganda (folk)",
                "en": "Ganda people"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38100/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p39748",
            "has_user_editable_resources": false,
            "alt_labels": [
                "gangster rap",
                "gangsta rap",
                "gangstarap"
            ],
            "created_time": "2023-08-16T05:08:09.434305Z",
            "last_modified_time": "2023-08-16T05:08:09.434323Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gangsta rap",
                "sv": "gangsterrap",
                "en": "gangsta rap"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p39748/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p12142",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:08:52.458464Z",
            "last_modified_time": "2023-08-16T05:08:52.458486Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gangsterielokuvat",
                "sv": "gangsterfilmer",
                "en": "gangster films"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p12142/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38618",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Gã language",
                "ga-adangme (språk)",
                "gã (språk)"
            ],
            "created_time": "2023-08-16T05:07:57.630482Z",
            "last_modified_time": "2023-08-16T05:07:57.630501Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gan kieli",
                "sv": "ga (språk)",
                "en": "Ga language"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38618/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1881",
            "has_user_editable_resources": false,
            "alt_labels": [
                "garagerock",
                "garage rock"
            ],
            "created_time": "2023-08-16T05:06:04.974965Z",
            "last_modified_time": "2023-08-16T05:06:04.974986Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "garage rock",
                "sv": "garagerock",
                "en": "garage rock"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1881/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p21620",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:31.359683Z",
            "last_modified_time": "2023-08-16T05:06:31.359700Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "GarbageX",
                "en": "GarbageX"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p21620/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38162",
            "has_user_editable_resources": false,
            "alt_labels": [
                "GARCH-modellen"
            ],
            "created_time": "2023-08-16T05:11:34.875096Z",
            "last_modified_time": "2023-08-16T05:11:34.875118Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "GARCH-mallit",
                "sv": "GARCH-modeller",
                "en": "GARCH models"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38162/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19616",
            "has_user_editable_resources": false,
            "alt_labels": [
                "garifuna"
            ],
            "created_time": "2023-08-16T05:09:52.886550Z",
            "last_modified_time": "2023-08-16T05:09:52.886568Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "garifunat",
                "sv": "garífuna",
                "en": "Garifunas"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19616/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14762",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:05:27.644750Z",
            "last_modified_time": "2023-08-16T05:05:27.644770Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gasellit",
                "sv": "gaseller",
                "en": "gazelles"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14762/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28856",
            "has_user_editable_resources": false,
            "alt_labels": [
                "GAS method",
                "Goal Attainment Scaling",
                "GAS-metoden",
                "goal attainment scaling-metoden"
            ],
            "created_time": "2023-08-16T05:14:00.557091Z",
            "last_modified_time": "2023-08-16T05:14:00.557107Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "GAS-menetelmä",
                "sv": "goal attainment scaling",
                "en": "Goal Attainment Scaling"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28856/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16080",
            "has_user_editable_resources": false,
            "alt_labels": [
                "vatsatautioppi"
            ],
            "created_time": "2023-08-16T05:05:38.614837Z",
            "last_modified_time": "2023-08-16T05:05:38.614854Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gastroenterologia",
                "sv": "gastroenterologi",
                "en": "gastroenterology"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16080/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p39089",
            "has_user_editable_resources": false,
            "alt_labels": [
                "GIST",
                "gastrointestinal stromal neoplasms",
                "gastrointestinal stromal sarcomas",
                "GIST",
                "GIST-kasvaimet",
                "gastrointestinaaliset stromaaliset tuumorit",
                "ruuansulatuskanavan stroomakasvaimet",
                "ruuansulatuskanavan stroomatuumorit",
                "GIST",
                "GIST-tumörer",
                "gastrointestinala stromacellstumörer"
            ],
            "created_time": "2023-08-16T05:14:19.104755Z",
            "last_modified_time": "2023-08-16T05:14:19.104774Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gastrointestinaaliset stroomakasvaimet",
                "sv": "gastrointestinala stromatumörer",
                "en": "gastrointestinal stromal tumors"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p39089/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2845",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:15:50.119631Z",
            "last_modified_time": "2023-08-16T05:15:50.119647Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gastronomia",
                "sv": "gastronomi",
                "en": "gastronomy"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p2845/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1035",
            "has_user_editable_resources": false,
            "alt_labels": [
                "mahalaukun tähystys",
                "mahantähystys"
            ],
            "created_time": "2023-08-16T05:04:59.207194Z",
            "last_modified_time": "2023-08-16T05:04:59.207214Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gastroskopia",
                "sv": "gastroskopi",
                "en": "gastroscopy"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1035/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14156",
            "has_user_editable_resources": false,
            "alt_labels": [
                "GATS",
                "General Agreement on Trade in Services",
                "palvelukaupan yleissopimus",
                "General Agreement on Trade in Services"
            ],
            "created_time": "2023-08-16T05:05:23.162527Z",
            "last_modified_time": "2023-08-16T05:05:23.162544Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "GATS-sopimus",
                "sv": "GATS-avtalet",
                "en": "General Agreement on Trade in Services"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14156/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p12679",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Allmänna tull- och handelsavtalet"
            ],
            "created_time": "2023-08-16T05:05:12.746368Z",
            "last_modified_time": "2023-08-16T05:05:12.746387Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "GATT-sopimus",
                "sv": "GATT-avtalet",
                "en": "General Agreement on Tariffs and Trade"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p12679/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38532",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Gaujas nationalpark"
            ],
            "created_time": "2023-08-16T05:11:38.633704Z",
            "last_modified_time": "2023-08-16T05:11:38.633739Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Gaujan kansallispuisto",
                "sv": "Gauja nationalpark",
                "en": "Gauja National Park"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38532/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38750",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Gaussin prosessit"
            ],
            "created_time": "2023-08-16T05:07:59.314474Z",
            "last_modified_time": "2023-08-16T05:07:59.314493Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "gaussiset prosessit",
                "sv": "Gaussiska processer",
                "en": "Gaussian processes"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38750/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}