<commit_before>=== Retrieve all users
==== Request
include::{snippets}/user/get-all-users/http-request.adoc[]

==== Response
include::{snippets}/user/get-all-users/http-response.adoc[]

==== Curl Example
include::{snippets}/user/get-all-users/curl-request.adoc[]

=== Retrieve users by role
==== Request
include::{snippets}/user/find-by-role/http-request.adoc[]
include::{snippets}/user/find-by-role/path-parameters.adoc[]

==== Response
include::{snippets}/user/find-by-role/http-response.adoc[]
include::{snippets}/user/find-by-role/response-fields.adoc[]

==== Curl Example
include::{snippets}/user/find-by-role/curl-request.adoc[]


=== Retrieve user
==== Request
include::{snippets}/user/get-user/http-request.adoc[]

==== Response
include::{snippets}/user/get-user/http-response.adoc[]

==== Curl Example
include::{snippets}/user/get-user/curl-request.adoc[]

=== Retrieve user by token
==== Request
include::{snippets}/user/get-user-by-token/http-request.adoc[]

==== Response
include::{snippets}/user/get-user-by-token/http-response.adoc[]

==== Curl Example
include::{snippets}/user/get-user-by-token/curl-request.adoc[]

=== Update user password
==== Success case
==== Request
include::{snippets}/user/update-password/http-request.adoc[]
include::{snippets}/user/update-password/path-parameters.adoc[]

==== Response
include::{snippets}/user/update-password/http-response.adoc[]

==== Curl Example
include::{snippets}/user/update-password/curl-request.adoc[]

==== Failure cases
===== Invalid token
include::{snippets}/user/update-password-token-not-found/http-response.adoc[]

== Verify email
=== Success case
=== Request
include::{snippets}/user/verify-email/http-request.adoc[]
include::{snippets}/user/verify-email/path-parameters.adoc[]

==== Response
include::{snippets}/user/verify-email/http-response.adoc[]

==== Curl Example
include::{snippets}/user/verify-email/curl-request.adoc[]

== Update Profile Skills
=== Success case
=== Request
include::{snippets}/user/update-profile-skills/http-request.adoc[]
include::{snippets}/user/update-profile-skills/path-parameters.adoc[]
include::{snippets}/user/update-profile-skills/request-fields.adoc[]

=== Response
include::{snippets}/user/update-profile-skills/http-response.adoc[]

=== Curl Example
include::{snippets}/user/update-profile-skills/curl-request.adoc[]

== Retrieve user affiliations
=== Success case
=== Request
include::{snippets}/user/get-user-affiliations/http-request.adoc[]
include::{snippets}/user/get-user-affiliations/path-parameters.adoc[]

=== Response
include::{snippets}/user/get-user-affiliations/http-response.adoc[]
include::{snippets}/user/get-user-affiliations/response-fields.adoc[]

=== Curl Example
include::{snippets}/user/get-user-affiliations/curl-request.adoc[]

== Update user affiliations
=== Success case
=== Request
include::{snippets}/user/update-user-affiliations/http-request.adoc[]
include::{snippets}/user/update-user-affiliations/path-parameters.adoc[]
include::{snippets}/user/update-user-affiliations/request-fields.adoc[]

=== Response
include::{snippets}/user/update-user-affiliations/http-response.adoc[]

=== Curl Example
include::{snippets}/user/update-user-affiliations/curl-request.adoc[]<commit_msg>INFUND-5004 Asciidoc fix for user.adoc<commit_after>=== Retrieve all users
==== Request
include::{snippets}/user/get-all-users/http-request.adoc[]

==== Response
include::{snippets}/user/get-all-users/http-response.adoc[]

==== Curl Example
include::{snippets}/user/get-all-users/curl-request.adoc[]

=== Retrieve users by role
==== Request
include::{snippets}/user/find-by-role/http-request.adoc[]
include::{snippets}/user/find-by-role/path-parameters.adoc[]

==== Response
include::{snippets}/user/find-by-role/http-response.adoc[]
include::{snippets}/user/find-by-role/response-fields.adoc[]

==== Curl Example
include::{snippets}/user/find-by-role/curl-request.adoc[]


=== Retrieve user
==== Request
include::{snippets}/user/get-user/http-request.adoc[]

==== Response
include::{snippets}/user/get-user/http-response.adoc[]

==== Curl Example
include::{snippets}/user/get-user/curl-request.adoc[]

=== Retrieve user by token
==== Request
include::{snippets}/user/get-user-by-token/http-request.adoc[]

==== Response
include::{snippets}/user/get-user-by-token/http-response.adoc[]

==== Curl Example
include::{snippets}/user/get-user-by-token/curl-request.adoc[]

=== Update user password
==== Success case
==== Request
include::{snippets}/user/update-password/http-request.adoc[]
include::{snippets}/user/update-password/path-parameters.adoc[]

==== Response
include::{snippets}/user/update-password/http-response.adoc[]

==== Curl Example
include::{snippets}/user/update-password/curl-request.adoc[]

==== Failure cases
===== Invalid token
include::{snippets}/user/update-password-token-not-found/http-response.adoc[]

== Verify email
=== Success case
=== Request
include::{snippets}/user/verify-email/http-request.adoc[]
include::{snippets}/user/verify-email/path-parameters.adoc[]

==== Response
include::{snippets}/user/verify-email/http-response.adoc[]

==== Curl Example
include::{snippets}/user/verify-email/curl-request.adoc[]

== Retrieve Profile Contract
=== Success case
=== Request
include::{snippets}/user/get-profile-contract/http-request.adoc[]
include::{snippets}/user/get-profile-contract/path-parameters.adoc[]

=== Response
include::{snippets}/user/get-profile-contract/http-response.adoc[]

=== Curl Example
include::{snippets}/user/get-profile-contract/curl-request.adoc[]

== Update Profile Contract
=== Success case
=== Request
include::{snippets}/user/update-profile-contract/http-request.adoc[]
include::{snippets}/user/update-profile-contract/path-parameters.adoc[]

=== Response
include::{snippets}/user/update-profile-contract/http-response.adoc[]

=== Curl Example
include::{snippets}/user/update-profile-contract/curl-request.adoc[]

== Retrieve Profile Skills
=== Success case
=== Request
include::{snippets}/user/get-profile-skills/http-request.adoc[]
include::{snippets}/user/get-profile-skills/path-parameters.adoc[]

=== Response
include::{snippets}/user/get-profile-skills/http-response.adoc[]

=== Curl Example
include::{snippets}/user/get-profile-skills/curl-request.adoc[]

== Update Profile Skills
=== Success case
=== Request
include::{snippets}/user/update-profile-skills/http-request.adoc[]
include::{snippets}/user/update-profile-skills/path-parameters.adoc[]
include::{snippets}/user/update-profile-skills/request-fields.adoc[]

=== Response
include::{snippets}/user/update-profile-skills/http-response.adoc[]

=== Curl Example
include::{snippets}/user/update-profile-skills/curl-request.adoc[]

== Retrieve user affiliations
=== Success case
=== Request
include::{snippets}/user/get-user-affiliations/http-request.adoc[]
include::{snippets}/user/get-user-affiliations/path-parameters.adoc[]

=== Response
include::{snippets}/user/get-user-affiliations/http-response.adoc[]
include::{snippets}/user/get-user-affiliations/response-fields.adoc[]

=== Curl Example
include::{snippets}/user/get-user-affiliations/curl-request.adoc[]

== Update user affiliations
=== Success case
=== Request
include::{snippets}/user/update-user-affiliations/http-request.adoc[]
include::{snippets}/user/update-user-affiliations/path-parameters.adoc[]
include::{snippets}/user/update-user-affiliations/request-fields.adoc[]

=== Response
include::{snippets}/user/update-user-affiliations/http-response.adoc[]

=== Curl Example
include::{snippets}/user/update-user-affiliations/curl-request.adoc[]

== Retrieve user details
=== Success case
=== Request
include::{snippets}/user/get-profile-details/http-request.adoc[]
include::{snippets}/user/get-profile-details/path-parameters.adoc[]

=== Response
include::{snippets}/user/get-profile-details/http-response.adoc[]
include::{snippets}/user/get-profile-details/response-fields.adoc[]

=== Curl Example
include::{snippets}/user/get-profile-details/curl-request.adoc[]

== Update user details
=== Success case
=== Request
include::{snippets}/user/update-profile-details/http-request.adoc[]
include::{snippets}/user/update-profile-details/path-parameters.adoc[]
include::{snippets}/user/update-profile-details/request-fields.adoc[]

=== Response
include::{snippets}/user/update-profile-details/http-response.adoc[]

=== Curl Example
include::{snippets}/user/update-profile-details/curl-request.adoc[]
{'fraction_non_alphanumeric': 0.19437827536922345, 'fraction_numerical': 0.0004764173415912339, 'mean_word_length': 6.251295336787565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7310678', 'n_tokens_mistral': 2780, 'n_tokens_neox': 2644, 'n_words': 302}