Partager via


Person (JSON)

Metadata about a single Person in the People system.

Person

The Person object has the following specification.

Member Type Description
xuid string Required. Xbox User ID (XUID) in decimal form. Example value: 2603643534573573.
isFavorite Boolean value Required. Whether this person is one that the user cares about more. Because users can have a very large number of people in their People list, favorite people should be prioritized in experiences and shown before others that are not favorites.
isFollowingCaller Boolean value Optional. Whether this person is following the user on whose behalf the API call was made.
socialNetworks array of string Optional. Within which external networks the user and this person have a relationship.

Sample JSON syntax

{
    "xuid": "2603643534573581",
    "isFavorite": false,
    "isFollowingCaller": false,
    "socialNetworks": ["LegacyXboxLive"]
}
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference

Reference

/users/{ownerId}/people/{targetid}

/users/{ownerId}/people/xuids