# fyi.opensocial.draftFrontPage

> Start making a new group's front page and the layout around its public pages, in its look, into the caller's draft: getSiteDraft says it's being made, then has the draft. Nothing if the caller has a draft already or the site has a front page or layout of its own.

- Kind: procedure
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.draftFrontPage)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.draftFrontPage/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.draftFrontPage/analytics)

## Procedure (`fyi.opensocial.draftFrontPage`)

Type: procedure · POST

### Input (application/json)

- `group` (string · did, required)

### Output (application/json)

- `started` (boolean, required): Whether it's being made: false where the host has nothing to make it with.

### Errors

- `NotFound`: No description in schema.
- `Forbidden`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Start making a new group's front page and the layout around its public pages, in its look, into the caller's draft: getSiteDraft says it's being made, then has the draft. Nothing if the caller has a draft already or the site has a front page or layout of its own.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "group"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "started": {
              "description": "Whether it's being made: false where the host has nothing to make it with.",
              "type": "boolean"
            }
          },
          "required": [
            "started"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.draftFrontPage",
  "lexicon": 1
}
```
