Skip to content

elements_notification

Francisco Dias edited this page Aug 20, 2026 · 1 revision

Notification

The Notification endpoints.

Functions

This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.



Back To Top

elements_create_fcm_registration

Supplying FCM registration token, this will create a new token based on the information supplied to the endpoint. The response will contain the token as it was written to the database. Clients may subsequently update the token string with new values as they are issued by Firebase.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_create_fcm_registration(_body=undefined, _callback=undefined)
Argument Type Description
_body ElementsFCMRegistration The body to be included in the http request.
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data ElementsFCMRegistration or Undefined
_request ElementsRequest


Back To Top

elements_delete_fcm_registration

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_delete_fcm_registration(_fcm_registration_id, _callback=undefined)
Argument Type Description
_fcm_registration_id String
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data Any
_request ElementsRequest


Back To Top

elements_update_registration

Supplying FCM registration token, this will update the token string with the supplied values. Clients may update the same registration with a different token issued with Firebase if they wish to simply retain the association with the

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_update_registration(_fcm_registration_id, _body=undefined, _callback=undefined)
Argument Type Description
_fcm_registration_id String
_body ElementsFCMRegistration The body to be included in the http request.
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data ElementsFCMRegistration or Undefined
_request ElementsRequest


Clone this wiki locally