All URIs are relative to https://www.metaculus.com
Method | HTTP request | Description |
---|---|---|
user_profiles_list | GET /api2/user-profiles/ | |
user_profiles_partial_update | PATCH /api2/user-profiles/{id}/ | |
user_profiles_retrieve | GET /api2/user-profiles/{id}/ | |
user_profiles_update | PUT /api2/user-profiles/{id}/ |
crate::models::PaginatedUserProfileList user_profiles_list(page)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
page | Option<i32> | A page number within the paginated result set. |
crate::models::PaginatedUserProfileList
basicAuth, cookieAuth, tokenAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::UserProfile user_profiles_partial_update(id, patched_user_profile)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] | ||
patched_user_profile | Option<PatchedUserProfile> |
basicAuth, cookieAuth, tokenAuth
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::UserProfile user_profiles_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] |
basicAuth, cookieAuth, tokenAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::UserProfile user_profiles_update(id, user_profile)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] | ||
user_profile | Option<UserProfile> |
basicAuth, cookieAuth, tokenAuth
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]