Profile

Get all notifications

get/profile/notifications

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/profile/notifications
  • Auth: none declared

Query parameters

sub_typestring[]

Filter by sub_type of notification

typestring[]

Filter by type of notification

offsetinteger

Offset

limitinteger

Limit

Response

Success response

Example response

{
  "response": [
    {
      "id": 123,
      "date": 123455644,
      "text_html": "Notification text <b>with html</b>",
      "title_html": "Notification title <i>with html</i>",
      "click_uri": "https://example.com",
      "type": "posts",
      "sub_type": "",
      "data": {},
      "viewed": false,
      "object_id": 124
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.