All URIs are relative to https://www.metaculus.com
Method | HTTP request | Description |
---|---|---|
questions_add_consideration_vote_create | POST /api2/questions/{id}/add_consideration_vote/ | |
questions_boost_create | POST /api2/questions/{id}/boost/ | |
questions_bulk_predict_create | POST /api2/questions/bulk-predict/ | |
questions_create | POST /api2/questions/ | |
questions_destroy | DELETE /api2/questions/{id}/ | |
questions_list | GET /api2/questions/ | |
questions_partial_update | PATCH /api2/questions/{id}/ | |
questions_predict_create | POST /api2/questions/{id}/predict/ | |
questions_prediction_for_date_retrieve | GET /api2/questions/{id}/prediction-for-date/ | |
questions_prediction_history_retrieve | GET /api2/questions/{id}/prediction-history/ | |
questions_predictions_retrieve | GET /api2/questions/{id}/predictions/ | |
questions_question_sharing_create | POST /api2/questions/{id}/question-sharing/{username}/ | |
questions_question_sharing_destroy | DELETE /api2/questions/{id}/question-sharing/{username}/ | |
questions_remove_consideration_vote_create | POST /api2/questions/{id}/remove_consideration_vote/ | |
questions_resolve_create | POST /api2/questions/{id}/resolve/ | |
questions_retrieve | GET /api2/questions/{id}/ | |
questions_show_community_create | POST /api2/questions/{id}/show-community/ | |
questions_update | PUT /api2/questions/{id}/ | |
questions_view_metaculus_prediction_create | POST /api2/questions/{id}/view-metaculus-prediction/ | |
questions_vote_create | POST /api2/questions/{id}/vote/ |
questions_add_consideration_vote_create(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [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::Boost questions_boost_create(id, boost)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
boost | Boost | [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::BulkPredictionInput questions_bulk_predict_create(bulk_prediction_input)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
bulk_prediction_input | BulkPredictionInput | [required] |
crate::models::BulkPredictionInput
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::QuestionUpdate questions_create(question_update)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
question_update | Option<QuestionUpdate> |
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]
questions_destroy(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [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::PaginatedQuestionUserList questions_list(access, author, categories, close_time__gt, close_time__lt, commented_by, contest, forecast_type, group, guessed_by, has_group, include_description, limit, not_guessed_by, offset, order_by, project, publish_time__gt, publish_time__lt, resolve_time__gt, resolve_time__lt, reversed_related, search, status, r#type, unconditional, upvoted_by, username, visible_from_project)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
access | Option<String> | |||
author | Option<i32> | |||
categories | Option<String> | |||
close_time__gt | Option<String> | |||
close_time__lt | Option<String> | |||
commented_by | Option<f32> | |||
contest | Option<String> | |||
forecast_type | Option<String> | |||
group | Option<i32> | |||
guessed_by | Option<f32> | |||
has_group | Option<bool> | |||
include_description | Option<String> | Set to 'true' to include the description (and categories) in responses | ||
limit | Option<i32> | Number of results to return per page. | ||
not_guessed_by | Option<f32> | |||
offset | Option<i32> | The initial index from which to return the results. | ||
order_by | Option<String> | Which field to use when ordering the results. | ||
project | Option<String> | |||
publish_time__gt | Option<String> | |||
publish_time__lt | Option<String> | |||
resolve_time__gt | Option<String> | |||
resolve_time__lt | Option<String> | |||
reversed_related | Option<f32> | |||
search | Option<String> | |||
status | Option<String> | |||
r#type | Option<String> | |||
unconditional | Option<bool> | |||
upvoted_by | Option<f32> | |||
username | Option<String> | |||
visible_from_project | Option<String> |
crate::models::PaginatedQuestionUserList
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::QuestionUpdate questions_partial_update(id, patched_question_update)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
patched_question_update | Option<PatchedQuestionUpdate> |
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::PredictionInput questions_predict_create(id, prediction_input)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
prediction_input | PredictionInput | [required] |
crate::models::PredictionInput
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::PredictionForDate questions_prediction_for_date_retrieve(id)
This endpoint is used only for Tezos verification
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] |
crate::models::PredictionForDate
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::PredictionHistory questions_prediction_history_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] |
crate::models::PredictionHistory
basicAuth, cookieAuth, tokenAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::ExtendedPredictionUsername questions_predictions_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] |
Veccrate::models::ExtendedPredictionUsername
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::ShareQuestion questions_question_sharing_create(id, username, share_question)
This endpoint is used for sharing Private and Draft questions with other users. If sharing private question - invited user will receive "predictor" permissions. If sharing draft question - invited user will receive "coauthor" permissions"
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
username | String | [required] | ||
share_question | ShareQuestion | [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]
questions_question_sharing_destroy(id, username)
This endpoint is used for sharing Private and Draft questions with other users. If sharing private question - invited user will receive "predictor" permissions. If sharing draft question - invited user will receive "coauthor" permissions"
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
username | 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]
questions_remove_consideration_vote_create(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [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::QuestionResolve questions_resolve_create(id, question_resolve)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
question_resolve | QuestionResolve | [required] |
crate::models::QuestionResolve
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::QuestionUserDetail questions_retrieve(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] |
crate::models::QuestionUserDetail
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::ShowCommunity questions_show_community_create(id, show_community)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
show_community | ShowCommunity | [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::QuestionUpdate questions_update(id, question_update)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
question_update | Option<QuestionUpdate> |
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::Question questions_view_metaculus_prediction_create(id, question)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
question | Question | [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::QuestionVote questions_vote_create(id, question_vote)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | A unique integer value identifying this question. | [required] | |
question_vote | QuestionVote | [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]