TermsOfUse
Introduction
TermsOfUse store versioned agreements that authenticated users can accept through TermsOfUseAcceptedUsers.
The text field uses the shared Rich Text HTML format.
Model Definition
Alias
termsOfUse
Capabilities
Translations - Localizes
text; examples useen-US.
Admin: List
List all TermsOfUse in administration scope.
Definition
GET /api/administration/terms-of-use
Request Keys
select
string
All fields
Comma-separated fields to return.
limit
integer
No limit
Maximum number of records.
sort
string
Repository order
Comma-separated fields; prefix a field with - for descending order.
Example Request
Example Response
Admin: Show
Show one TermsOfUse in administration scope.
Definition
GET /api/administration/terms-of-use/{termsOfUse}
Route Parameters
termsOfUse
integer
Terms of use ID.
Request Keys
select
string
All fields
Comma-separated fields to return.
Example Request
Example Response
Admin: Create
Create new TermsOfUse.
Definition
POST /api/administration/terms-of-use
Request Keys
lang_id
string
System language
Language key. Use en-US for this example.
Keys with * are required.
Behavior
The authenticated user is stored as the creating user.
Example Request
Example Response
Admin: Update
Update existing TermsOfUse.
Definition
PUT /api/administration/terms-of-use/{termsOfUse}
Route Parameters
termsOfUse
integer
Terms of use ID.
Request Keys
lang_id
string
Language key.
Behavior
The authenticated user replaces the creating user stored on the record.
Example Request
Example Response
Admin: Delete
Delete existing TermsOfUse.
Definition
DELETE /api/administration/terms-of-use/{termsOfUse}
Route Parameters
termsOfUse
integer
Terms of use ID.
Behavior
Deleting the record also deletes its acceptance records.
Example Request
Example Response
Last updated