---
title: "POST /registry-git/{asset}/{namespace}/{slug}/propose"
method: POST
path: "/registry-git/{asset}/{namespace}/{slug}/propose"
tags: ["registry-git"]
---

# POST /registry-git/{asset}/{namespace}/{slug}/propose

`POST /registry-git/{asset}/{namespace}/{slug}/propose`

Propose an edit to a git-sourced document as a pull request on the linked repo

## Path parameters

- `asset` 'apis' | 'schemas', required
- `namespace` string, required
- `slug` string, required

## Request body

- object
  - `version` string, required
  - `document` string, required
  - `message` string
  - `baseSha` string

## Response `200`

Default Response

- object
  - `prNumber` number, required
  - `prUrl` string, required
  - `branch` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

- **2026-08-21** `4efa9fcf5c1e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/scalar/apis/core/changes/registry-git/:asset/:namespace/:slug/propose/post.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/2c53f2191a3e/schema)
