Skip to content

API documentation data

ddvlanck edited this page Aug 31, 2018 · 3 revisions

Bereikbaar op: /api/documentation. Volgende data worden teruggegeven:

{
        "@context": [
            "http://www.w3.org/ns/hydra/context.jsonld",
            "https://raw.githubusercontent.com/SEMICeu/DCAT-AP/master/releases/1.1/dcat-ap_1.1.jsonld",

            {
                "hydra": "http://www.w3.org/ns/hydra/core#",
                "dc": "http://purl.org/dc/terms/",
                "schema": "https://schema.org/",
                "distributionOf": {"@reverse": "http://www.w3.org/ns/dcat#distribution"},
                "geometry": {
                    "@id": "http://www.w3.org/ns/locn#geometry",
                    "@type": "http://www.opengis.net/ont/geosparql#wktLiteral"
                }
            }
        ],
        "@id": "/api/documentation",
        "@type": "ApiDocumentation, Distribution",
        "hydra:title": "Voorbeeld Event API",
        "hydra:description": "Lorem ipsum dolor sit amet",
        "dc:issued": "2016-01-10",
        "dc:modified": "2018-07-24",
        "dc:license": "http://example.orglicenties/hergebruik/modellicentie_gratis_hergebruik_v1_0.html",
        "hydra:entrypoint": baseUrl + "/api",
        "schema:contactPoint": {
            "schema:contactnaam": "Helpdesk",
            "schema:email": "info@example.org",
            "schema:website": "https://example.org/helpdesk"
        },
        "dc:temporal": {
            "@type": "PeriodOfTime",
            "startDate": "2010-01-01",
            "endDate": "2016-12-31"
        },
        "dc:spatial": {
            "@type": "Location",
            "geometry": "POLYGON((-10.58 70.09,34.59 70.09,34.59 34.56,-10.5834.56))"
        },
        "hydra:supportedClass": [
            {
                "@id": "schema:Event",
                "name": "An Event",
                "label": "Event",
                "supportedProperty": [
                    {
                        "@type": "SupportedProperty",
                        "property": "schema:eventName"
                    },
                    {
                        "@type": "SupportedProperty",
                        "property": "schema:eventDescription"
                    },
                    {
                        "@type": "SupportedProperty",
                        "property": "schema:startDate"
                    },
                    {
                        "@type": "SupportedProperty",
                        "property": "schema:endDate"
                    }
                ]
            }
        ]
}

Clone this wiki locally