---
title: "Get all references of a content."
method: GET
path: "/api/content/{app}/{schema}/{id}/references"
tags: ["Contents"]
---

# Get all references of a content.

`GET /api/content/{app}/{schema}/{id}/references`

You can read the generated documentation for your app at /api/content/{appName}/docs.

## Path parameters

- `app` string, required
- `schema` string, required
- `id` string, required

## Query parameters

- `q` string, nullable

## Headers

- `X-Fields` string
- `X-Flatten` boolean
- `X-Languages` string
- `X-Unpublished` boolean
- `X-NoSlowTotal` boolean
- `X-NoTotal` boolean

## Response `200`

Contents returned.

- ContentsDto
  - `_links` object, required — The links.
  - `total` integer, required — The total number of content items.
  - `items` ContentDto[], required — The content items.
    - `_links` object, required — The links.
    - `id` string, required — The if of the content item.
    - `createdBy` string, required — The user that has created the content item.
    - `lastModifiedBy` string, required — The user that has updated the content item.
    - `data` unknown, required
    - `referenceData` ContentData
    - `created` string, date-time, required — The date and time when the content item has been created.
    - `lastModified` string, date-time, required — The date and time when the content item has been modified last.
    - `status` string, required — The status of the content.
    - `newStatus` string, nullable — The new status of the content.
    - `statusColor` string, required — The color of the status.
    - `newStatusColor` string, nullable — The color of the new status.
    - `editToken` string, nullable — The UI token.
    - `scheduleJob` ScheduleJobDto
      - `id` string, required — The ID of the schedule job.
      - `status` string, required — The new status.
      - `dueTime` string, date-time, required — The target date and time when the content should be scheduled.
      - `color` string, required — The color of the scheduled status.
      - `scheduledBy` string, required — The user who schedule the content.
    - `schemaId` string, required — The ID of the schema.
    - `schemaName` string, nullable — The name of the schema.
    - `schemaDisplayName` string, nullable — The display name of the schema.
    - `referenceFields` FieldDto[], nullable — The reference fields.
      - `_links` object, required — The links.
      - `fieldId` integer, required — The ID of the field.
      - `name` string, required — The name of the field. Must be unique within the schema.
      - `isHidden` boolean, required — Defines if the field is hidden.
      - `isLocked` boolean, required — Defines if the field is locked.
      - `isDisabled` boolean, required — Defines if the field is disabled.
      - `partitioning` string, required — Defines the partitioning of the field.
      - `properties` FieldPropertiesDto, required
        - `label` string, nullable — Optional label for the editor.
        - `hints` string, nullable — Hints to describe the field.
        - `placeholder` string, nullable — Placeholder to show when no value has been entered.
        - `isRequired` boolean — Indicates if the field is required.
        - `isRequiredOnPublish` boolean — Indicates if the field is required when publishing.
        - `isHalfWidth` boolean — Indicates if the field should be rendered with half width only.
        - `editorUrl` string, nullable — Optional url to the editor.
        - `tags` string[], nullable — Tags for automation processes.
        - `fieldType` string, required
      - `nested` NestedFieldDto[], nullable — The nested fields.
        - `_links` object, required — The links.
        - `fieldId` integer, required — The ID of the field.
        - `name` string, required — The name of the field. Must be unique within the schema.
        - `isHidden` boolean, required — Defines if the field is hidden.
        - `isLocked` boolean, required — Defines if the field is locked.
        - `isDisabled` boolean, required — Defines if the field is disabled.
        - `properties` FieldPropertiesDto, required
          - `label` string, nullable — Optional label for the editor.
          - `hints` string, nullable — Hints to describe the field.
          - `placeholder` string, nullable — Placeholder to show when no value has been entered.
          - `isRequired` boolean — Indicates if the field is required.
          - `isRequiredOnPublish` boolean — Indicates if the field is required when publishing.
          - `isHalfWidth` boolean — Indicates if the field should be rendered with half width only.
          - `editorUrl` string, nullable — Optional url to the editor.
          - `tags` string[], nullable — Tags for automation processes.
          - `fieldType` string, required
    - `isDeleted` boolean, required — Indicates whether the content is deleted.
    - `version` integer, required — The version of the content.
  - `statuses` StatusInfoDto[], required — The possible statuses.
    - `status` string, required — The name of the status.
    - `color` string, required — The color of the status.

## Other responses

- `404` — Content, schema or app not found.
- `500` — Operation failed.

---

[API](https://skmtc.net/squidex/apis/squidex-api.md) · [All operations](https://skmtc.net/squidex/apis/squidex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/squidex/squidex-api/versions/b4a9b62f113a/schema)
