← Prev in month ← Prev in thread

The "meaning" of media types in STIX 2.x

From
Drew Varner
Date
2018-09-11T20:27:00+00:00
ID
Thread
The "meaning" of media types in STIX 2.x
My understanding of what the TAXII media type means has changed.  In 2.0, I understood `application/vnd.oasis.taxii+json; version=2.0` to mean  I am dealing with STIX 2.0 Objects . This was largely by inference, where a 2.0 request received a 2.0 Bundle that seemed to allow only objects with the same STIX version.  Now, when I see a media type of `application/stix+json;version=2.1` I think  I m receiving or sending a STIX 2.1 Bundle.  It could contain STIX 2.0 and/or 2.1 Objects. The only thing I know is that the Bundle itself adheres to the STIX 2.1 standard.  Does the media type in content negotiation represent anything more than the Bundle version in use? To know what STIX versions are in use, I d have to inspect objects in the Bundle. I think implicitly, the media type should represent an upper-bound on underlying STIX JSON versions we send, accept or return. I don t know if that s the case.  - Drew
← Prev in month ← Prev in thread