Methods
static getCustomPathData(client, path)
This function is used to get the page from the API. See CustomPath's example for a usage example
Parameters:
Name | Type | Description |
---|---|---|
client |
Client | Client |
path |
string | The path which may be a redirect or static page |
- See:
-
- GET /api/v1/custom-urls/:path API documentation for a list of parameters and fields
asJson()
Use this to convert to a simple javascript object, suitable for JSON.