gyselroth / balloon

High performance, feature rich document management system written for the cloud
GNU General Public License v3.0
18 stars 7 forks source link

POST /api/v2/notifications reads message from attr named body instead message #400

Closed raffis closed 4 years ago

raffis commented 4 years ago

Describe the bug

  1. Unlike documented, the endpoints gets the notification body from body and not message.
  2. Receiver array is not documented in the POST endpoint in the api specs.
  3. There are some fileds in the specs which must be marked as readonly/writeonly (including receiver which would probably be writeonly)

To Reproduce

POST /api/v2/notifications

Expected behavior

Get notification from message.

Environment