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

# POST /api/revisions

`POST /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/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `Api-Version` string

## Request body

- RegisterRevisionCommand
  - `appStorageId` string, required
  - `revisionNumber` string, required

## Response `200`

Success

## Changes

- **2023-03-10** `4650ad92794e`: 1 breaking, 1 info
  - request body became required
  - added the new optional `header` request parameter `Api-Version`

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/revisions/post.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)
