New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relax version URL query parameter to accept partial timestamp values #61
Comments
I’m against adding this. We can already express this using the current format. |
@varnerac actually no, we can not. 2018-01-01T00:00:00.001Z for example is in fact a real time that someone might want to query on. |
Sorry. Hit wrong button and closed. |
I read this too quickly. I think this warrants a new predicate to express version ranges, rather than deviating from the current |
But for this field value, we do not define it as needing to be a timestamp type since some object types other than STIX might have a different version field. |
Well, non-STIX content has the option of using any I'd prefer explicit range operators rather than override |
For what it's worth, the "TAXII Information Request and Response" proposal addresses this use case. |
you can use ISO 8601 Time Intervals: https://en.wikipedia.org/wiki/ISO_8601#Time_intervals These are computers, calculating time intervals are easy, and they can fully fill out the time. People should not be generating query strings/parameters by hand by themselves, their client should be. |
All,
Right now in the URL Query Parameter section 3.4.1 for specifying a version, we have the following text for calling out a specific value.
I propose that we change this text to be:
The reason for this change is to allow a client to ask for "?match[version]=2017-01" and get all of the STIX objects and their versions from January 2017 but not from December 2016 or earlier or from February 2017 or later.
The text was updated successfully, but these errors were encountered: