Ending support of JSON::API

Pagination

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:

Resource trip renaming

trip was renamed in rental to match our product naming. The following endpoints are affected: