photo-front/documentation/schemas/User.markdown
2011-07-18 20:57:30 -07:00

1,009 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 personal information like name and email address but it also includes the last uploaded Photo id.


Schema for a User object

{
  name: (string),
  email: (string),
  website: (string),
  lastPhotoId: (string)
}

Schema description

  • name, the user's full name
  • email, the user's email address
  • website, the user's website
  • lastPhotoId, most recent photo id