Skip to main content
 print this page

Get the latest user agreement

GET 

/user-agreements/latest-version

Returns the user agreement with the highest Version (unix epoch string, sorted descending) plus an S3PresignedUrl for the markdown file (expires in 3600 seconds). The handler does not check system-settings.view. A missing role_id does not return AUTH-1001; it is stored as N/A on the audit log. If no agreements exist, Default_User_Agreement is created (CreatedBy System) and returned. Not paginated.

Request

Responses

Latest agreement metadata and S3PresignedUrl. When the store was empty, this is the newly created default agreement.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers