QEverCloud
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::PublicUserInfo Struct Reference

This structure is used to provide publicly-available user information about a particular account. More...

Public Member Functions

bool operator!= (const PublicUserInfo &other) const
 
bool operator== (const PublicUserInfo &other) const
 

Public Attributes

Optional< QString > noteStoreUrl
 This field will contain the full URL that clients should use to make NoteStore requests to the server shard that contains that user's data. More...
 
Optional< PrivilegeLevel::type > privilege
 The privilege level of the account, to determine whether this is a Premium or Free account.
 
QString shardId
 DEPRECATED - Client applications should have no need to use this field.
 
UserID userId
 The unique numeric user identifier for the user account.
 
Optional< QString > username
 NOT DOCUMENTED.
 
Optional< QString > webApiUrlPrefix
 This field will contain the initial part of the URLs that should be used to make requests to Evernote's thin client "web API", which provide optimized operations for clients that aren't capable of manipulating the full contents of accounts via the full Thrift data model. More...
 

Detailed Description

This structure is used to provide publicly-available user information about a particular account.

Member Data Documentation

Optional< QString > qevercloud::PublicUserInfo::noteStoreUrl

This field will contain the full URL that clients should use to make NoteStore requests to the server shard that contains that user's data.

I.e. this is the URL that should be used to create the Thrift HTTP client transport to send messages to the NoteStore service for the account.

Optional< QString > qevercloud::PublicUserInfo::webApiUrlPrefix

This field will contain the initial part of the URLs that should be used to make requests to Evernote's thin client "web API", which provide optimized operations for clients that aren't capable of manipulating the full contents of accounts via the full Thrift data model.

Clients should concatenate the relative path for the various servlets onto the end of this string to construct the full URL, as documented on our developer web site.