getHubApiFromPortalUrl

Function

Cross-walk from a portalUrl to the corresponding Hub API Url

If the passed url is not recognized, then this will return undefined

  • getHubApiFromPortalUrl(portalUrl: string) : string

Parameters

Parameter Type Default Notes
portalUrl Required string

Returns

string

Function defined in common/src/urls/getHubApiFromPortalUrl.ts:9