mirror of
https://gitlab.com/t6353/sharee.bike.wiki.git
synced 2024-12-22 15:46:26 +01:00
Update 3. sharee.bike API description
This commit is contained in:
parent
c79036e724
commit
ceffcf3b89
1 changed files with 12 additions and 1 deletions
|
@ -13,7 +13,18 @@ The data exchange format is based on HTTP's REST methods.
|
|||
|
||||
**Rental bike bookings** are only possible after successful user authentication.
|
||||
|
||||
The primary server (uri_primary) is used for user authentication. During the "booking_request" rental bike, the operator server responsible for the rental process (uri_operator) is delivered in the rental bike JSON object.
|
||||
The primary server (uri_primary) is used for:
|
||||
- request=authentication
|
||||
- request=authout
|
||||
- request=stations_available
|
||||
- request=bikes_available
|
||||
- request=user_bikes_occupied
|
||||
- request=user_minianswer
|
||||
|
||||
During rental bike, the operator server responsible for the rental process (uri_operator) is delivered in the rental bike JSON object. It is usesd for:
|
||||
- request=booking_request
|
||||
- request=booking_update
|
||||
- request=user_feedback
|
||||
|
||||
**encoding** UTF-8. All scalar JSON values are delivered as data type "char" (text).
|
||||
|
||||
|
|
Loading…
Reference in a new issue