785 B
785 B
backend-pull-notifications
Base URL: https://notifier.gansejunge.com/internal/backend-pull-notifications
POST /notifications/pull
Pull Notifications
| Name | In | Type | Required |
|---|---|---|---|
X-User-Id |
header | integer | yes |
Example:
curl -X POST 'https://notifier.gansejunge.com/internal/backend-pull-notifications/notifications/pull' \
-H 'X-API-Key: <api_key>'
Responses:
200: Successful Response{ "messages": [ {} ], "count": 0, "has_more": true }422: Validation Error{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ] }