API has or version number indicating whether the data has changed

  • Posted March 28, 2019
  • API

I would like to know if it is possible for the API team to add a version number or hash for each of the lists (regions, sizes, images). I have commands for refreshing and updating my database from the DO API, but perhaps this could be more controlled if there is some indication that a change in the data actually occurred. Even a “seconds since epoch” time stamp would be enough to know that an update is required.

Hitting the DO API in real time when someone is selecting a region, then size, then image is really slow, and not really necessary. Hence my local caching of the data.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer


While this is not currently something that we do, it may be a great idea to post on our idea portal to see if others would like to see this as well:

When we make changes to our API it is very important to us that we do so in a way that is non-destructive, so as to not break anyone’s existing workflows. For the most part, we do not receive complaints that workflows have been broken due to API changes as a result of our careful attention to any changes made.