Skip to content

Create a legal-document

POST
/legal-documents
object
data
object
document_type
required
string
Allowed values: terms_of_service privacy_policy dpa acceptable_use msa subprocessors
version
required
string
title
required
string
effective_from
required
string format: date-time
summary_text
string
full_text_url
string
is_current
boolean
change_summary
string
requires_reacceptance
boolean
body

Full document body (Markdown). F3.LEGAL.01: seeded with a PLACEHOLDER pending lawyer review — see src/bootstrap.ts ensureLegalDocumentPlaceholders().

string
locale_code

F3.LEGAL.01: document language (cs/en). NOT the Strapi i18n plugin locale field (i18n is not enabled on this CT) — a plain string so cs/en variants of the same document_type+version can coexist as separate rows.

string

Created

object
data
object
document_type
required
string
Allowed values: terms_of_service privacy_policy dpa acceptable_use msa subprocessors
version
required
string
title
required
string
effective_from
required
string format: date-time
summary_text
string
full_text_url
string
is_current
boolean
change_summary
string
requires_reacceptance
boolean
body

Full document body (Markdown). F3.LEGAL.01: seeded with a PLACEHOLDER pending lawyer review — see src/bootstrap.ts ensureLegalDocumentPlaceholders().

string
locale_code

F3.LEGAL.01: document language (cs/en). NOT the Strapi i18n plugin locale field (i18n is not enabled on this CT) — a plain string so cs/en variants of the same document_type+version can coexist as separate rows.

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)