mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 10:59:16 +01:00
feat: ✨ Add version discovery system
This commit is contained in:
parent
f2a09a457f
commit
0bd532be3e
8 changed files with 82 additions and 7 deletions
|
|
@ -65,6 +65,7 @@ This is forbidden:
|
|||
```http
|
||||
GET /.versia/v0.6/entities/user/1234
|
||||
Host: example.com
|
||||
Accept: application/vnd.versia+json
|
||||
|
||||
HTTP/1.1 301 Moved Permanently
|
||||
Location: https://example.com/users/1234
|
||||
|
|
@ -74,7 +75,8 @@ This is allowed:
|
|||
```http
|
||||
GET /.versia/v0.6/entities/user/1234
|
||||
Host: example.com
|
||||
Accept: text/html
|
||||
|
||||
HTTP/1.1 301 Moved Permanently
|
||||
Location: https://example.com/.versia/v0.6/entities/user/1234
|
||||
Location: https://example.com/users/1234
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue