Save the draft as a version when it changed, publish the latest saved version, and bake its 3D file

The editor’s Save & publish. The project’s privacy is left as it is: a private project stays private. The 3D file bakes after the publish; read it from GET /api/scenes/{id}/glb.

post/api/scenes/{id}/publish

Request

  • Base URL: https://editor.pascal.app
  • URL: https://editor.pascal.app/api/scenes/{id}/publish
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Published

publishedVersioninteger nullable required
didSaveVersionboolean required
didPublishVersionboolean required

False when the latest saved version was already published.

Changes

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