Skip to content

Latest commit

 

History

History
66 lines (34 loc) · 2.02 KB

NotificationsApi.md

File metadata and controls

66 lines (34 loc) · 2.02 KB

\NotificationsApi

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

Method HTTP request Description
notifications_list GET /api2/notifications/
notifications_mark_read_create POST /api2/notifications/mark_read/

notifications_list

crate::models::PaginatedNotificationList notifications_list(page)

Parameters

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

Return type

crate::models::PaginatedNotificationList

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]

notifications_mark_read_create

crate::models::Notification notifications_mark_read_create(notification)

Parameters

Name Type Description Required Notes
notification Notification [required]

Return type

crate::models::Notification

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]