[Fiware-tech-help] API DATA LAB PROBLEM

Pablo López - JMP ingenieros SL pablo.lopez at jmpingenieros.es
Thu Feb 18 17:03:05 CET 2016


Hi
 
We have detected a change in the functioning of the open data of fiware
(CKAN). Before, with the instruction "organization show" the system returns:
 
1.       information of "packages".
2.       list of "resources" of those packages.
 
 
For example:
 
    "display_name": "Logroño",
    "description": "Open Data from Logroño",
    "packages": [
      {
                 "owner_org": "ae9c6707-3574-4654-8f81-6431e8eea352",
"maintainer": null,
"relationships_as_object": [],
                 "private": false,
                 "maintainer_email": null,
                 "num_tags": 0,
                 "id": "ba2c8d52-a086-4c88-bf6e-8631d3957b7b",
                 "metadata_created": "2014-11-18T15:16:10.317535",
                 "metadata_modified": "2016-02-18T13:18:40.092488",
                 "author": null,
                 "author_email": null,
                 "state": "active",
                 "version": null,
                "license_id": null,
                "type": "dataset",
                "num_resources": 6,
"resources": [
      {
        "cache_last_updated": null,
        "package_id": "b4792bd3-c5b2-4959-bb08-4ac756b0cab4",
        "webstore_last_updated": null,
        "datastore_active": true,
        "id": "0c0612cf-097e-412c-ba1f-a7c4589a936a",
        "size": null,
        "state": "active",
        "hash": "",
        "description": "",
        "format": "XLSX",
        "last_modified": null,
        "url_type": null,
        "mimetype": null,
        "cache_url": null,
        "name": "PO-01 LICENCIAS Y AUTORIZACIONES",
        "created": "2014-11-18T16:16:26.523889",
        "url":
"https://data.lab.fiware.org/datastore/dump/0c0612cf-097e-412c-ba1f-a7c4589a
936a",
        "webstore_url": null,
        "mimetype_inner": null,
        "position": 0,
        "revision_id": "bfe38239-f04d-4b8a-bdd2-00b1118bf52a",
        "resource_type": "DEFECTO"
      },
      {
        "cache_last_updated": null,
        "package_id": "b4792bd3-c5b2-4959-bb08-4ac756b0cab4",
        "webstore_last_updated": null,
        "datastore_active": true,
        "id": "9b9b1a34-0a97-4a25-80ba-291ad5def9aa",
        "size": null,
        "state": "active",
        "hash": "",
        "description": "",
        "format": "XLSX",
        "last_modified": null,
        "url_type": null,
        "mimetype": null,
        "cache_url": null,
        "name": "PO-02 DESARROLLO URBANO",
        "created": "2014-11-18T16:16:28.273568",
        "url":
"https://data.lab.fiware.org/datastore/dump/9b9b1a34-0a97-4a25-80ba-291ad5de
f9aa",
        "webstore_url": null,
        "mimetype_inner": null,
        "position": 1,
        "revision_id": "086fa382-06a0-4bfa-9f04-7144a0808d2b",
        "resource_type": "DEFECTO"
      },

..
                
        "tags": [],
        "title": "proc_apoyo",
        "groups": [],
        "creator_user_id": "e10a6cea-7ae2-41a5-8a11-4ddaf905509c",
        "relationships_as_subject": [],
        "name": "proc_apoyo",
        "isopen": false,
        "url": null,
        "notes": null,
        "license_title": null,
        "extras": [],
        "revision_id": "7b578fc7-14d4-42f8-b22e-14ac10334fc1"
      },
 
Now, does not return the red lines (see example above).  The version we used
was 2.2  and the URL used to get data is:
 
 
<https://data.lab.fi-ware.org/api/3/action/organization_show?id=logrono&incl
ude_datasets=true>
https://data.lab.fi-ware.org/api/3/action/organization_show?id=logrono&inclu
de_datasets=true
 
 
Some way to get the information as before?
 
Thank’s and best regards,
 
 

 


Pablo López Barrio
JMP ingenieros SL - Div.Sistemas
Camino.San Miguel s/nº - Sotés, La Rioja (E26371) España
 <http://www.jmpingenieros.es/> http://www.jmpingenieros.es
Tel.+34.941.441.909
  _____  

 La información que contiene este correo electrónico es confidencial y
compete exclusivamente al destinatario. Si Vd. ha recibido esta comunicación
por error, por favor notifíquelo inmediatamente al remitente y borre el
mensaje junto con sus ficheros anexos sin leerlo, copiarlo, grabarlo,
distribuirlo, divulgarlo ó hacer cualquier otro uso de la información sin el
consentimiento de JMP ingenieros, S.L., quien hace reserva de las acciones
legales que le correspondan contra todo tercero que acceda de forma
ilegítima a su contenido.
P Por favor, considere su responsabilidad medioambiental. Antes de imprimir
el mensaje, asegúrese de si necesita una copia en papel.
The information contained in this electronic mail is confidential and is
intended solely for the recipient.  Should you have received this mail by
error, please immediately notify the sender and delete this message together
with its attachments and abstain from reading, copying, saving, distributing
or disclosing or making any use of this information without the consent of
JMP ingenieros, S.L., who reserves the right to undertake legal action
against any third party that accesses its content illegitimately. 
P Please consider the environment and do not print this email unless
absolutely necessary.
  _____  

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20160218/ee609a72/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 77233 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20160218/ee609a72/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 4941 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20160218/ee609a72/attachment.jpg>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy