Encounter

Get encounters of a user within a date range

get/encounter/{userId}

Request

  • Base URL: http://localhost:3000/v1
  • URL: http://localhost:3000/v1/encounter/{userId}
  • Auth: none declared

Path parameters

userIdstring required

User ID

Query parameters

startDatestring date-time required

Start date for filtering

endDatestring date-time required

End date for filtering

Response

idstring required

The unique identifier of the encounter

status'not_met' | 'met_not_interested' | 'met_interested' required

The status of the encounter

lastDateTimePassedBystring time required

The date time they were nearby last time.

reportedboolean required

Has this encounter been reported by any of the users

isNearbyRightNowboolean nullable required
amountStreaksnumber required

Example response

[
  {
    "lastLocationPassedBy": {
      "latitude": 40.7128,
      "longitude": -74.006
    }
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.