Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAPICatalog

The API catalog is a collection of service definitions, each mounted for a specific route.

The route can have path parameters (sections) that can be mapped (or passed in request for Web handlers).

Path parameters can use either the node.js notation:

/static/:param1/:param2

or the notation used by PASOE:

/static/{param1}/{param2}

For each route one or more services can be mounted for a specific HTTP request method.

Hierarchy

  • IAPICatalog

Indexable

[path: string]: IAPIService | IAPIService[]

The route path used to mount the service on.

The route can have path parameters (sections) that can be mapped (or passed in request for Web handlers).

Path parameters can use either the node.js notation:

/static/:param1/:param2

or the notation used by PASOE:

/static/{param1}/{param2}

For each route one or more services can be mounted for a specific HTTP request method.