BlueprintApi
Defined in: packages/sdk/src/resources/BlueprintApi.ts:13
The blueprint is the canvas-graph view of a website’s pages, routes,
and services. get returns nodes + edges; setPositions persists
drag-to-arrange offsets.
Extends
Section titled “Extends”Resource
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BlueprintApi(
opts):BlueprintApi
Defined in: packages/sdk/src/request.ts:93
Parameters
Section titled “Parameters”Returns
Section titled “Returns”BlueprintApi
Inherited from
Section titled “Inherited from”Resource.constructor
Methods
Section titled “Methods”get(
websiteId):Promise<BlueprintGraph>
Defined in: packages/sdk/src/resources/BlueprintApi.ts:14
Parameters
Section titled “Parameters”websiteId
Section titled “websiteId”string
Returns
Section titled “Returns”Promise<BlueprintGraph>
setPositions()
Section titled “setPositions()”setPositions(
websiteId,update):Promise<{updated:number; }>
Defined in: packages/sdk/src/resources/BlueprintApi.ts:17
Parameters
Section titled “Parameters”websiteId
Section titled “websiteId”string
update
Section titled “update”BlueprintPositionsUpdate
Returns
Section titled “Returns”Promise<{ updated: number; }>