回應的JSON結構

以下是CKAN應用程式介面成功請求時所回傳的例子:

{
    "help": "Return a list of the names of the site’s datasets (packages).\n\n …",
    "result": [
        "centaline-centanetod-ccipropertyinfo",
        "clp-team1-electric-vehicle-charging-location",
        "hk-afcd-afcdlist-pesticides-licensee-1",
        "hk-afcd-afcdlist-pesticides-licensee-2",
        …
    ],
    "success": true
}

help: CKAN應用程式介面中對於該請求所使用的應用程式介面功能描述。 result: 對於該請求的回傳結果。結果中的資料類別及值會因不同的應用程式介面功能而異。 success: true 或 false,代表該請求成功與否。

results matching ""

    No results matching ""