---
title: "GET /api/revisions"
method: GET
path: "/api/revisions"
tags: ["revisions"]
---

# GET /api/revisions

`GET /api/revisions`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/revisions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `pageIndex` integer
- `pageSize` integer
- `searchText` string

## Headers

- `Api-Version` string

## Response `200`

Success

- RevisionItemPage
  - `items` RevisionItem[], required
    - `id` string, uuid, required
    - `appId` string, uuid, required
    - `revisionNumber` string, required
    - `components` RevisionComponentDto[], required
      - `id` string, uuid, required
      - `source` string, required
      - `name` string, required
      - `route` string, nullable
      - `type` string, nullable
    - `lastModified` string, date-time
  - `totalItems` integer, required
  - `pageIndex` integer, required
  - `pageSize` integer, required
  - `isLastPage` boolean, required

## Changes

- **2024-05-01** `78d366daf86a`: 6 warning
  - removed the optional property `items/items/components/items/channel` from the response with the `200` status (media type: text/plain)
  - removed the optional property `items/items/components/items/channel` from the response with the `200` status (media type: application/json)
  - removed the optional property `items/items/components/items/channel` from the response with the `200` status (media type: text/json)
  - removed the optional property `items/items/type` from the response with the `200` status (media type: text/plain)
  - …2 more
- **2023-09-28** `da6d9622301d`: 3 info
  - added the optional property `items/items/lastModified` to the response with the `200` status (media type: text/plain)
  - added the optional property `items/items/lastModified` to the response with the `200` status (media type: application/json)
  - added the optional property `items/items/lastModified` to the response with the `200` status (media type: text/json)
- **2023-06-05** `d1b9c0738a92`: 1 info
  - added the new optional `query` request parameter `searchText`
- **2023-03-10** `4650ad92794e`: 1 info
  - added the new optional `header` request parameter `Api-Version`

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/revisions/get.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
