Added Vaults
A vault says when it was last opened, who is in it and how many dates are due
Every vault now carries last_visited_at, faces (up to four contacts, each with an id, a name and an avatar_url) and upcoming_reminder_count, on the list, on a single vault and on what creating or updating one returns. Listing vaults also takes sort=recent, which puts the vault opened most recently first.
Why it changed
A client can draw the same vault cards as the vaults page of the application without working any of it out itself.
Changes
| Field | Change | Endpoints |
|---|---|---|
last_visited_at |
Added |
GET
/vaults
GET
/vaults/{vault}
POST
/vaults
PUT
/vaults/{vault}
|
faces |
Added |
GET
/vaults
GET
/vaults/{vault}
POST
/vaults
PUT
/vaults/{vault}
|
upcoming_reminder_count |
Added |
GET
/vaults
GET
/vaults/{vault}
POST
/vaults
PUT
/vaults/{vault}
|
sort |
Added |
GET
/vaults
|