getDream
GET/dreams/:id
Get a single Dream.
Request
Path Parameters
id uuidrequired
Responses
- 200
- 404
Requested resource
- application/json
- Schema
- Example (from schema)
Schema
dream
object
id uuid
targetCents integer
Represents how much money (in cents or the smallest currency subunit) the User wants to save to complete this Dream.
type string
expiresAt ISO-8601 Date (extended format with separators)
(Optional) Date before which the User wants to complete this Dream.
achievedAt RFC3339
DateTime when the dream was completed.
name string
user
object
type stringrequired
id stringrequired
externalId string
groupDream
object
(Optional) GroupDream this Dream is a part of.
type stringrequired
id stringrequired
account
object
The Account connected to this Dream.
type stringrequired
id stringrequired
externalId string
{
"dream": {
"id": "844830a8-b845-4cbc-b79f-865cd8c8aa8e",
"targetCents": 102000,
"type": "Dream",
"expiresAt": "2006-01-02",
"achievedAt": "2006-01-02T15:04:05Z",
"name": "Trip to Japan",
"user": {
"type": "string",
"id": "string",
"externalId": "string"
},
"groupDream": {
"type": "string",
"id": "string"
},
"account": {
"type": "string",
"id": "string",
"externalId": "string"
}
}
}
Dream not found
Loading...