# content-reference-attachment

From **GitHub v3 REST API**.

Content Reference attachments allow you to provide context around URLs posted in comments

- Type: `object`

## Properties

### `body`

- Required: true
- Type: `string`
- Example: `Body of the attachment`
- maxLength: `262144`

The body of the attachment

### `id`

- Required: true
- Type: `integer`
- Example: `21`

The ID of the attachment

### `node_id`

- Required: false
- Type: `string`
- Example: `MDE3OkNvbnRlbnRBdHRhY2htZW50MjE=`

The node_id of the content attachment

### `title`

- Required: true
- Type: `string`
- Example: `Title of the attachment`
- maxLength: `1024`

The title of the attachment

## JSON Schema

```json
{"description":"Content Reference attachments allow you to provide context around URLs posted in comments","properties":{"body":{"description":"The body of the attachment","example":"Body of the attachment","maxLength":262144,"type":"string"},"id":{"description":"The ID of the attachment","example":21,"type":"integer"},"node_id":{"description":"The node_id of the content attachment","example":"MDE3OkNvbnRlbnRBdHRhY2htZW50MjE=","type":"string"},"title":{"description":"The title of the attachment","example":"Title of the attachment","maxLength":1024,"type":"string"}},"required":["id","title","body"],"title":"ContentReferenceAttachment","type":"object"}
```
