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

{
    "meta": {
        "count": 31684,
        "next": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1526&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=1524&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p29349",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:38.670823Z",
            "last_modified_time": "2023-08-16T05:07:38.670859Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdenvertaisuus lain edessä",
                "sv": "likhet inför lagen",
                "en": "equality before the law"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29349/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20901",
            "has_user_editable_resources": false,
            "alt_labels": [
                "law on equality (Grand Duchy of Finland)",
                "yhdenwertaisuuslaki (1912)"
            ],
            "created_time": "2023-08-16T05:13:18.754676Z",
            "last_modified_time": "2023-08-16T05:13:18.754695Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdenvertaisuuslaki (1912)",
                "sv": "likställighetslag (1912)",
                "en": "yhdenvertaisuuslaki (1912)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20901/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p39334",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:18:41.198810Z",
            "last_modified_time": "2023-08-16T05:18:41.198835Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdenvertaisuuslaki (2004)",
                "sv": "lag om likabehandling (2004)",
                "en": "Non-Discrimination Act (2004)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p39334/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p39259",
            "has_user_editable_resources": false,
            "alt_labels": [
                "lag om likabehandling",
                "likabehandlingslagen"
            ],
            "created_time": "2023-08-16T05:18:41.164615Z",
            "last_modified_time": "2023-08-16T05:18:41.164633Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdenvertaisuuslaki (2014)",
                "sv": "diskrimineringslag (2014)",
                "en": "Non-Discrimination Act (2014)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p39259/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29079",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:15:52.521674Z",
            "last_modified_time": "2023-08-16T05:15:52.521692Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdenvertaisuusvaltuutetut",
                "sv": "diskrimineringsombudsmän",
                "en": "non-discrimination ombudsmen"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29079/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p26001",
            "has_user_editable_resources": false,
            "alt_labels": [
                "avoin linkitetty tieto",
                "avoin yhdistetty tieto",
                "linked open data",
                "linkitetty avoin tieto",
                "open linked data",
                "linked open data",
                "länkad öppen data",
                "open linked data",
                "öppen länkad data"
            ],
            "created_time": "2023-08-16T05:10:51.072097Z",
            "last_modified_time": "2023-08-16T05:10:51.072115Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistetty avoin tieto",
                "sv": "länkade öppna data",
                "en": "linked open data"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p26001/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4169",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:54.826830Z",
            "last_modified_time": "2023-08-16T05:11:54.826847Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistetty hiihto",
                "sv": "nordisk kombination",
                "en": "Nordic combined"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4169/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38024",
            "has_user_editable_resources": false,
            "alt_labels": [
                "yhdistelmätodellisuus",
                "mixad verklighet"
            ],
            "created_time": "2023-08-16T05:16:00.395731Z",
            "last_modified_time": "2023-08-16T05:16:00.395749Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistetty todellisuus",
                "sv": "blandad verklighet",
                "en": "mixed reality"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38024/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p13516",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:05:18.490988Z",
            "last_modified_time": "2023-08-16T05:05:18.491008Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistetyt kuljetukset",
                "sv": "kombinerade transporter",
                "en": "combined transports"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p13516/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11699",
            "has_user_editable_resources": false,
            "alt_labels": [
                "becoming united",
                "fusion",
                "sammangående"
            ],
            "created_time": "2023-08-16T05:15:01.454007Z",
            "last_modified_time": "2023-08-16T05:15:01.454024Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistyminen",
                "sv": "förenande",
                "en": "unification"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11699/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p19585",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:13.039613Z",
            "last_modified_time": "2023-08-16T05:06:13.039632Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistymisvapaus",
                "sv": "föreningsfrihet",
                "en": "freedom of association"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p19585/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p16879",
            "has_user_editable_resources": false,
            "alt_labels": [
                "FN-stadgan",
                "Förenta nationernas stadga"
            ],
            "created_time": "2023-08-16T05:09:28.344542Z",
            "last_modified_time": "2023-08-16T05:09:28.344560Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Yhdistyneiden kansakuntien peruskirja",
                "sv": "Förenta Nationernas stadga",
                "en": "United Nations Charter"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p16879/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p8603",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Millennium Declaration",
                "Vuosituhatjulistus",
                "YK:n vuosituhatjulistus",
                "Millennium Declaration"
            ],
            "created_time": "2023-08-16T05:08:30.900069Z",
            "last_modified_time": "2023-08-16T05:08:30.900094Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Yhdistyneiden kansakuntien vuosituhatjulistus",
                "sv": "FN:s millenniedeklaration",
                "en": "United Nations Millennium Declaration"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p8603/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p17095",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:30.241823Z",
            "last_modified_time": "2023-08-16T05:09:30.241840Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistyslaki",
                "sv": "föreningslag",
                "en": "Associations Act"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p17095/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p319",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:28.123625Z",
            "last_modified_time": "2023-08-16T05:11:28.123645Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistysrekisterit",
                "sv": "föreningsregister",
                "en": "registers of associations"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p319/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p17058",
            "has_user_editable_resources": false,
            "alt_labels": [
                "integration",
                "integrointi"
            ],
            "created_time": "2023-08-16T05:09:29.997949Z",
            "last_modified_time": "2023-08-16T05:09:29.997968Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdistäminen",
                "sv": "sammanförande",
                "en": "joining together"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p17058/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p11142",
            "has_user_editable_resources": false,
            "alt_labels": [
                "yhteyshenkilöt"
            ],
            "created_time": "2023-08-16T05:08:45.234780Z",
            "last_modified_time": "2023-08-16T05:08:45.234804Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdyshenkilöt",
                "sv": "kontaktpersoner",
                "en": "contact persons"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p11142/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p5859",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:16:14.825763Z",
            "last_modified_time": "2023-08-16T05:16:14.825782Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdyskunnat",
                "sv": "samhällen",
                "en": "communities (groups)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p5859/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p4748",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:57.480936Z",
            "last_modified_time": "2023-08-16T05:11:57.480956Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdyskuntajätteet",
                "sv": "kommunalt avfall",
                "en": "municipal waste"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p4748/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20086",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:57.092642Z",
            "last_modified_time": "2023-08-16T05:09:57.092661Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "yhdyskuntapalvelu",
                "sv": "samhällstjänst",
                "en": "community service"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20086/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}