Pixela API Document

API Document for Pixela ( https://pixe.la/ ) .

GET - /v1/users/<username>/graphs/<graphID>/notifications

Description

Get all predefined notifications.

HTTP Method , API endpoint

GET /v1/users/<username>/graphs/<graphID>/notifications

Request Header

Key Description
X-USER-TOKEN [required] It is the authentication token specified at the time of user registration.

Example

$ curl -X GET https://pixe.la/v1/users/a-know/graphs/test-graph/notifications -H 'X-USER-TOKEN:thisissecret'
{"notifications":[{"id":"my-notify-rule","name":"my notify rule","target":"quantity","condition":">","threshold":"5","channelID":"my-channel"}]}