---
title: "Update a project"
method: PATCH
path: "/api/v1/projects/{id}"
tags: ["projects"]
---

# Update a project

`PATCH /api/v1/projects/{id}`

## Request

- Base URL: `https://goshipyard.app`
- URL: `https://goshipyard.app/api/v1/projects/{id}`
- Auth: HTTP bearer

Partial update — send only the fields to change. Owner only. `slug`, counters, `featured` and `created_at` are server-managed and cannot be set.

## Request body

- UpdateProjectRequest: Any subset of the editable fields.
  - `title` string
  - `pitch` string
  - `url` string, uri
  - `repo_url` string
  - `category` 'devtools' | 'ai' | 'games' | 'productivity' | 'design' | 'social' | 'data' | 'creative' | 'other'
  - `body` string

## Response `200`

The updated project.

- Project
  - `id` string, required
  - `slug` string, required
  - `owner_handle` string, required
  - `title` string, required
  - `pitch` string, required
  - `body` string, required: Long-form markdown.
  - `url` string, uri, required
  - `repo_url` string, required
  - `category` 'devtools' | 'ai' | 'games' | 'productivity' | 'design' | 'social' | 'data' | 'creative' | 'other', required
  - `upvotes` integer, required
  - `reviews` integer, required
  - `featured` boolean, required
  - `voted` boolean: Whether the caller has upvoted this project. Present on single-project reads (GET /projects/{id}) and the upvote endpoints; omitted from list responses.
  - `created_at` string, date-time, required
  - `images` ProjectImage[], required
    - `ordinal` integer, required: 0 = hero, 1–2 = gallery.
    - `url` string, uri, required
  - `html_url` string, uri, required: Human-facing project page.

## Other responses

- `401`: Missing or invalid API key.
- `403`: Authenticated, but not the owner of this resource.
- `404`: Resource not found.
- `422`: Request failed validation.
- `429`: Too many requests — slow down.

---

[API](https://skmtc.dev/goshipyard/apis/shipyard-api.md) · [All operations](https://skmtc.dev/goshipyard/apis/shipyard-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goshipyard/apis/shipyard-api/revisions/8f12372f1065?raw)
