# com.getorbyt.graph.syncNetworkFollows

> Published by [getorbyt.com](https://lexicon.garden/identity/did:plc:2xrqztnmzlckb3xfuuukupso)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.graph.syncNetworkFollows)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.graph.syncNetworkFollows/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2xrqztnmzlckb3xfuuukupso/com.getorbyt.graph.syncNetworkFollows/examples)

## Definitions

### `com.getorbyt.graph.syncNetworkFollows`

**Type**: `procedure`

Read the viewer's follow records on the connected network from their own repository and refresh the service's copy, which find-friends and friend-joined alerts are computed from. Incremental; a full reconciliation runs when due. Repeated calls within a short interval return the previous result. Requires service auth.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `complete` | `boolean` | Yes | False when the account follows more accounts than the service keeps; the newest are kept. |
| `follows` | `integer` | Yes | Network follows now on record for the viewer. |
| `syncedAt` | `string` (datetime) | Yes |  |

#### Errors

- **AuthenticationRequired**
- **RepositoryUnavailable**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Read the viewer's follow records on the connected network from their own repository and refresh the service's copy, which find-friends and friend-joined alerts are computed from. Incremental; a full reconciliation runs when due. Repeated calls within a short interval return the previous result. Requires service auth.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "RepositoryUnavailable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "complete": {
              "description": "False when the account follows more accounts than the service keeps; the newest are kept.",
              "type": "boolean"
            },
            "follows": {
              "description": "Network follows now on record for the viewer.",
              "minimum": 0,
              "type": "integer"
            },
            "syncedAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "syncedAt",
            "follows",
            "complete"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.getorbyt.graph.syncNetworkFollows",
  "lexicon": 1
}
```
