Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update api.mdx #513

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,10 @@ Geocodes the requester's IP, converting IP address to city, state, and country.

<span className="badge badge--success">GET</span> <code>https://api.radar.io/v1/geocode/ip</code>

###### Query parameters

- **`ip`** (string, optional): The IP address to geocode (for server-side implementations.)

###### Authentication level

Publishable
Expand Down Expand Up @@ -2048,6 +2052,8 @@ Lists trips. Trips are sorted descending by `eta`.
- **`destinationGeofenceExternalId`** (string, optional): Retrieves trips with the destination geofence external ID.
- **`externalId`** (string, optional) Retrieves trips by unique IDs. A string, comma-separated including one or more IDs.
- **`userId`** (string, optional): The Radar `_id` of the [user](/api#users) for which the trip is being tracked.
- **`metadataKey`** (string, optional): Retrieves trips that have a specified trip `metadata` key.
- **`metadataValue`** (string, optional): Retrieves trips that have a specified trip `metadata` key value.
Comment on lines +2055 to +2056
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you include one, do you have to include the other? At least for metadataValue right?

- **`includeLocations`** (boolean, optional): Whether to include locations on trips. Defaults to `false`.
- **`createdAfter`** (datetime, optional): A cursor for use in pagination. Retrieves trips created after the specified datetime. A date or valid ISO date string.
- **`createdBefore`** (datetime, optional): A cursor for use in pagination. Retrieves trips created before the specified datetime. A date or valid ISO date string.
Expand Down
Loading