---
title: "ContentReferenceAttachment"
url: "https://kiwi.arashsheyda.me/apis/git-hub-v3-rest-api-1/versions/4cb06d26-20a0-409c-8492-8406889b7eb4/schemas/content-reference-attachment"
---

> Full API specification: https://kiwi.arashsheyda.me/apis/git-hub-v3-rest-api-1/versions/4cb06d26-20a0-409c-8492-8406889b7eb4.md

# ContentReferenceAttachment

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

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: GitHub v3 REST API
  version: 1.1.4
servers:
  - url: "{protocol}://{hostname}/api/v3"
    variables:
      hostname:
        description: Self-hosted Enterprise Server or Enterprise Cloud hostname
        default: HOSTNAME
      protocol:
        description: Self-hosted Enterprise Server or Enterprise Cloud protocol
        default: http
components:
  schemas:
    content-reference-attachment:
      title: ContentReferenceAttachment
      description: Content Reference attachments allow you to provide context around
        URLs posted in comments
      type: object
      properties:
        id:
          description: The ID of the attachment
          example: 21
          type: integer
        title:
          description: The title of the attachment
          example: Title of the attachment
          type: string
          maxLength: 1024
        body:
          description: The body of the attachment
          example: Body of the attachment
          type: string
          maxLength: 262144
        node_id:
          description: The node_id of the content attachment
          example: MDE3OkNvbnRlbnRBdHRhY2htZW50MjE=
          type: string
      required:
        - id
        - title
        - body
```
