Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class API
implements IAPI
import { API } from "https://deno.land/x/yextpages@plugins@1.0.0-beta.8/slugManager/api.ts";

Constructors

new
API(apiKey: string, config: { v?: string; env?: "sandbox" | "production"; })

Properties

apiKey: string
baseUrl: string
v: string

Methods

constructRequestUrl(path: string, additionalParams?: URLSearchParams)
listEntities<EntityType = BaseEntity>(additionalParams?: URLSearchParams)
updateField<EntityType = BaseEntity>(
id: string,
locale: string,
field: string,
value: string,
)