getDreamInspirations
Get all Dream Inspirations in a paginated listing.
Query Parameters
- page integer
Possible values:
>= 1
Default value:
1
The page number in a paginated listing.
- items integer
Possible values:
>= 1
and<= 20
Default value:
20
The number of items to return on each page.
Responses
- 200
Requested page of dream inspirations
- application/json
- Schema
- Example (from schema)
Schema
dreamInspirations object[]
Array [id uuid requiredtranslatedName object
[locale] stringtargetCents integerPossible values:
>= 1
and<= 9223372036854776000
Default value:
0
durationSeconds integerimageUrl stringtype string requiredPossible values: [
DreamInspiration
]]meta object
next_url urlURL for the next page.
count integerThe total count of items.
items integerThe number of returned items on this page.
pages integerThe number of pages.
from integerIndex of the first item on this page (starting from 1).
to integerIndex of the last item on this page.
{
"dreamInspirations": [
{
"id": "844830a8-b845-4cbc-b79f-865cd8c8aa8e",
"translatedName": {
"en": "Translated string with %{interpolations} for the `en` locale",
"xx": "Or any other locale you wish to support"
},
"targetCents": 5000,
"durationSeconds": "string",
"imageUrl": "string",
"type": "DreamInspiration"
}
],
"meta": true
}
Loading...