AI Provider

Create a target for an AI provider.

put/ai-provider/{providerId}/target

Request

  • Base URL: https://api.pangolin.net/v1
  • URL: https://api.pangolin.net/v1/ai-provider/{providerId}/target
  • Auth: HTTP bearer

Path parameters

providerIdinteger required

Request body

siteIdinteger required
ipstring required
mode'http' | 'tcp' | 'udp' | 'ssh' | 'rdp' | 'vnc'
methodstring nullable
portinteger required
enabledboolean
hcEnabledboolean
hcPathstring nullable
hcSchemestring nullable
hcModestring nullable
hcHostnamestring nullable
hcPortinteger nullable
hcIntervalinteger nullable
hcUnhealthyIntervalinteger nullable
hcTimeoutinteger nullable
hcFollowRedirectsboolean nullable
hcMethodstring nullable
hcStatusinteger nullable
hcTlsServerNamestring nullable
hcHealthyThresholdinteger nullable
hcUnhealthyThresholdinteger nullable
pathstring nullable
pathMatchType'exact' | 'prefix' | 'regex' | 'null' nullable
rewritePathstring nullable
rewritePathType'exact' | 'prefix' | 'regex' | 'stripPrefix' | 'null' nullable
priorityinteger nullable

Response

Successful response

dataobject nullable required
successboolean required
errorboolean required
messagestring required
statusnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.