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=1502&show_all_keywords=True
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json ;utf-8
Vary: Accept

{
    "meta": {
        "count": 31725,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1503&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1501&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p1864",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:02.709717Z",
            "last_modified_time": "2023-08-16T05:06:02.709736Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virtuoosit",
                "sv": "virtuoser",
                "en": "virtuosos"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1864/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1123",
            "has_user_editable_resources": false,
            "alt_labels": [
                "virukset (biologia)",
                "virus (biologi)"
            ],
            "created_time": "2023-08-16T05:19:44.995660Z",
            "last_modified_time": "2023-08-16T05:19:44.995678Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virukset",
                "sv": "virus",
                "en": "viruses"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1123/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28481",
            "has_user_editable_resources": false,
            "alt_labels": [
                "taudinaiheuttamiskyky",
                "sjukdomsalstrande förmåga"
            ],
            "created_time": "2023-08-16T05:13:58.902255Z",
            "last_modified_time": "2023-08-16T05:13:58.902330Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virulenssi",
                "sv": "virulens",
                "en": "virulence"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28481/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3082",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:14:08.552721Z",
            "last_modified_time": "2023-08-16T05:14:08.552739Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "viruminen",
                "sv": "krypning",
                "en": "creeping (deformation)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3082/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1607",
            "has_user_editable_resources": false,
            "alt_labels": [
                "krypmekanik",
                "krypprov"
            ],
            "created_time": "2023-08-16T05:09:21.987920Z",
            "last_modified_time": "2023-08-16T05:09:21.987938Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virumiskokeet",
                "sv": "kryptest",
                "en": "creep tests"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1607/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38792",
            "has_user_editable_resources": false,
            "alt_labels": [
                "virala proteiner"
            ],
            "created_time": "2023-08-16T05:16:03.175175Z",
            "last_modified_time": "2023-08-16T05:16:03.175197Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virusproteiinit",
                "sv": "virusproteiner",
                "en": "viral proteins"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38792/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16261",
            "has_user_editable_resources": false,
            "alt_labels": [
                "virussairaudet"
            ],
            "created_time": "2023-08-16T05:19:37.956483Z",
            "last_modified_time": "2023-08-16T05:19:37.956500Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virustaudit",
                "sv": "virussjukdomar",
                "en": "virus diseases"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16261/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1292",
            "has_user_editable_resources": false,
            "alt_labels": [
                "antivirusohjelmat",
                "virustorjuntaohjelmat",
                "virusskydd (datorprogram)"
            ],
            "created_time": "2023-08-16T05:08:57.522624Z",
            "last_modified_time": "2023-08-16T05:08:57.522651Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virustentorjuntaohjelmat",
                "sv": "antivirusprogram",
                "en": "antivirus software"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1292/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p26973",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:18.429037Z",
            "last_modified_time": "2023-08-16T05:07:18.429056Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Virvikin kartano",
                "sv": "Virvik gård",
                "en": "Virvik manor"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p26973/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16983",
            "has_user_editable_resources": false,
            "alt_labels": [
                "limonadit",
                "lemonad"
            ],
            "created_time": "2023-08-16T05:13:00.675296Z",
            "last_modified_time": "2023-08-16T05:13:00.675313Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virvoitusjuomat",
                "sv": "läskedrycker",
                "en": "soft drinks"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16983/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p2380",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:50.421798Z",
            "last_modified_time": "2023-08-16T05:06:50.421817Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "virvoitusjuomateollisuus",
                "sv": "läskedrycksindustri",
                "en": "soft drink industry"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p2380/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p14022",
            "has_user_editable_resources": false,
            "alt_labels": [
                "quizfrågor"
            ],
            "created_time": "2023-08-16T05:09:05.715604Z",
            "last_modified_time": "2023-08-16T05:09:05.715623Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "visailukysymykset",
                "sv": "frågesportsfrågor",
                "en": "quiz questions"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p14022/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6093",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Betula pendula var. carelica",
                "Betula pendula var. carelica"
            ],
            "created_time": "2023-08-16T05:08:20.239179Z",
            "last_modified_time": "2023-08-16T05:08:20.239199Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "visakoivu",
                "sv": "masurbjörk",
                "en": "curly birch"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6093/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1350",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:02.027018Z",
            "last_modified_time": "2023-08-16T05:09:02.027036Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Visavuori",
                "en": "Visavuori"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1350/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p17250",
            "has_user_editable_resources": false,
            "alt_labels": [
                "European bison"
            ],
            "created_time": "2023-08-16T05:05:48.760500Z",
            "last_modified_time": "2023-08-16T05:05:48.760520Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "visentti",
                "sv": "visent",
                "en": "wisent"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p17250/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3295",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:19.988793Z",
            "last_modified_time": "2023-08-16T05:18:19.988822Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "visiot",
                "sv": "visioner",
                "en": "visions (prospects)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3295/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p1385",
            "has_user_editable_resources": false,
            "alt_labels": [
                "visky",
                "whiskey"
            ],
            "created_time": "2023-08-16T05:05:20.727646Z",
            "last_modified_time": "2023-08-16T05:05:20.727664Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "viski",
                "sv": "whisky",
                "en": "whisky"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p1385/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p25052",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:59.879711Z",
            "last_modified_time": "2023-08-16T05:06:59.879729Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "viskoosi",
                "sv": "viskos",
                "en": "viscose"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p25052/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p6240",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:14:36.707784Z",
            "last_modified_time": "2023-08-16T05:14:36.707805Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "viskositeetti",
                "sv": "viskositet",
                "en": "viscosity"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p6240/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28924",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:34.667733Z",
            "last_modified_time": "2023-08-16T05:07:34.667753Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "vismutti",
                "sv": "vismut",
                "en": "bismuth"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28924/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}