# at.happyproto.registry.getProject

> One plugin, by publisher and name.

- Kind: query
- Authority: registry.happyproto.at
- Lexicon: 1
- Published by [happyproto.at](https://lexicon.garden/identity/did:plc:mo7vq4jbioxwafy5zkcc3eux), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mo7vq4jbioxwafy5zkcc3eux/at.happyproto.registry.getProject)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mo7vq4jbioxwafy5zkcc3eux/at.happyproto.registry.getProject/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mo7vq4jbioxwafy5zkcc3eux/at.happyproto.registry.getProject/analytics)

## Query (`at.happyproto.registry.getProject`)

Type: query · GET

### Parameters (query string)

- `actor` (string · at-identifier, required): The publisher, as a DID or a handle. A handle is accepted only when it and its DID point at each other.
- `name` (string, required): The project's name, which is the record key of its software.release.project: 1 to 64 lowercase letters, digits and interior hyphens.
  - Constraints: minLength: 1, maxLength: 64

### Output (application/json)

- `schema` (ref)
  - Reference: `at.happyproto.registry.defs#projectView`

### Errors

- `ProjectNotFound`: No project of that name is indexed for that publisher.
- `ActorNotFound`: actor is neither a DID nor a handle that resolves to one.
- `NotConfigured`: The registry has no identity configured, so it cannot read its own state. An operator problem, not a caller's.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One plugin, by publisher and name.",
      "errors": [
        {
          "description": "No project of that name is indexed for that publisher.",
          "name": "ProjectNotFound"
        },
        {
          "description": "actor is neither a DID nor a handle that resolves to one.",
          "name": "ActorNotFound"
        },
        {
          "description": "The registry has no identity configured, so it cannot read its own state. An operator problem, not a caller's.",
          "name": "NotConfigured"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "at.happyproto.registry.defs#projectView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "The publisher, as a DID or a handle. A handle is accepted only when it and its DID point at each other.",
            "format": "at-identifier",
            "type": "string"
          },
          "name": {
            "description": "The project's name, which is the record key of its software.release.project: 1 to 64 lowercase letters, digits and interior hyphens.",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "actor",
          "name"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "at.happyproto.registry.getProject",
  "lexicon": 1
}
```
