# rsvp.atmo.space.getRecord

> Published by [atmo.rsvp](https://lexicon.garden/identity/did:plc:b63bmauox6z5rbibwrhxrdnw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:b63bmauox6z5rbibwrhxrdnw/rsvp.atmo.space.getRecord)
- [Documentation](https://lexicon.garden/lexicon/did:plc:b63bmauox6z5rbibwrhxrdnw/rsvp.atmo.space.getRecord/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:b63bmauox6z5rbibwrhxrdnw/rsvp.atmo.space.getRecord/examples)

## Definitions

### `rsvp.atmo.space.getRecord`

**Type**: `query`

Get a single record from a space.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `rkey` | `string` | Yes |  |
| `author` | `string` (did) | Yes |  |
| `spaceUri` | `string` (at-uri) | Yes |  |
| `collection` | `string` (nsid) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `record` | `ref` → `rsvp.atmo.space.defs#recordView` | Yes |  |

#### Errors

- **NotFound**
- **Forbidden**

## Raw Schema

```json
{
  "id": "rsvp.atmo.space.getRecord",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "record"
          ],
          "properties": {
            "record": {
              "ref": "rsvp.atmo.space.defs#recordView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "spaceUri",
          "collection",
          "author",
          "rkey"
        ],
        "properties": {
          "rkey": {
            "type": "string"
          },
          "author": {
            "type": "string",
            "format": "did"
          },
          "spaceUri": {
            "type": "string",
            "format": "at-uri"
          },
          "collection": {
            "type": "string",
            "format": "nsid"
          }
        }
      },
      "description": "Get a single record from a space."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
