Proposer
ODI
Use Case
Make RPDE easier to consume by enforcing integer modified date and afterTimestamp. Allowing modified to be either string or integer causes issues when using the modified date for cache invalidation, as both cases must be considered in the data store and application layer.
Proposal
Enforce integer modified date and afterTimestamp as MUSTs.
Examples
{
"next": "http://api.letsride.co.uk/public/v1/rides?afterTimestamp=1453931925&afterId=2710",
"items": [
{
"state": "updated",
"id": 2710,
"kind": "event",
"modified": 1453931925,
"data": {}
}
],
"license": "https://creativecommons.org/licenses/by/4.0/"
}
Proposer
ODI
Use Case
Make RPDE easier to consume by enforcing integer
modifieddate and afterTimestamp. Allowingmodifiedto be either string or integer causes issues when using the modified date for cache invalidation, as both cases must be considered in the data store and application layer.Proposal
Enforce integer
modifieddate and afterTimestamp as MUSTs.Examples