SDK reference · Node SDK
prov.authorize.discovery.profile
prov.authorize.discovery.profile in Node SDK. The signed profile by business id (biz_…), origin or host.
Signature
prov.authorize.discovery.profile(business: string): Promise<ProvenanceProfile>Parameters
businessstringRequired
Request fields
businessstringpathRequired- A business id, an origin (URL-encoded) or a host.
Returns
Promise<ProvenanceProfile> The signed profile.
HTTP operation
GET /v1/public/businesses/{business}/profile: Retrieve a business profile
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile`)).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/public/businesses/biz_01JDSAMPLE0SALTMARSH0DATA00/profile").json()