NYCPlanning / labs-zap-search

Search application for the DCP Zoning Application Search
https://zap.planning.nyc.gov
13 stars 3 forks source link

New subscriber endpoint (part 2) #1547

Open TylerMatteo opened 2 weeks ago

TylerMatteo commented 2 weeks ago

Add the following functionality to the endpoint built in #1544

Example of the expected request body for a user subscribing to districts K01, M01, and citywide:

{
  "email": "test@example.com",
  "subscriptions": {
    "K01": 1,
    "M01": 1,
    "CW": 1
  }
}
TylerMatteo commented 1 week ago

Dependent on #1560