v1

latestOpenAPI 3.0.0AGPLv3.02026-07-14186117194.3 KB
Instance Follows

List instances followed by the server

get/api/v1/server/following

Query parameters

state'pending' | 'accepted'
actorType'Person' | 'Application' | 'Group' | 'Service' | 'Organization'
startinteger

Offset used to paginate results

countinteger

Number of items to return

sortstring
Example:-createdAt

Sort column

Response

successful operation

totalinteger

Example response

{
  "data": [
    {
      "follower": {
        "id": 42,
        "name": "chocobozzz"
      },
      "following": {
        "id": 42,
        "name": "chocobozzz"
      },
      "id": 42
    }
  ],
  "total": 1
}