Giter Site home page Giter Site logo

Comments (9)

cpeters avatar cpeters commented on August 9, 2024 1

@dominicsayers The API has been updated to include the external_id of each field returned in an item_diff query. If you run into any issues please reach out to us.

from podio-rb.

cpeters avatar cpeters commented on August 9, 2024

There is an external_id on an item and item_field. There is no external_id on an item_diff. This property appears to have been added to the item_diff model by mistake. There is no use case for referencing an item_diff with an external_id. The diff of an item is generated during an API call and never persisted. You cannot reference an item_diff with an external_id

There will be a fix to the library.

Thanks for pointing out the issue.

from podio-rb.

dominicsayers avatar dominicsayers commented on August 9, 2024

Just seems odd that the label is populated but the external_id isn't. Seems a bit arbitrary to populate one and not the other.

I have used the external_id in my app to associate Podio fields with my app's fields. I chose external_id because it was more human-readable than the field_id. It works well with every API call except this one.

from podio-rb.

cpeters avatar cpeters commented on August 9, 2024

I think what you are asking for is not an external_id of an item_diff object; but an external_id of each field returned in the item_diff query response. Is that correct?

from podio-rb.

dominicsayers avatar dominicsayers commented on August 9, 2024

@cpeters sorry if I wasn't clear! I should have been more careful in my original description. Yes, you are quite correct; I believe the external_id could usefully be included for each changed field in the diff.

from podio-rb.

cpeters avatar cpeters commented on August 9, 2024

@dominicsayers Thank you for the feedback regarding the API. I have added a feature request to include the external_id of each field returned when querying an item_diff

from podio-rb.

dominicsayers avatar dominicsayers commented on August 9, 2024

Just checked it. That's awesome, @cpeters. Thank you!

from podio-rb.

dominicsayers avatar dominicsayers commented on August 9, 2024

The only other thing you could do is update the excellent documentation to reflect the changed format of the returned data. Just a suggestion.

from podio-rb.

cpeters avatar cpeters commented on August 9, 2024

Documentation will be updated. Thanks @dominicsayers

from podio-rb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.