Re: [media-types] Re: Rethinking Media Types

ProtoBuf (https://protobuf.dev/) and similar RPC-like schemes render "Media Types", HTTP verbs, and oddities like HATEOAS less useful.

Personally, I'm working with an entirely different concept which I believe is more future-proof than trying to fix HTTP.

- Each data item represents a clearly identifiable object like:
   1010(["https://example.com/my-cbor-object", {
     1: "data",
     2: "more data"
   }])

- To permit API (and object) updates in a dynamic environment where not all parties are at the same level, discovery services are used.  These are ideally found through ./well-known/ extensions.
   Predecessor in JSON: https://test.webpki.org/saturn-payerbank/

- Only GET and POST verbs are used.  Media Types for HTTP bodies are limited to application/cbor

Anders

https://cyberphone.github.io/doc/defensive-publications/authority-objects.pdf

Received on Sunday, 12 January 2025 08:07:09 UTC