All URIs are relative to https://www.metaculus.com
Method | HTTP request | Description |
---|---|---|
projects_create | POST /api2/projects/ | |
projects_follow_create | POST /api2/projects/{id}/follow/ | |
projects_invite_members_create | POST /api2/projects/{id}/invite-members/ | |
projects_is_following_retrieve | GET /api2/projects/{id}/is-following/ | |
projects_join_create | POST /api2/projects/{id}/join/ | |
projects_leave_create | POST /api2/projects/{id}/leave/ | |
projects_list | GET /api2/projects/ | |
projects_members_create | POST /api2/projects/{id}/members/{user_id}/ | |
projects_members_destroy | DELETE /api2/projects/{id}/members/{user_id}/ | |
projects_members_partial_update | PATCH /api2/projects/{id}/members/{user_id}/ | |
projects_members_update | PUT /api2/projects/{id}/members/{user_id}/ | |
projects_partial_update | PATCH /api2/projects/{id}/ | |
projects_personal_stats_retrieve | GET /api2/projects/{id}/personal-stats/ | |
projects_register_create | POST /api2/projects/{id}/register/ | |
projects_registered_retrieve | GET /api2/projects/{id}/registered/ | |
projects_retrieve | GET /api2/projects/{id}/ | |
projects_unfollow_create | POST /api2/projects/{id}/unfollow/ | |
projects_update | PUT /api2/projects/{id}/ |
crate::models::ProjectUpdate projects_create(project_update)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
project_update | ProjectUpdate | [required] |
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::Project projects_follow_create(id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
project | Project | [required] |
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::Project projects_invite_members_create(id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
project | Project | [required] |
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::Project projects_is_following_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [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::Project projects_join_create(id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
project | Project | [required] |
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::Project projects_leave_create(id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
project | Project | [required] |
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::PaginatedProjectList projects_list(limit, offset)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
limit | Option<i32> | Number of results to return per page. | ||
offset | Option<i32> | The initial index from which to return the results. |
crate::models::PaginatedProjectList
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::Project projects_members_create(id, user_id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
user_id | String | [required] | ||
project | Project | [required] |
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]
projects_members_destroy(id, user_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
user_id | String | [required] |
(empty response body)
basicAuth, cookieAuth, tokenAuth
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Project projects_members_partial_update(id, user_id, patched_project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
user_id | String | [required] | ||
patched_project | Option<PatchedProject> |
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::Project projects_members_update(id, user_id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
user_id | String | [required] | ||
project | Project | [required] |
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::Project projects_partial_update(id, patched_project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
patched_project | Option<PatchedProject> |
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::Project projects_personal_stats_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [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::Project projects_register_create(id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
project | Project | [required] |
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::Project projects_registered_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [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::ProjectDetail projects_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [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::Project projects_unfollow_create(id, project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
project | Project | [required] |
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::ProjectUpdate projects_update(id, project_update)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this project. | [required] | |
project_update | ProjectUpdate | [required] |
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]