GET ​/api​/v3​/account​/mutual_followers​/autocomplete

Performs autcomplete against an account’s mutual followers (friends).

Request

Example Request

{
  "auth_token": "abc1245920feab98ca",
  "query": "chri"
}

Example Parameters

  • auth_token: The user's auth_token obtained by calling the auth API.

    • Required: yes
    • Type: string
    • Example: abc1245920feab98ca
  • query: The query string used for autocomplete.

    • Required: yes
    • Type: string
    • Example: chri

Response

Example Response

{
  "followers": [
    {
      "id": 29921,
      "username": "goose",
      "full_name": "Nick Bradshaw",
      "avatar": {
        "small": "http://deli.dev/assets/default-avatar-mobile_small-03.png",
        "large": "http://deli.dev/assets/default-avatar-mobile_large-03.png"
      },
      "follows_you": true,
      "you_follow": true
    }
  ]
}

Response Parameters

  • followers: A list of the mutual followers that match the query.

    • Required: yes
    • Type: array
    • Items

      • Required: no
      • id: The id of the follower account.
        • Required: yes
        • Type: integer
        • Example: 29921
      • username: The follower account's username.
        • Required: yes
        • Type: string
        • Example: goose
      • full_name: The follower account's full name.
        • Required: yes
        • Type: string
        • Example: Nick Bradshaw
      • avatar: The avatar of the follower. Pass the DELI-RETINA header to receive high-resolution versions of these.

        • Required: yes
        • small: The small avatar URL, useful when displaying in lists.
          • Required: yes
          • Type: string
          • Format: uri
          • Example: http://deli.dev/assets/default-avatar-mobile_small-03.png
        • large: The large avatar URL, useful when displaying on a single profile screen.
          • Required: yes
          • Type: string
          • Format: uri
          • Example: http://deli.dev/assets/default-avatar-mobile_large-03.png
      • follows_you: This key is left in for consistency with other responses. Will always be true for this endpoint.

        • Required: yes
        • Type: boolean
        • Example: true
      • you_follow: Indicates whether or not the logged in user follows this account back.

        • Required: yes
        • Type: boolean
        • Example: true

Response Codes

Successful Response Codes

  • 200: Successful response.

Failure Response Codes

  • 401: Unauthorized request. Indicates a missing or invalid auth_token.