Get a page, post, product or story
site_getFetch one published record in full. Pass exactly one of route (e.g. "/cloud-phone-system/") or slug (looked up as product, then post, then page, then story). Returns a not_found error if nothing is published there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Record slug, e.g. gxp1625-ip-phone. | |
| route | No | Site route with a trailing slash, e.g. /cloud-phone-system/. |