OpenapiLegal
Get the full localized detail of a single agreement type for a realm.
Public — no Bearer identity. Unknown `agreementType` → 400; no effective version deployed → 404.
GET
Public — no Bearer identity. Unknown agreementType → 400; no effective
version deployed → 404.
realmId*stringRealm ID
agreementType*stringAgreement type: terms_of_service | privacy_policy
locale?stringPreferred locale (falls back to default locale)
Agreement detail with localized body
application/json- response
Full agreement detail (public GET /agreements/{type}).
Mirrors [LegalAgreementSummary] plus the localized content body and the
optional version_label. Summary fields (title/summary) are always
None today — the domain LegalAgreementVersion has no such columns —
but they remain in the schema so the public list/detail shapes line up
(and can be populated later without a breaking change).
agreement_type*stringcontent*unknowneffective_at*stringFormat
date-timeexternal_url?string|nullmode*AgreementModeValue in
"full_text""link"summary?string|nulltitle?string|nullversion_id*stringFormat
uuidversion_label?string|nullversion_no*integerFormat
int32curl -X GET 'https://example.com/api/legal/public/string/agreements/string'Example Response
{
"agreement_type": "string",
"content": null,
"effective_at": "2019-08-24T14:15:22Z",
"external_url": "string",
"mode": "full_text",
"summary": "string",
"title": "string",
"version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",
"version_label": "string",
"version_no": 0
}