# Remote collections

API to retrieve followers and following collections for remote (federated) users. Fetches collection data from remote ActivityPub servers, resolves actor URIs to user profiles, and returns them in the local user format. Supports pagination via offset/limit parameters. All endpoints are publicly accessible (@PermitAll) and operate on remote users only -- local users are rejected.

## Get remote user's followers

 - [GET /api/v1/users/remote/{userNameFull}/followers](https://docs.wellesley.social/openapi/remote-collections/paths/~1api~1v1~1users~1remote~1%7Busernamefull%7D~1followers/get.md): Retrieves the follower collection of a remote federated user. Fetches the followers from the remote server using ActivityPub protocol. Supports pagination through offset and limit parameters. Only works for remote users, not local users.

## Get remote user's following

 - [GET /api/v1/users/remote/{userNameFull}/following](https://docs.wellesley.social/openapi/remote-collections/paths/~1api~1v1~1users~1remote~1%7Busernamefull%7D~1following/get.md): Retrieves the following collection of a remote federated user. Fetches the list of accounts that the remote user follows from their home server using ActivityPub protocol. Supports pagination through offset and limit parameters. Only works for remote users, not local users.

