unikraft api is quite nice. However, in the -d flag, it only takes full JSON bodies.
Ideally we would also support something like the nested JSON syntax of https://httpie.io/docs/cli/nested-json, and make sure it's documented on our generated markdown docs (like here). Also see the docs here: https://unikraft.com/docs/api/platform/v1/instances
Examples:
unikraft api /v1/volumes name=data size_mb:=256
unikraft api /v1/something 'tags[]=production' 'tags[]=eu-west'
Internal issue: https://linear.app/unikraft/issue/TOOL-927/use-nested-json-syntax-in-unikraft-api
unikraft apiis quite nice. However, in the-dflag, it only takes full JSON bodies.Ideally we would also support something like the nested JSON syntax of https://httpie.io/docs/cli/nested-json, and make sure it's documented on our generated markdown docs (like here). Also see the docs here: https://unikraft.com/docs/api/platform/v1/instances
Examples:
unikraft api /v1/volumes name=data size_mb:=256unikraft api /v1/something 'tags[]=production' 'tags[]=eu-west'Internal issue: https://linear.app/unikraft/issue/TOOL-927/use-nested-json-syntax-in-unikraft-api