Skip to content

Add missing endpoints #18

Description

@agraebe

I doubled checked which methods are provided by the SDK compared to the documentation. The SDK lacks the following:

  • [PATCH] /v1/requests/current
  • [GET] /v1/requests/{request_id}/receipt
  • [POST] /v1/reminders
  • [GET] /v1/reminders/{reminder_id}
  • [PATCH] /v1/reminders/{reminder_id}
  • [DELETE] /v1/reminders/{reminder_id}

Overview

HTTP MethodEndpointAuth MethodRequired ScopeMethod
GET/v1/productsOAuth or server_tokengetProducts
GET/v1/products/{product_id}OAuth or server_tokengetProduct
PUT/v1/sandbox/products/{product_id}OAuth or server_token(Sandbox mode)updateSandboxProduct
GET/v1/estimates/priceOAuth or server_tokengetPriceEstimates
GET/v1/estimates/timeOAuth or server_tokengetPickupTimeEstimate
GET/v1.2/historyOAuthhistory or history_litegetUserActivity
GET/v1/meOAuthprofilegetUserProfile
POST/v1/requestsOAuthrequest (privileged)requestRide
GET/v1/requests/currentOAuthrequest (privileged) or all_trips (privileged)getCurrentRide
PATCH/v1/requests/currentOAuthrequest (privileged)X
DELETE/v1/requests/currentOAuthrequest (privileged)cancelCurrentRide
POST/v1/requests/estimateOAuthrequest (privileged)estimateRide
GET/v1/requests/{request_id}OAuthrequest (privileged)getRideDetails
PATCH/v1/requests/{request_id}OAuthrequest (privileged)updateRide
PUT/v1/sandbox/requests/{request_id}OAuthrequest (privileged & Sandbox mode )updateSandboxRide
DELETE/v1/requests/{request_id}OAuthrequest (privileged)cancelRide
DELETE/v1/requests/currentOAuthrequest (privileged)cancelCurrentRide
GET/v1/requests/{request_id}/mapOAuthrequest (privileged)getRideMap
GET/v1/requests/{request_id}/receiptOAuthrequest_receipt (privileged)X
GET/v1/places/{place_id}OAuthplacesgetPlace
PUT/v1/places/{place_id}OAuthplacessetPlace
GETv1/payment-methodsOAuthrequest (privileged)getPaymentMethods
POST/v1/remindersserver_tokenX
GET/v1/reminders/{reminder_id}server_tokenX
PATCH/v1/reminders/{reminder_id}server_tokenX
DELETE/v1/reminders/{reminder_id}server_tokenX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions