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

Add Custom Notification API #83

Open
jooooaah opened this issue Mar 26, 2022 · 2 comments
Open

Add Custom Notification API #83

jooooaah opened this issue Mar 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@jooooaah
Copy link

Hey Guys,
developing a small external enhanchement for users - a PUT for Notifications would be great. Wha do you think about?
greets

@luke-
Copy link
Contributor

luke- commented Mar 26, 2022

Can you please describe it the desired endpoint in a little more detail?

@jooooaah
Copy link
Author

jooooaah commented Mar 28, 2022

Should better known as POST wold be great :) - Beware, only copy&paste - never written a swagger script
swagger/notification.yaml

paths:
  /notification:
    post:
      tags:
        - Notification
      summary: Creates a new notification
      description: ''
      produces:
        - application/json
      parameters:
        - name: body
          in: body
          description: The notification
          required: true
          schema:
            type: object
            required:
              - data
            properties:
              data:
                $ref: "#/definitions/Notification"
      responses:
        '200':
          description: successful operation
          schema:
            $ref: "#/definitions/Notification"
  '/post':

@luke- luke- changed the title Notification API - PUT wold be great Add Custom Notification API Mar 28, 2022
@luke- luke- added the enhancement New feature or request label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants