[ckan-dev] CKAN API 'extras' field

Pedro G Silva pedro.gracio at deimos.com.pt
Thu Feb 11 11:45:33 UTC 2016


   - extras:
   [
      -
      {
         - key: "Datatype",
         - value: "Grid"
         },
      -
      {
         - key: "Start Time",
         - value: "2015-11-27T00:00:00"
         },
      -
      {
         - key: "Stop Time",
         - value: "2015-12-03T00:00:00"
         },
      -
      {
         - key: "spatial",
         - value:
"{"type":"Polygon","crs":{"type":"EPSG","properties":{"code":4326,"coordinate_order":"Long,Lat"}},"coordinates":[[[-8.8,39.8],[-8.8,40.4],
         [-9.4,40.4], [-9.4,39.8], [-8.8,39.8]]]}"
         }
      ],


On Thu, Feb 11, 2016 at 10:58 AM, Mike Sinclair <mm.sinclair08 at gmail.com>
wrote:

> Is there something I am doing wrong here? extras seem to break it..
>
> {
>     "name": "cemeteries13",
>     "title": "Cemeteries13",
>     "owner_org": "test",
>     "groups": [
>     {"name": "arts-and-culture"}
>     ],
>     "url": "upload",
>     "notes": "something here",
>     "state": "Active",
>     "extras": [
>       {"test": "the thing"}]
> }
>
>>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 


[image: DEIMOS Engenharia, SA] <http://www.deimos.pt>
*Pedro Gracio Silva*
Aerospace Systems / Production Center

*Av. D. Joao II, Lt 1.17.01, 10 • 1998-023 Lisboa, Portugal*
Ph: +351 21 893 3020 • Fax: +351 21 896 9099
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160211/7bdb0050/attachment-0003.html>


More information about the ckan-dev mailing list