POST Acknowledge
Sending an acknowledge request will clear the acknowledged events from the event queue. The acknowledgement is set by the offset
parameter, and will acknowledge all messages up to right before that offset
If you do not acknowledge the message on your next connection, the stored messages will start over. You can use the acknowledge endpoint to increment up or down. When acknowledging, you should send the current offset + 1
. If you simply acknowledge the current offset, you will repeat the last message when a new connection is created.
Request
POST {pubUrl}/api/rest/v1/publication/acknowledge
Authorization: {{auth}}
Content-Type: application/json
[
{
"Name": "data",
"Offset": 3
}
]
Response
HTTP/1.1 204 OK
...
Content-Type: application/json; charset=utf-8
Connection: close