pennlabs / labs-api-server

server for search for registrar, etc
MIT License
11 stars 1 forks source link

Privacy & Notification Settings #177

Closed joshdoman closed 4 years ago

joshdoman commented 4 years ago

Save notification settings with by making a POST request to /notifications/settings of the form:

{
    'dining': true,
    'gsr': false,
}

Save privacy settings with by making a POST request to /privacy/settings of the form:

{
    'transactions': true,
    'courses': false,
}

Get account settings with a GET request to /account/settings. To retrieve only privacy or notification settings, make a GET request to the respective endpoint.