Quote Favorite
The quote favorite resource.
Base/quoteFavorite
GET
/quoteFavoriteList quote favorites
Retrieve a paginated list of quote favorites. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
GET/quoteFavorite
curl --request GET \
--url '<your-host>/quoteFavorite?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"quoteId": "xyz789",
"userId": "xyz789"
}
]GET
/quoteFavoriteRetrieve a quote favorite
Fetch a single quote favorite by filtering on `quoteId`.
Query parameters
quoteIdstringMatch on the quote favorite's `quoteId`, e.g. `eq.{id}`.
GET/quoteFavorite
curl --request GET \
--url '<your-host>/quoteFavorite?quoteId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'Response
{
"quoteId": "xyz789",
"userId": "xyz789"
}POST
/quoteFavoriteCreate a quote favorite
Create a new quote favorite.
POST/quoteFavorite
curl --request POST \
--url <your-host>/quoteFavorite \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"quoteId":"xyz789"}'Response
{
"quoteId": "xyz789",
"userId": "xyz789"
}PATCH
/quoteFavoriteUpdate a quote favorite
Update an existing quote favorite, matched on `quoteId`.
PATCH/quoteFavorite
curl --request PATCH \
--url '<your-host>/quoteFavorite?quoteId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"name":"Example"}'Response
{
"quoteId": "xyz789",
"userId": "xyz789"
}DELETE
/quoteFavoriteDelete a quote favorite
Delete a quote favorite, matched on `quoteId`. Returns 204 No Content.
Query parameters
quoteIdstringThe `quoteId` of the quote favorite to delete, e.g. `eq.{id}`.
DELETE/quoteFavorite
curl --request DELETE \
--url '<your-host>/quoteFavorite?quoteId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content