capture API version in routes
Needed so the client can send it.
This commit is contained in:
parent
751b8e0baf
commit
a3dd8b4bcb
3 changed files with 127 additions and 73 deletions
|
@ -38,8 +38,8 @@ to P2P protocol versions.
|
|||
The protocol version comes before the request. Eg: `/git-annex/v3/put`
|
||||
|
||||
If the server does not support a particular protocol version, the
|
||||
request will fail with a 404, and the client should fall back to an earlier
|
||||
protocol version.
|
||||
request will fail with a 400 Bad Request, and the client should fall
|
||||
back to an earlier protocol version.
|
||||
|
||||
## common request parameters
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue