GARD logo

Article Render Service

Endpoints

GET
/article/<type>/<slug>

Returns localized article payload as JSON (default locale plus available localized variants).

GET
/article/<type>/<slug>/render

Returns rendered HTML for embedding. Renders body when available, otherwise PDF fallback when present.

GET
/gard-wrapped/<crmId>

Renders a Gard Wrapped page for the legal entity with the given CRM ID.

Example article links

Links below currently use real slugs and are ready to test.

Content typeJSON endpoint/render endpoint
insight/article/insight/chinese-australian-trade-wars-implications-for-shipping/article/insight/chinese-australian-trade-wars-implications-for-shipping/render
company-news/article/company-news/new-correspondents-norway/article/company-news/new-correspondents-norway/render
esp-circular/article/esp-circular/china-msa-launched-an-announcement-on-reporting-requirements-for-foreign/article/esp-circular/china-msa-launched-an-announcement-on-reporting-requirements-for-foreign/render
whats-new/article/whats-new/gard-annual-report-2025-is-now-available/article/whats-new/gard-annual-report-2025-is-now-available/render
bunker-alert/article/bunker-alert/biweekly-fobas-fuel-quality-report-01-02-2026-14-02-2026/article/bunker-alert/biweekly-fobas-fuel-quality-report-01-02-2026-14-02-2026/render
intelligence-report/article/intelligence-report/threat-towards-merchant-vessels-in-pakistani-and-indian-waters-1/article/intelligence-report/threat-towards-merchant-vessels-in-pakistani-and-indian-waters-1/render
guidance-to-rules/article/guidance-to-rules/limitations-etc-on-p-i-cover-rule-55-terms-of-contract/article/guidance-to-rules/limitations-etc-on-p-i-cover-rule-55-terms-of-contract/render

Recommended implementation

The /render endpoint returns an HTML fragment (not a full HTML document).

For iframe/direct-view/testing flows, use withStyling=true.

For fragment embedding via innerHTML, load article.css and article.js in the parent app for the most reliable styling and behavior.

Optional query parameters

Build an insight /render URL by selecting which params to include.

/article/insight/chinese-australian-trade-wars-implications-for-shipping/render
ParameterApplies toDescription
env/article/<type>/<slug>/renderContentful environment override. Accepted values: dev, test, master. Invalid or missing values fall back to master.
disclaimer/article/<type>/<slug>/renderDisclaimer is shown only when set to true (case-insensitive) and the article type supports disclaimers.
withStyling/article/<type>/<slug>/renderWhen true, prepends article.css and appends article.js to the rendered HTML. Primarily intended for iframe/direct-view/testing flows.
(none)/article/<type>/<slug>This endpoint currently ignores query parameters and returns all available configured locales in the JSON payload.