photo-front/documentation/schemas/User.markdown
Hubert Figuiere 8821395353 Upload works with MySQL and LocalFS. (gh-9 gh-33)
Add "id" to the user table and schema doc.
Fix post and put methods
Add a fsHost of the LocalFS adapter.
2011-08-16 23:36:57 -07:00

902 B

Documentation

OpenPhoto, a photo service for the masses


What's a User object for?

The User object stores information for a given user. This includes the last uploaded Photo and 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