projects

Create Project

Create a new project (or upsert if ID already exists).

post/api/projects/

Request

  • Base URL: https://api.pcbgenerator.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pcbgenerator.com/api/projects/
  • Auth: HTTP bearer

Request body

idstring required

Unique project ID (designId from frontend)

namestring

Project name

current_phaseinteger

Current phase number

completed_phasesinteger[]

List of completed phase numbers

phase_dataobject

Phase data as JSONB

progressinteger

Progress percentage

created_at_localstring nullable

Local timestamp without timezone

updated_at_localstring nullable

Local timestamp without timezone

timezonestring nullable

IANA timezone string (e.g., 'America/New_York')

Response

Successful Response

idstring required
namestring required
current_phaseinteger required
completed_phasesinteger[] required
progressinteger required
created_atstring required
updated_atstring required

Changes

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