siderolabs / image-factory

A service to generate Talos boot assets
Mozilla Public License 2.0
60 stars 16 forks source link

[WIP] add support for returning just the schematic id without json #151

Open TMaYaD opened 3 weeks ago

TMaYaD commented 3 weeks ago

Client can request to skip the json encoding by requesting text/plain in Accept header.

This is a non-working PoC written in browser. If you like the direction, I can add tests/clean-up etc and submit a proper PR.

smira commented 3 weeks ago

Thank you, I think this looks a possible solution