# ai.newnal.illi.parent.putSlot

> Set the name and honorific of a linked parent as the family and the device show them (root or main admin). Writes a new parentSlot record into the caller's repo in the family sphere; the newest record per slot wins.

- Kind: procedure
- Authority: parent.illi.newnal.ai
- Lexicon: 1
- Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.parent.putSlot)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.parent.putSlot/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.parent.putSlot/analytics)

## Procedure (`ai.newnal.illi.parent.putSlot`)

Type: procedure · POST

### Input (application/json)

- `homeId` (string · tid, required)
- `honorific` (string, required)
  - Constraints: maxLength: 32
- `name` (string, required)
  - Constraints: maxLength: 64
- `slot` (integer, required)
  - Constraints: minimum: 1, maximum: 2

### Output (application/json)

- `cid` (string · cid, required)
- `slot` (integer, required)
- `uri` (string · at-uri, required)

### Errors

- `NotAdmin`: No description in schema.
- `ParentSlotEmpty`: No description in schema.
- `HomeNotFound`: No description in schema.
- `PdsUnavailable`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set the name and honorific of a linked parent as the family and the device show them (root or main admin). Writes a new parentSlot record into the caller's repo in the family sphere; the newest record per slot wins.",
      "errors": [
        {
          "name": "NotAdmin"
        },
        {
          "name": "ParentSlotEmpty"
        },
        {
          "name": "HomeNotFound"
        },
        {
          "name": "PdsUnavailable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "honorific": {
              "maxLength": 32,
              "type": "string"
            },
            "name": {
              "maxLength": 64,
              "type": "string"
            },
            "slot": {
              "maximum": 2,
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "homeId",
            "slot",
            "name",
            "honorific"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "slot": {
              "type": "integer"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid",
            "slot"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.parent.putSlot",
  "lexicon": 1
}
```
