Skip to main content

IAdminForthEndpointOptions

Properties

description?

optional description?: string


handler

handler: (input) => void | Promise<any>

Parameters

ParameterType
inputIAdminForthEndpointHandlerInput

Returns

void | Promise<any>


meta?

optional meta?: Record<string, unknown>


method

method: string


noAuth?

optional noAuth?: boolean


path

path: string


request_schema?

optional request_schema?: AnySchemaObject


responce_schema?

optional responce_schema?: AnySchemaObject


response_schema?

optional response_schema?: AnySchemaObject


target?

optional target?: "json" | "upload"