Skip to main content

Interface: StudioHttpClient

Defined in: studioHttpClient.types.ts:6

The browser-side services backed by a Nubbin Studio HTTP deployment.

Extends​

Methods​

createRoute()​

createRoute(route): Promise<RouteCreateOutcome>

Defined in: studioHttpClient.types.ts:7

Parameters​

route​

string

Returns​

Promise<RouteCreateOutcome>

Overrides​

StudioOperations.createRoute


history()​

history(route): Promise<HistoryReply | undefined>

Defined in: studioOperations.types.ts:10

Parameters​

route​

string

Returns​

Promise<HistoryReply | undefined>

Inherited from​

StudioOperations.history


publish()​

publish(route): Promise<PublishOutcome>

Defined in: studioOperations.types.ts:9

Parameters​

route​

string

Returns​

Promise<PublishOutcome>

Inherited from​

StudioOperations.publish


rollback()​

rollback(route, hash): Promise<PublishOutcome>

Defined in: studioOperations.types.ts:11

Parameters​

route​

string

hash​

string

Returns​

Promise<PublishOutcome>

Inherited from​

StudioOperations.rollback


saveDraft()​

saveDraft(save): Promise<DraftSaveOutcome>

Defined in: studioHttpClient.types.ts:8

Parameters​

save​

DraftSave

Returns​

Promise<DraftSaveOutcome>