update readme for optional schedule
This commit is contained in:
parent
924547c316
commit
c5a5e33256
|
@ -156,10 +156,11 @@ The app exposes the following [gRPC](https://grpc.io/) services :
|
|||
- **strict** (boolean, optional): if set to true, allow matching only with similar frequency ads (_default : false_)
|
||||
- **fromDate**: start date for recurrent ad, carpool date for punctual ad
|
||||
- **toDate**: end date for recurrent ad, same as fromDate for punctual ad
|
||||
- **schedule**: an array of schedule items, a schedule item containing :
|
||||
- **schedule**: an optional array of schedule items, a schedule item containing :
|
||||
- the week day as a number, from 0 (sunday) to 6 (saturday) if the ad is recurrent (default to fromDate day for punctual search)
|
||||
- the departure time (as HH:MM)
|
||||
- the margin around the departure time in seconds (optional) (_default : 900_)
|
||||
_If the schedule is not set, the driver departure time is guessed to be the ideal departure time to reach the passenger, and the passenger departure time is guessed to by the ideal pick up time for the driver_
|
||||
- **seatsProposed** (integer, optional): number of seats proposed as driver (_default : 3_)
|
||||
- **seatsRequested** (integer, optional): number of seats requested as passenger (_default : 1_)
|
||||
- **waypoints**: an array of addresses that represent the waypoints of the journey (only first and last waypoints are used for passenger ads). Note that positions are **required** and **must** be consecutives
|
||||
|
|
Loading…
Reference in New Issue