Admin

Validate expose manifest against project schema

Validate an expose manifest against the current project schema plus optional parsed migration_sql. The endpoint is non-mutating: it does not apply the manifest, execute SQL, create deploy plans, upload content, commit releases, update internal.project_manifest, or reload PostgREST.

post/projects/v1/admin/{project_id}/expose/validate

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1/admin/{project_id}/expose/validate
  • Auth: HTTP bearer

Path parameters

project_idstring required

Run402 project ID. Public IDs are not UUIDs.

Example:prj_1741340000_0042

Request body

manifestobject required

Expose manifest v1 JSON object. Shape failures are returned as schema-shape validation issues.

migration_sqlstring

Optional SQL parsed only for CREATE TABLE/VIEW/FUNCTION and ALTER TABLE ADD COLUMN reference checks. It is never executed.

Response

Validation result. Returned even when has_errors is true.

has_errorsboolean required

True when errors is non-empty.

Changes

No recorded changes to this operation across all 1 revision of this API.