Skip to content

API Routes

Emily Parkes edited this page Jun 14, 2023 · 12 revisions

Creations

GET /api/v1/creations

returns

[{}]

POST /api/v1/creations/new-creation

sends

{
	"clayId": 1,
	"glazes": [{"id": 1, "glaze": "Clear"}],
	"name": "Espresso mini",
	"note": "hi",
	"shapeId": 1,
 	"statusId": 1,
	"weight": "123"
}

returns

{
	"id": 12,
	"clayId": 1,
	"clay": "White",
	"shapeId": 1,
	"shape": "Coffee Cup",
	"statusId": 1,
	"status": "Wet",
	"weightLeatherHard": null,
	"weightBoneDry": null,
	"weightBisqueFired": null,
	"weightGlazed": null,
	"weightComplete": null,
	"dateCreated": null,
	"dateComplete": null,
	"description": null,
	"note": "hi",
	"name": "Espresso mini",
	"imgLeatherHard": null,
	"imgBisqueFired": null,
	"imgGlazed": null,
	"imgComplete": null,
	"imgGallery": null,
	"glazes": [
		{
			"id": 1,
			"glaze": "Clear"
		}
	]
}

Table of Contents

Design

Front-End

Back-End

Clone this wiki locally