# app.didpic.write.createFollow

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.write.createFollow)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.write.createFollow/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.write.createFollow/examples)

## Definitions

### `app.didpic.write.createFollow`

**Type**: `procedure`

Create an app.didpic.graph.follow record on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only).

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subjectDid` | `string` (did) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create an app.didpic.graph.follow record on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only).",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subjectDid": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "subjectDid"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.write.createFollow",
  "lexicon": 1
}
```
