FANDOM


The User object encapsulates information about a particular user of Resighting.

Note that the settings attribute is only returned in responses from the User method. All other API methods omit it.

AttributesEdit

Name Type Mandatory Description
username String(20) Yes

The user’s username.

Note that throughout the Resighting website this is referred-to as a handle, however the handle terminology is now being phased-out in favour of username.

user_id String(32) Yes

The unique id for the user.

name String(20) Yes

The user’s name or nickname.

update_date DateTime Yes

The date/time the user was last updated.

joined_date DateTime Yes

The date/time the user joined Resighting.

avatar Avatar No

Details of the user’s avatar, if they have one.

settings Settings No

Settings for the user.

Note that this attribute is only returned in responses from the User method. All other API methods omit it.

ExampleEdit

{
    "update_date": "2012-03-07T11:23:56.888240Z",
    "user_id": "bf10ad015e7b4ceea9279c1b9e8889a5",
    "name": "Matt",
    "joined_date": "2010-03-19T15:53:04.337350Z",
    "settings": {
        "update_date": "2012-04-18T08:52:00.052752Z",
        "distance_unit": "KILOMETRE",
        "tweet_by_default": false,
        "facebook_link_status": "FB_LINKED",
        "twitter_link_status": "TW_LINKED",
        "facebook_publish_by_default": false
    },
    "avatar": {
        "avatar_height": 450,
        "avatar_width": 600,
        "avatar_serving_url": "http://lh6.ggpht.com/jEItPe0EtKFcIIeeqq_Pp8AaLHdZzp9ACT2MPurxf5I6Eln3pjpOnaAm4rR0WAEEStk9HUUIygezuYVboFxF"
    },
    "username": "matt"
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.