Skip to content

Latest commit

 

History

History
157 lines (83 loc) · 4.81 KB

RemindersApi.md

File metadata and controls

157 lines (83 loc) · 4.81 KB

\RemindersApi

All URIs are relative to https://www.metaculus.com

Method HTTP request Description
reminders_create POST /api2/reminders/
reminders_list GET /api2/reminders/
reminders_partial_update PATCH /api2/reminders/{id}/
reminders_retrieve GET /api2/reminders/{id}/
reminders_update PUT /api2/reminders/{id}/

reminders_create

crate::models::Reminder reminders_create(reminder)

Parameters

Name Type Description Required Notes
reminder Reminder [required]

Return type

crate::models::Reminder

Authorization

basicAuth, cookieAuth, tokenAuth

HTTP request headers

  • 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]

reminders_list

crate::models::PaginatedReminderList reminders_list(page, question, status)

Parameters

Name Type Description Required Notes
page Option<i32> A page number within the paginated result set.
question Option<i32>
status Option<String>

Return type

crate::models::PaginatedReminderList

Authorization

basicAuth, cookieAuth, tokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

reminders_partial_update

crate::models::Reminder reminders_partial_update(id, patched_reminder)

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this reminder. [required]
patched_reminder Option<PatchedReminder>

Return type

crate::models::Reminder

Authorization

basicAuth, cookieAuth, tokenAuth

HTTP request headers

  • 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]

reminders_retrieve

crate::models::Reminder reminders_retrieve(id)

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this reminder. [required]

Return type

crate::models::Reminder

Authorization

basicAuth, cookieAuth, tokenAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

reminders_update

crate::models::Reminder reminders_update(id, reminder)

Parameters

Name Type Description Required Notes
id i32 A unique integer value identifying this reminder. [required]
reminder Reminder [required]

Return type

crate::models::Reminder

Authorization

basicAuth, cookieAuth, tokenAuth

HTTP request headers

  • 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]