PATCH/spaces/api/v1/notifications/{notificationID}

Update a Notification.

Path Params

  • Name
    notificationID
    Type
    integer
    required
    Description

Body Params

    • Name
      notification
      Type
      object
      Description
      NotificationUpdate is an object to use when updating an existing notification state.

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      NotificationResponse is returned to the api and supports including.
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
    • Code
      404
      Type
      object
      Schema
      Description
      404 Not Found
    • Code
      500
      Type
      object
      Schema
      Description
      500 Internal Server Error

    Examples

    200 OK

    NotificationResponse
    {
      "changedBy": {
        "id": 0,
        "meta": {},
        "type": "string"
      },
      "eventDate": "2024-07-26T20:26:10.533Z",
      "id": 0,
      "isRead": true,
      "object": {
        "id": 0,
        "meta": {},
        "type": "string"
      },
      "operation": "string",
      "title": "string",
      "url": "string"
    }