GET
/
rental
/
{id}
Get a rental
curl --request GET \
  --url https://lightyshare.com/api/token-secured/rental/{id} \
  --header 'Authorization: Bearer <token>'
{
  "rentals": {}
}

Authorizations

Authorization
string
header
required

Use your API token in the Authorization header with Bearer scheme. Alternative: You can also pass the token as a query parameter ?token=your_token for backward compatibility.

Path Parameters

id
integer
required

Resource identifier

Example:

12345

Query Parameters

token
string
required

User authentication token

Example:

"YOUR_TOKEN"

Response

Rental details

rentals
object

Rental details (rental and selectAccounts serialization groups if paid)