Options
All
  • Public
  • Public/Protected
  • All
Menu

A map of API parameters.

These parameters apply if the original request URL is not absolute, and they can be used to customize the base API URL depending on the runtime environment. If you define the base API URL via config#api or globalOpts.api, these parameters will be mapped on it.

Hierarchy

  • RequestAPI

Index

Properties

auth?: RequestAPIValue<string>

Value for an API authorization part

example

'login:password'

domain2?: RequestAPIValue<string>

Value for an API domain level 2 part

domain3?: RequestAPIValue<string>

Value for an API domain level 3 part

domain4?: RequestAPIValue<string>

Value for an API domain level 4 part

domain5?: RequestAPIValue<string>

Value for an API domain level 5 part

domain6?: RequestAPIValue<string>

Value for an API domain level 6 part

namespace?: RequestAPIValue<string>

Value for an API namespace part: it follows after '/' character

port?: RequestAPIValue<string | number>

Value for an API api port

protocol?: RequestAPIValue<string>

API protocol

example

'http' 'https'

url?: RequestAPIValue<string>

The direct value of API URL. If this parameter is defined, all other parameters will be ignored.

example

'https://google.com'

zone?: RequestAPIValue<string>

Value for an API domain zone part