TermsOfUseAcceptedUsers
Introduction
TermsOfUseAcceptedUsers record that an authenticated User accepted a specific TermsOfUse version.
Model Definition
Attributes
id
integer
Acceptance record ID.
user_id
integer
ID of the user who accepted the terms.
terms_of_use_id
integer
Accepted terms of use ID.
created_at
datetime | null
Time at which the terms were accepted.
List by TermsOfUse
List acceptance records for users who accepted one TermsOfUse version.
Definition
GET /api/terms-of-use-accepted-users/{termsOfUse}
Route Parameters
termsOfUse
integer
Terms of use ID.
Behavior
The response contains at most one acceptance record per user_id.
Example Request
Example Response
Accept
Accept one TermsOfUse version for the authenticated user.
Definition
POST /api/terms-of-use-accepted-users
Request Keys
terms_of_use_id*
integer
-
Terms of use ID to accept.
Keys with * are required.
Behavior
The authenticated user's ID is stored as
user_id.Repeating the request returns the existing acceptance record instead of creating a duplicate.
Example Request
Example Response
Last updated