JSON::APIid used to be a string and is now an integer.JSON::API pagination is not supported anymore (see “Pagination” below), which means the response won’t include links attribute anymore.data property anymore.relationships attributes won’t be included anymore.When a response contains a paginated list, it will include a specific next header which value is the URL to follow to retrieve the next page.
Example:
Link = <http://api-eu.getaround.com/owner/v1/unavailabilities?end_date=2022-08-30T01%3A52%3A00.000Z&page=2&per_page=2&start_date=2022-08-01T01%3A52%3A00.000Z>; rel="next"
Pagination is handled with the two following URL parameters:
page: page number, integer, starting at 1per_page: number of items provided per page, integer, 25 by defaulttrip renamingtrip was renamed in rental to match our product naming. The following endpoints are affected:
GET /owner/v1/invoicesGET /owner/v1/trips/:trip_id/invoices
GET /owner/v1/rentals/:rental_id/invoicesGET /owner/v1/trips
GET /owner/v1/rentalsGET /owner/v1/trips/:id
GET /owner/v1/rentals/:idGET /owner/v1/checkins
trip_id to rental_id