getNotifications

@GetMapping(path = "USERS_KEY + "/{" + IDENTIFIER_KEY + "}/" + NOTIFICATIONS_KEY", headers = [])
open fun <T> getNotifications(@PathVariable(value = "id") id: String, @RequestHeader(value = "token") token: String): T

Method to get the notifications of the user

Return

the result of the request as String

Parameters

id

: the identifier of the user

token

: the token of the user