Skip to content

backends-web-backend


Class: EsWorkbooksController

Defined in: backends/web-backend/src/es-workbooks/es-workbooks.controller.ts:11

Constructors

Constructor

new EsWorkbooksController(esWorkbooksService): EsWorkbooksController

Defined in: backends/web-backend/src/es-workbooks/es-workbooks.controller.ts:12

Parameters

esWorkbooksService

EsWorkbooksService

Returns

EsWorkbooksController

Methods

get()

get(id, req): Promise<EsWorkbookResponse>

Defined in: backends/web-backend/src/es-workbooks/es-workbooks.controller.ts:16

Parameters

id

string

req

AuthenticatedRequest

Returns

Promise<EsWorkbookResponse>


loadExample()

loadExample(id, body, req): Promise<EsWorkbookResponse>

Defined in: backends/web-backend/src/es-workbooks/es-workbooks.controller.ts:32

Parameters

id

string

body
example?

string

req

AuthenticatedRequest

Returns

Promise<EsWorkbookResponse>


unloadExample()

unloadExample(id, req): Promise<EsWorkbookResponse>

Defined in: backends/web-backend/src/es-workbooks/es-workbooks.controller.ts:38

Parameters

id

string

req

AuthenticatedRequest

Returns

Promise<EsWorkbookResponse>


update()

update(id, body, req): Promise<EsWorkbookResponse>

Defined in: backends/web-backend/src/es-workbooks/es-workbooks.controller.ts:22

Parameters

id

string

body

ReplaceMefBody

req

AuthenticatedRequest

Returns

Promise<EsWorkbookResponse>