Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1573 Get subscriber subscriptions endpoint #1574

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dhochbaum-dcp
Copy link
Collaborator

@dhochbaum-dcp dhochbaum-dcp commented Nov 4, 2024

Summary

  • Create new GET endpoint at /subscribers/<id>
  • Endpoint should look up subscriber with ZAP id custom property equal to given id
  • Return 404 if user not found
  • Return object with that user's current subscriptions:
{
  "K01": 1,
  "R01: 1,
}

Tasks/Bug Numbers

Completes #1573

@dhochbaum-dcp dhochbaum-dcp requested a review from a team as a code owner November 4, 2024 16:53
Copy link

netlify bot commented Nov 4, 2024

Deploy Preview for labs-zap ready!

Name Link
🔨 Latest commit 7ba3bbd
🔍 Latest deploy log https://app.netlify.com/sites/labs-zap/deploys/672b91e4274c650008b71bbf
😎 Deploy Preview https://deploy-preview-1574--labs-zap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

server/src/subscriber/subscriber.service.ts Outdated Show resolved Hide resolved
server/src/subscriber/subscriber.service.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants