32 lines
783 B
Markdown
32 lines
783 B
Markdown
Schema for a User object
|
|
=======================
|
|
|
|
|
|
----------------------------------------
|
|
|
|
### What's a User object for?
|
|
|
|
The User object stores information for a given user.
|
|
This includes the last uploaded [Photo][Photo] and [Action][Action] id.
|
|
|
|
----------------------------------------
|
|
|
|
### Schema for a User object
|
|
|
|
{
|
|
id: (string),
|
|
lastPhotoId: (string),
|
|
lastActionId: (string)
|
|
}
|
|
|
|
----------------------------------------
|
|
|
|
### Schema description
|
|
|
|
* id, the user id
|
|
* lastPhotoId, most recent photo id
|
|
* lastActionId, most recent action id
|
|
|
|
[User]: http://theopenphotoproject.org/documentation/schemas/User
|
|
[Photo]: http://theopenphotoproject.org/documentation/schemas/Photo
|
|
[Action]: http://theopenphotoproject.org/documentation/schemas/Action
|