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=135&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=136&show_all_keywords=True",
        "previous": "https://linkedevents.api.test.hel.ninja/v1/keyword/?format=api&page=134&show_all_keywords=True"
    },
    "data": [
        {
            "id": "yso:p20524",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:24.561074Z",
            "last_modified_time": "2023-08-16T05:06:24.561093Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Cool",
                "en": "Cool"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20524/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29986",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:11:24.938032Z",
            "last_modified_time": "2023-08-16T05:11:24.938049Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "cool jazz",
                "en": "cool jazz"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29986/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20035",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:06:18.567054Z",
            "last_modified_time": "2023-08-16T05:06:18.567094Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Corel Draw",
                "en": "Corel Draw"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20035/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p9904",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Painter (Corel Painter)",
                "Painter",
                "Painter"
            ],
            "created_time": "2023-08-16T05:08:36.916548Z",
            "last_modified_time": "2023-08-16T05:08:36.916571Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Corel Painter",
                "en": "Corel Painter"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p9904/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p9193",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:08:33.372140Z",
            "last_modified_time": "2023-08-16T05:08:33.372157Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Corel R.A.V.E.",
                "en": "Corel R.A.V.E."
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p9193/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7767",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:12:11.508231Z",
            "last_modified_time": "2023-08-16T05:12:11.508249Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Corel WordPerfect",
                "en": "Corel WordPerfect"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7767/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p18329",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:09:40.844923Z",
            "last_modified_time": "2023-08-16T05:09:40.844940Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Corel WordPerfect Office 2000",
                "en": "Corel WordPerfect Office 2000"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p18329/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p7768",
            "has_user_editable_resources": false,
            "alt_labels": [
                "Corel WP Suite",
                "Corel WP Suite"
            ],
            "created_time": "2023-08-16T05:12:11.528619Z",
            "last_modified_time": "2023-08-16T05:12:11.528637Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Corel WordPerfect Suite",
                "en": "Corel WordPerfect Suite"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p7768/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p28006",
            "has_user_editable_resources": false,
            "alt_labels": [
                "CdLS",
                "Cornelia de Lange -oireyhtymä",
                "Cornelia de Langen syndrooma",
                "De Langen oireyhtymä",
                "Brachmann-de Langes syndrom",
                "Cornelia de Langes syndrom"
            ],
            "created_time": "2023-08-16T05:07:26.587802Z",
            "last_modified_time": "2023-08-16T05:07:26.587821Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Cornelia de Langen oireyhtymä",
                "sv": "De Langes syndrom",
                "en": "Cornelia de Lange Syndrome"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p28006/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p20742",
            "has_user_editable_resources": false,
            "alt_labels": [
                "pukuilu"
            ],
            "created_time": "2023-08-16T05:16:48.752466Z",
            "last_modified_time": "2023-08-16T05:16:48.752484Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "cosplay",
                "en": "cosplay"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p20742/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p12281",
            "has_user_editable_resources": false,
            "alt_labels": [
                "COST 306 (projekt)"
            ],
            "created_time": "2023-08-16T05:05:10.357740Z",
            "last_modified_time": "2023-08-16T05:05:10.357757Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "COST 306 -projekti",
                "sv": "COST 306",
                "en": "COST 306 project"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p12281/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p22380",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:10:17.519578Z",
            "last_modified_time": "2023-08-16T05:10:17.519596Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "coton de tulear",
                "sv": "coton de tuléar",
                "en": "coton de Tulear"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p22380/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p15586",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:12:52.930657Z",
            "last_modified_time": "2023-08-16T05:12:52.930674Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Cotonou-sopimus",
                "sv": "Cotonouavtalet",
                "en": "Cotonou Agreement"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p15586/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29247",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:37.969525Z",
            "last_modified_time": "2023-08-16T05:07:37.969550Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "Counter-Strike (peli)",
                "sv": "Counter-Strike (spel)",
                "en": "Counter-Strike (shooting games)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29247/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p3063",
            "has_user_editable_resources": false,
            "alt_labels": [
                "country and western",
                "country and western",
                "country-musiikki",
                "kantri",
                "country and western",
                "countrymusik"
            ],
            "created_time": "2023-08-16T05:19:17.234951Z",
            "last_modified_time": "2023-08-16T05:19:17.234970Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "country",
                "en": "country music"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p3063/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29783",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:17:48.836735Z",
            "last_modified_time": "2023-08-16T05:17:48.836753Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "country blues",
                "en": "country blues"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29783/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p12216",
            "has_user_editable_resources": false,
            "alt_labels": [
                "country-dancet (tanssit)",
                "country dance",
                "country danser"
            ],
            "created_time": "2023-08-16T05:08:52.966422Z",
            "last_modified_time": "2023-08-16T05:08:52.966442Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "country-dancet",
                "sv": "countrydanser",
                "en": "country dances (dances)"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p12216/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p5499",
            "has_user_editable_resources": false,
            "alt_labels": [
                "countryrock",
                "kantrirock",
                "country rock"
            ],
            "created_time": "2023-08-16T05:14:33.005371Z",
            "last_modified_time": "2023-08-16T05:14:33.005389Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "country rock",
                "sv": "countryrock",
                "en": "country rock"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p5499/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p38538",
            "has_user_editable_resources": false,
            "alt_labels": [],
            "created_time": "2023-08-16T05:07:56.471256Z",
            "last_modified_time": "2023-08-16T05:07:56.471313Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "courante",
                "en": "courante"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p38538/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        },
        {
            "id": "yso:p29993",
            "has_user_editable_resources": false,
            "alt_labels": [
                "cover-esitykset",
                "cover-levyt",
                "cover-levytykset",
                "cover-äänitteet",
                "coverit",
                "koverit",
                "lainakappaleet",
                "cover",
                "cover-versioner",
                "coverversioner"
            ],
            "created_time": "2023-08-16T05:17:03.500829Z",
            "last_modified_time": "2023-08-16T05:17:03.500847Z",
            "aggregate": false,
            "deprecated": false,
            "has_upcoming_events": false,
            "n_events": 0,
            "image": null,
            "data_source": "yso",
            "publisher": "hy:kansalliskirjasto",
            "replaced_by": null,
            "name": {
                "fi": "cover-versiot",
                "sv": "covers",
                "en": "cover versions"
            },
            "@id": "https://linkedevents.api.test.hel.ninja/v1/keyword/yso:p29993/?format=api",
            "@context": "http://schema.org",
            "@type": "Keyword"
        }
    ]
}