by hummingn3rd · 4y ago · 0 comments
It uses Accept and Content-Type to version resources: application/vnd.company.article-v1+json
I only half agree with the sentiment that /api/v1 violates REST patterns. I don't think there's any guarantee that /api/v1/bars/123 can't be the same object as /api/v2/bars/123.