Searching all Notification Channels

You can search notification channels using the following API.

Request URL

POST https://http-collector-observability.sixthsense.rakuten.com/api-externalization/api/v1/channels/search

Header

Header key - Authorization

Header value - Bearer {{access_token}} (Navigate to Settings > Access token > Show access token in the SixthSence portal.)

Request

{
"from": 0,
"keyword": "string",
"limit": 0,
"order": "ASC",
"sortBy": "channelName",
"wildcard": true
}
ParametersDescription
keywordKeyword will be used to search channel name.
limitnumber of records to be returned
fromstarting no. of record
sortBy
  • type
  • lastUpdatedAt
  • createdAt
  • channelName
  • order
  • ASC : Ascending
  • DESC : Descending
  • Example:

    {
    "keyword": "name",
    "limit": 10,
    "from": 0,
    "sortBy": "lastUpdatedAt",
    "order": "DESC"
    }

    Response

    {
    "data": {},
    "message": "string",
    "success": true
    }

    Example:

    {
    "message": "1 record(s) found",
    "success": true,
    "data": {
    "notificationChannels": [
    {
    "channelId": "4KuExIUBVVmCg9TvYqE3",
    "channelName": " test",
    "type": "EMAIL",
    "values": [
    "username@rakuten.com"
    ],
    "template" : null,
    "lastUpdatedAt": 1670591058668,
    "lastUpdatedBy": "Sixthsense migration",
    "createdAt": 1670591058668,
    "createdBy": "Sixthsense migration"
    }
    ],
    "total": 1
    }
    }