Event config (v0.1)

http://localhost

Table of contents

Event config API

This module contains information describing the notification events

/eventConfig

POST /eventConfig

Create new event config in storage

POST /eventConfig
Body

Media type: application/json

Response 201

created

Body

Media type: application/json

Response 400

Bad request

Body

Media type: text/plain

Type: any

Example:

Bad request

Response 500

Internal server error

Body

Media type: text/plain

Type: any

Example:

Internal server error

GET /eventConfig

Get all event configs or accepted by query

GET /eventConfig
Query Parameters
  • query: (string)

    A query string to filter events based on matching criteria in fields.

Response 200

success

Body

Media type: application/json

Response 400

Bad request

Body

Media type: text/plain

Type: any

Example:

Bad request

Response 500

Internal server error

Body

Media type: text/plain

Type: any

Example:

Internal server error

GET /eventConfig/{id}

Get event config from storage

GET /eventConfig/{id}
URI Parameters
  • id: required (string)

Response 200

success

Body

Media type: application/json

Response 404

Not found

Body

Media type: application/json

Response 500

Internal server error

Body

Media type: text/plain

Type: any

Example:

Internal server error

PUT /eventConfig/{id}

Update event config in storage

PUT /eventConfig/{id}
URI Parameters
  • id: required (string)
Body

Media type: application/json

Response 200

success

Body

Media type: application/json

Response 400

Bad request

Body

Media type: application/json

Response 500

Internal server error

Body

Media type: text/plain

Type: any

Example:

Internal server error

DELETE /eventConfig/{id}

Delete event config from storage

DELETE /eventConfig/{id}
URI Parameters
  • id: required (string)

Response 200

success

Body

Media type: application/json

Response 400

Bad request

Body

Media type: application/json

Response 500

Internal server error

Body

Media type: text/plain

Type: any

Example:

Internal server error