Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-5925

FIWARE.Request.Tech.Data.CKAN.API DATA LAB PROBLEM

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      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.
      _____

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-tech-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help
      [Created via e-mail received from: =?iso-8859-1?Q?Pablo_L=F3pez_-_JMP_ingenieros_SL?= <pablo.lopez@jmpingenieros.es>]

      1. image001.gif
        75 kB
      2. image004.jpg
        5 kB

        Activity

        Hide
        ckan-fiware-okfn OKFN CKAN team added a comment -

        Hi Pablo,

        Thank you for your questions. This is now logged in our system and a CKAN expert will get back to you at the beginning of next week.

        Many thanks,

        Jo

        Show
        ckan-fiware-okfn OKFN CKAN team added a comment - Hi Pablo, Thank you for your questions. This is now logged in our system and a CKAN expert will get back to you at the beginning of next week. Many thanks, Jo
        Hide
        ckan-fiware-okfn OKFN CKAN team added a comment -

        Hi Pablo,

        The API output for `orgnaization_show` changed at some point between 2.2 and the current CKAN version because of performance issues (you can track changes in the API on the CHANGELOG: http://docs.ckan.org/en/latest/changelog.html#id1).

        In any case, you can get the list of datasets including resources for a particular organization quite easily using the search API (package_search):

        https://data.lab.fiware.org/api/3/action/package_search?q=organization:logrono

        More info on package_search:

        http://docs.ckan.org/en/latest/api/index.html#ckan.logic.action.get.package_search

        Hope this helps,

        Adrià

        Show
        ckan-fiware-okfn OKFN CKAN team added a comment - Hi Pablo, The API output for `orgnaization_show` changed at some point between 2.2 and the current CKAN version because of performance issues (you can track changes in the API on the CHANGELOG: http://docs.ckan.org/en/latest/changelog.html#id1 ). In any case, you can get the list of datasets including resources for a particular organization quite easily using the search API (package_search): https://data.lab.fiware.org/api/3/action/package_search?q=organization:logrono More info on package_search: http://docs.ckan.org/en/latest/api/index.html#ckan.logic.action.get.package_search Hope this helps, Adrià
        Hide
        ckan-fiware-okfn OKFN CKAN team added a comment -

        Hi Pablo,

        Just checking that you received the below reply. And there, for i'm assuming the issue is resolved and so closing the ticket.

        The API output for `orgnaization_show` changed at some point between 2.2 and the current CKAN version because of performance issues (you can track changes in the API on the CHANGELOG: http://docs.ckan.org/en/latest/changelog.html#id1).

        In any case, you can get the list of datasets including resources for a particular organization quite easily using the search API (package_search):

        https://data.lab.fiware.org/api/3/action/package_search?q=organization:logrono

        More info on package_search:

        http://docs.ckan.org/en/latest/api/index.html#ckan.logic.action.get.package_search

        Hope this helps,

        Adrià

        Show
        ckan-fiware-okfn OKFN CKAN team added a comment - Hi Pablo, Just checking that you received the below reply. And there, for i'm assuming the issue is resolved and so closing the ticket. The API output for `orgnaization_show` changed at some point between 2.2 and the current CKAN version because of performance issues (you can track changes in the API on the CHANGELOG: http://docs.ckan.org/en/latest/changelog.html#id1 ). In any case, you can get the list of datasets including resources for a particular organization quite easily using the search API (package_search): https://data.lab.fiware.org/api/3/action/package_search?q=organization:logrono More info on package_search: http://docs.ckan.org/en/latest/api/index.html#ckan.logic.action.get.package_search Hope this helps, Adrià

          People

          • Assignee:
            ckan-fiware-okfn OKFN CKAN team
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: