My Project
  1. Notification
My Project
  • Untitled Doc
  • Sample APIs
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Finds Pets by status
      GET
    • Find pet by ID
      GET
    • Deletes a pet
      DELETE
  • pet
    • uploads an image
      POST
    • Finds Pets by tags
      GET
    • Updates a pet in the store with form data
      POST
  • store
    • Returns pet inventories by status
      GET
    • Place an order for a pet
      POST
    • Find purchase order by ID
      GET
    • Delete purchase order by ID
      DELETE
  • user
    • Creates list of users with given input array
      POST
    • Get user by user name
      GET
    • Updated user
      PUT
    • Delete user
      DELETE
    • Logs user into the system
      GET
    • Logs out current logged in user session
      GET
    • Creates list of users with given input array
      POST
    • Create user
      POST
  • 👀 A_接口状态_看效果
    • 1_开发中_全参数测试-接口文档默认mock
  • User
    • Authentication
      • refresh_token_create
      • logoutAllDevices
      • logoutDevice
      • sendOTP
    • Customer
      • AuthenticateCustomer
      • GetCustomerDetails
      • UpdateCustomer
      • DeleteCustomer
  • Location
    • Country
      • ListCountries
    • Region
      • GetRegionByPoint
    • Address
      • ListAddresses
      • CreateAddress
      • UpdateAddress
      • DeleteAddress
  • Wallet
    • listWalletDetails
    • updateWallet
  • FCM
    • Devices
      • devices_list
      • devices_create
      • devices_retrieve
      • devices_update
      • devices_destroy
      • devices_partial_update
    • Notification
      • listNotifications
        GET
      • deleteNotification
        DELETE
      • bulkDeleteNotifications
        DELETE
  • AppInfo
    • getSocialAccounts
    • getAppInfo
    • listFaqs
  1. Notification

listNotifications

GET
/api/notifications/
FCM/Notification
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/notifications/'
Response Response Example
200 - Example 1
{
    "next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
    "previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3",
    "results": [
        {
            "id": 0,
            "notification_type": "product_ordered",
            "title": "string",
            "message_body": "string",
            "created_at": "2019-08-24T14:15:22Z"
        }
    ]
}

Request

Query Params
cursor
string 
optional
The pagination cursor value.
page_size
integer 
optional
Number of results to return per page.

Responses

🟢200OK
application/json
Body
next
string <uri> | null 
optional
Example:
http://api.example.org/accounts/?cursor=cD00ODY%3D"
previous
string <uri> | null 
optional
Example:
http://api.example.org/accounts/?cursor=cj0xJnA9NDg3
results
array[object (NotificationDetailed) {5}] 
required
id
integer 
read-onlyrequired
notification_type
enum<string> 
optional
product_ordered - Product Ordered
other - Other
Allowed values:
product_orderedother
title
string 
required
<= 255 characters
message_body
string 
required
created_at
string <date-time>
read-onlyrequired
🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🟠405405
🟠406406
🟠415415
🟠429429
🔴500Server Error
Previous
devices_partial_update
Next
deleteNotification
Built with