ASI/people/:user_id/@friends

GET ^top

Gets a list of this user's friends.

Parameters

sortBy

(Optional) A field according to which the results should be sorted.

Currently only supported is status_changed that will sort the results based on the date of last status message change.

page

Page to show.

per_page

Number of items to show.

sortOrder

(Optional) Valid values are ascending (default) and descending.

Returns

  • 200 - OK

POST ^top

Adds a new connection to this user. The connection is added as pending and changed to accepted after the friend accepts the request.

Parameters

friend_id

The id of the friend being requested.

Access

Self

Returns

  • 200 - OK
  • 400 - If this user is an association.

SUBRESOURCES ^top