GET /public/shared/{token}/ops/replay
Replay de ops desde `since` (reconnect após SSE drop).
- Access: Public (link or signature)
- Service:
https://api-flow.axuz.net
Accepted authentication
No authentication (public route, or protected by link/signature).
— GET /public/shared/{token}/ops/replay?since={version}.
Read OK pra access in {'view','interact'} — leitor com SSE pode reconectar mesmo sem permissão de escrita.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
token | path | string | yes | 16 bytes hex (2^128 espaço). |
since | query | integer | no |
Responses
200
Ops entre since e current_version.
| Name | Type | Required | Description |
|---|---|---|---|
ops | array<FlowOpsReplayEntry> | yes | |
ops[].version | integer | yes | |
ops[].op | FlowOp | yes | Op tipada. Ver |
ops[].op.client_id | string | yes | |
ops[].op.type | string | yes | enum: |
ops[].op.entity_id | string | yes | |
ops[].op.ts | integer | yes | Client-side ms epoch. Clampado em [server_now-60s, server_now+60s]. |
ops[].op.patch | object | no | |
ops[].op.payload | object | no | |
current_version | integer | yes | |
truncated | boolean | no | Fora do intervalo disponível — client deve reconciliar via snapshot. |
400
Payload inválido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Recurso não encontrado ou fora de escopo.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
410
Share expirou.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
429
Rate limit estourado (per-token ou per-team).
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
500
Erro interno. Tente de novo com backoff; reporte o X-Request-Id.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
Examples
"Try it" is turned off in this reference. Use the examples with your test credential.
curl
curl -sS -X GET 'https://api-flow.axuz.net/public/shared/TOKEN/ops/replay'Node.js
const res = await fetch("https://api-flow.axuz.net/public/shared/TOKEN/ops/replay", {
method: 'GET',
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"GET",
"https://api-flow.axuz.net/public/shared/TOKEN/ops/replay",
timeout=30,
)
res.raise_for_status()
print(res.json())