Sign in | Sign up

Data Updating

Tagged:

Currently contains 3 posts

Avatar

July 22, 2015 16:34

NBT

Do you ever change an existing data item’s base serving amount and unit? For instance, if a serving is listed as 1 cup, could it be changed to, say, 2 oz and still keep the same id? Or would that be considered a new data item? Thanks.

Avatar

July 23, 2015 17:22

Matt Silverman

It is possible for any attributes to change, which is why we disallow caching of API data. It is crucial to always serve the latest version of the data from the API to the end-user each time they request it.

Avatar

July 23, 2015 17:43

NBT

Gotcha. Thanks.

Reply to thread