Question

My application stores two different types of json data in s3.

For example: Schema-Foo and Schema-Bar.

Up to now I used the content-type application/json for both.

I would like to make a distinction between both types in the s3 storage.

I am unsure what the best way would be.

Is it possible to do something like application/json-schema-foo application/json-schema-bar?

No correct solution

OTHER TIPS

You might be able to use content-type parameters as in

application/json; schema=foo
application/json; schema=bar

I don't know whether adding user-defined parameters is officially blessed, but as long as you're talking between your own pieces of software who is going to punish you?

Licensed under: CC-BY-SA with attribution
scroll top