Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Timestamp asset_meta_value rows #81
It's annoying that you don't know when a tag was added/updated on a host. The actual under the hood implementation of this is quite straight forward but the API update is tricky.
Currently each tag/value is returned in an ATTRIBS object with the JSON API. This is a flat KEY/VALUE representation, which doesn't lend itself to having a VALUE which is an object (that could itself contain both the actual value and a timestamp).
This might be a good candidate for the API version router. We could create a new API version and implement support in the client, and roll this out everywhere. Once that's done we can default to the new version.
This could be problematic for people with their own client libraries but this could be a slow rollout along with a collins 3.0 version tag.
I would love for the ATTRIBS object to look something like:
This would allow you to create tag/attributes that can automatically expire which can be helpful for tags that shouldn't be long lived.