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
- 200
- 400
- 500
Latest agreement metadata and S3PresignedUrl. When the store was empty, this is the newly created default agreement.
Response Headers
IPV-1002 if the chosen Version is missing when the item is loaded. AUTH-1030 is not returned on this path.
Response Headers
Uncaught Exception formatted as RTE-1001 via EMF-1001, including a non-empty projectionExpression, default-file read failure, or presigned URL failure.