Endpoint - /articles

Artikelen zijn verhalen, recepten, tipverzamelingen en reisverslagen. Via dit endpoint kunnen de artikelen ver

Params/data

Key Beschrijving
full [bool] Als deze optie wordt ingeschakeld wordt de volledige data van de artikelen teruggegeven. Zie endpoint /articles/{id} voor de volledige veldbeschrijving.
topics [string] een of meerdere topic ids [int] met een - ertussen om ze te onderscheiden. Zie het topics endpoint voor de details van een onderwerp.
article_types [string] een of meerdere article type ids [int] met een - ertussen om ze te onderscheiden. De volgende type ids zijn beschikbaar:
  • 1: verhaal
  • 2: tipverzameling
  • 3: recept
  • 4: reisverslag
modified [Y-m-d H:i:s] Haal alleen evenementen op die gewijzigd zijn sinds de opgegeven datum / tijd

Calls

Endpoint Beschrijving
get/articles Haal artikelen op
get/articles/{id} Haal de details van een enkel artikel op

Voorbeeld response

{
    "articles": [
        {
            "id": "308",
            "url": "http://some.example.com/verhalen/308/op-reis/",
            "canonical": "http://twente2018.other.example.com/Artikelen/308/op-reis/",
            "image": "http://other.example.com/img/15310/DSC_6046.jpg",
            "ovv_image": "http://other.example.com/img/7518/DSC_5963.jpg",
            "typeid": "4",
            "type": "Reisverslag",
            "is_advertorial": "",
            "author_name": "Hendrik Met achternaam",
            "title": "OP reis met een verslag",
            "subtitle": "En ondertiteling",
            "description": "Fugit pariatur amet fugiat sit. Possimus qui debitis et in vel. Dolorem tempore ...",
            "tipcount": "0",
            "pubdate": "2021-07-08T10:06:00+02:00",
            "archivedate": "2021-07-08T10:06:00+02:00",
            "lastmodified": "2021-07-12T11:49:17+02:00"
        },
        {
            "id": "307",
            "url": "http://some.example.com/verhalen/307/haring-met-maggi/",
            "canonical": "http://some.example.com/verhalen/307/haring-met-maggi/",
            "image": "http://other.example.com/img/13364/DSC_6128.jpg",
            "ovv_image": "",
            "typeid": "3",
            "type": "Recept",
            "is_advertorial": "",
            "author_name": "Janneke de Schrijver",
            "title": "Haring met maggi",
            "subtitle": "Allememaggies wat lekker",
            "description": "Ducimus fugiat quos modi vel. Fuga ad incidunt iusto rerum. Ipsam dolorem volupt...",
            "tipcount": "0",
            "pubdate": "2021-03-11T21:36:00+01:00",
            "archivedate": "2021-03-11T21:36:00+01:00",
            "lastmodified": "2021-03-11T21:39:03+01:00"
        },
        {
            "id": "306",
            "url": "http://some.example.com/verhalen/306/tipverzameling-met-tips/",
            "canonical": "http://some.example.com/verhalen/306/tipverzameling-met-tips/",
            "image": "http://other.example.com/img/15307/DSC_6127.jpg",
            "ovv_image": "http://other.example.com/img/7521/DSC_6051.jpg",
            "typeid": "2",
            "type": "Tipverzameling",
            "is_advertorial": "",
            "author_name": "Donald Trump",
            "title": "Tipverzameling met 3 tips",
            "subtitle": "Ondertiteling staat aan",
            "description": "Bekijk hier consequatur aut placeat ducimus autem vel iste a. Repellendus igniss...",
            "tipcount": "3",
            "pubdate": "2021-03-11T21:22:00+01:00",
            "archivedate": "2021-03-11T21:22:00+01:00",
            "lastmodified": "2021-03-15T21:58:55+01:00"
        },
        {
            "id": "305",
            "url": "http://some.example.com/verhalen/305/tekstartikel/",
            "canonical": "http://some.example.com/verhalen/305/tekstartikel/",
            "image": "http://other.example.com/img/15310/DSC_6046.jpg",
            "ovv_image": "http://other.example.com/img/18837/DSC_6048.jpg",
            "typeid": "1",
            "type": "Artikel",
            "is_advertorial": "",
            "author_name": "Janneke de Schrijver",
            "title": "Tekstartikel",
            "subtitle": "Met een ondertitel",
            "description": "Sit et molestiae omnis ab delectus cum sunt. Dolores autem culpa itaque qui ipsa...",
            "tipcount": "0",
            "pubdate": "2021-03-11T21:20:00+01:00",
            "archivedate": "2021-03-11T21:20:00+01:00",
            "lastmodified": "2021-03-11T21:22:42+01:00"
        },
        {
            "id": "235",
            "url": "http://some.example.com/verhalen/235/Kruudmoes/",
            "canonical": "http://hanze.other.example.com/Verhalen/235/Kruudmoes/",
            "image": "http://other.example.com/img/8910/DSC_6123.jpg",
            "ovv_image": "",
            "typeid": "3",
            "type": "Recept",
            "is_advertorial": "",
            "author_name": "Donald Trump",
            "title": "Kruudmoes met video",
            "subtitle": "",
            "description": "Eaque nobis animi placeat. Dignissimos et ab sint delectus rerum. Excepturi sunt...",
            "tipcount": "0",
            "pubdate": "2019-11-05T20:16:00+01:00",
            "archivedate": "2019-11-05T20:16:00+01:00",
            "lastmodified": "2019-12-09T00:40:32+01:00"
        }
    ]
}

Details velden

id
Het ID van het artikel
url
Het adres van het artikel in de huidige site
canonical
Het canonical adres van het artikel (kan afwijken van url wanneer het artikel uit een andere site geimporteerd is)
image
Hoofdafbeelding van het artikel
ovv_image
Een foto die extra toegevoegd kan zijn voor gebruik in de overzichtsweergave. Deze is meestal geschikter voor vierkantere uitsnedes
typeid
Type id van het artikel
type
Artikeltype
is_advertorial
Betreft het een advertorial?
author_name
Naam van de auteur
title
Titel van het artikel
subtitle
Ondertitel
description
Inleiding / korte samenvatting van het artikel
tipcount
Aantal tips in de verzameling (als het een tipverzameling betreft)
pubdate
Publicatiedatum in ISO 8601 formaat
archivedate
Archiefdatum in ISO 8601 formaat.
lastmodified
Modification date in ISO 8601 formaat