---
title: "Approve or reject a community submission (editors + admins)."
method: PATCH
path: "/api/admin/resource-submissions/{id}"
tags: ["resources"]
---

# Approve or reject a community submission (editors + admins).

`PATCH /api/admin/resource-submissions/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `id` string, required

## Request body

- ReviewSubmissionRequest: An editor's verdict on a submission. `status` must be `approved` or `rejected`; `review_note` is an optional message (e.g. a rejection reason).
  - `review_note` string, nullable
  - `status` 'pending' | 'approved' | 'rejected', required: Review state of a resource that entered via community submission.

## Response `200`

Submission reviewed

- ResourceSubmissionResponse: One entry in the editor review queue: the proposed resource plus the context an editor needs to judge it (where it anchors, who suggested it).
  - `book_slug` string, required
  - `book_title` string, required
  - `resource` ResourceResponse, required: The proposed resource, in the same shape the reader renders. `review_status` on this object carries the submission's current state.
    - `admin_notes` string, nullable
    - `anchor_sentence_end_number` integer, nullable
    - `anchor_sentence_start_number` integer, required
    - `created_at` string, required
    - `editor_note` string, nullable
    - `id` string, required
    - `is_featured` boolean, required
    - `is_projected` boolean, required: True when this entry is projected from a sibling edition of the same work (its anchor lives in `origin_book_slug`, not the requested book). Projected entries are read-only in the requesting edition.
    - `origin_book_slug` string, nullable
    - `origin_language` string, nullable
    - `projected_sentence_end_number` integer, nullable
    - `projected_sentence_start_number` integer, nullable: Target-local sentence range covering the projected anchor, for placement in the requesting edition. Absent when the anchor's passage has no counterpart there.
    - `quoted_text` string, nullable
    - `resource_type` 'verbatim' | 'paraphrase' | 'allusion', required: Stored as the Postgres enum `resource_type`.
    - `review_status` 'pending' | 'approved' | 'rejected', required: Lifecycle: "approved" for live resources, "pending" for a community submission awaiting review, "rejected" for a declined one. The reader only ever receives "approved" rows plus the caller's own "pending" ones.
    - `scope` 'work' | 'language' | 'edition', required: Cataloguer's claim about what the resource is about: "work" (the passage in any form), "language" (this language's translation layer), or "edition" (this one edition's actual text). Label only — never affects which editions the resource appears on.
    - `sentence_kind` 'body' | 'footnote' | 'figure', required: Stored as the Postgres enum `sentence_kind`.
    - `source` SourceResponse, nullable
      - `created_by` string, required
      - `doi` string, nullable
      - `edition` string, nullable
      - `id` string, required
      - `isbn` string[], nullable
      - `journal_name` string, nullable
      - `original_year` integer, nullable: Year of the edition this text presents, when it differs from the printing transcribed (CSL "original-date"). NULL = same as `publication_year`.
      - `original_year_circa` boolean: `original_year` is a scholarly estimate rather than an imprint date, as for ancient works. Cites with Chicago's "ca." prefix.
      - `page_end` integer, nullable
      - `page_start` integer, nullable
      - `parent` ParentSourceResponse, nullable
        - `id` string, required
        - `persons` SourcePersonResponse[], required
          - `created_by` string, required
          - `name` string, required
          - `person_id` string, required
          - `position` integer, required
          - `protected` boolean, required
          - `role` 'author' | 'editor' | 'translator' | 'contributor', required: Stored as the Postgres enum `source_person_role`.
          - `sort_name` string, nullable
        - `publication_year` integer, nullable
        - `publisher` string, nullable
        - `source_type` 'book' | 'article' | 'chapter' | 'journal' | 'web', required: Stored as the Postgres enum `source_type`.
        - `title` string, required
      - `persons` SourcePersonResponse[], required
        - `created_by` string, required
        - `name` string, required
        - `person_id` string, required
        - `position` integer, required
        - `protected` boolean, required
        - `role` 'author' | 'editor' | 'translator' | 'contributor', required: Stored as the Postgres enum `source_person_role`.
        - `sort_name` string, nullable
      - `protected` boolean, required
      - `publication_place` string, nullable
      - `publication_year` integer, nullable
      - `publisher` string, nullable
      - `source_type` 'book' | 'article' | 'chapter' | 'journal' | 'web', required: Stored as the Postgres enum `source_type`.
      - `title` string, required
      - `title_display` string, nullable
      - `translation_of_id` string, nullable
      - `url` string, nullable
      - `volume` string, nullable
    - `source_location_freeform` string, nullable
    - `source_page_end` integer, nullable
    - `source_page_start` integer, nullable
    - `verbatim_kind` 'entirety' | 'fragmentary', nullable: Stored as the Postgres enum `verbatim_kind`.
  - `review_note` string, nullable
  - `reviewed_at` string, nullable
  - `submitter` ResourceSubmitter, nullable
    - `display_name` string, required
    - `id` string, required

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Insufficient permissions
- `404`: Submission not found

## Changes

- **2026-09-10** `95fbdb1b2a1c`: 1 info
  - added the optional property `resource/source/oneOf[#/components/schemas/SourceResponse]/original_year_circa` to the response with the `200` status
- **2026-08-22** `1f567b50f90c`: 2 breaking, 30 warning
  - added `#/components/schemas/VerbatimKind, subschema #1` to the `resource/verbatim_kind` response property `oneOf` list for the response status `200`
  - the `resource/verbatim_kind` response's property type changed from `string, null` to no type for status `200`
  - added the new `allusion` enum value to the `resource/resource_type` response property for the response status `200`
  - added the new `approved` enum value to the `resource/review_status` response property for the response status `200`
  - …28 more
- **2026-07-30** `a08afe312404`: 2 info
  - added the optional property `resource/source/oneOf[#/components/schemas/SourceResponse]/original_year` to the response with the `200` status
  - added the optional property `resource/source/oneOf[#/components/schemas/SourceResponse]/publication_place` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/scholia-study/apis/scholia-api/changes/api/admin/resource-submissions/:id/patch.md)

---

[API](https://skmtc.dev/scholia-study/apis/scholia-api.md) - [All operations](https://skmtc.dev/scholia-study/apis/scholia-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scholia-study/apis/scholia-api/revisions/684b3751bfd3?raw)
