For the complete documentation index, see llms.txt. This page is also available as Markdown.

TermsOfUseAcceptedUsers

Introduction

TermsOfUseAcceptedUsers record that an authenticated User accepted a specific TermsOfUse version.

Model Definition

Attributes

Key
Type
Description

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

Parameter
Type
Description

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

Key
Type
Default
Description

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