{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shyft Customer Authentication > Email Customer > Notifications API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Customer > Notifications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "get one notification",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{host}}/api/customer/user_role/notifications/145093",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "response[nested]",
                "value": "0",
                "type": "query"
              }
            ]
          },
          "docs": "get one notification"
        },
        {
          "info": {
            "name": "read one notification",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{{host}}/api/customer/user_role/notifications/145093",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ]
          },
          "docs": "Description\n- - - \n- Mark this notification as read already.\n\n\n\n\nParams\n- - -\nParam | Values | R |Description\n--- | --- | --- | ---\n\n\nHeaders\n- - -\nHeader | Values | R |Description\n--- | --- | --- | ---\n\n\n\nInput\n- - - \n\nAttribute | Values | R |Description\n--- | --- | --- | ---\nviewed | true |  | |"
        },
        {
          "info": {
            "name": "view all my notifications",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{{host}}/api/customer/user_role/notifications/viewed_all",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ]
          },
          "docs": "view all my notifications"
        },
        {
          "info": {
            "name": "Remove all my notifications",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{{host}}/api/customer/user_role/notifications/destroy_all",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "viewed",
                "value": "true",
                "type": "query"
              }
            ]
          },
          "docs": "Remove all my notifications"
        },
        {
          "info": {
            "name": "Remove one notification",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{{host}}/api/customer/user_role/notifications/145936",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ]
          },
          "docs": "Remove one notification"
        }
      ]
    }
  ],
  "bundled": true
}