Extend a forming series with new bars, from its edge
POST/v1/segmentations/extend
Patternode keeps nothing between calls. A forming series is carried by you: each
answer returns its edge, a sealed token holding the open right edge of every level.
Store it with the segments, and send it back with the next bars. Without an edge,
the call starts a new series.
The same edge with the same bars always gives the same answer, so a retry after a
timeout is safe: resend the request you sent. Bars must open after the edge's last
bar closed (edge_last_close_time); an earlier bar is refused with 409 out_of_order.
Extending bar by bar gives the same segments as sending them all as a finished series.
The edge is sealed: encrypted and signed by Patternode, bound to your account, the
series name and the profile version. You cannot read or change it, and it is no use
to anyone else. What it means for drawing is returned beside it, readable, as
right_edge.
Request
Responses
- 200
- 400
- 401
- 402
- 403
- 409
- 429
- 503
The segments the bars closed, the new right edge, and the new edge to store.
Response Headers
Quote it to support.
IETF RateLimit-Policy (draft-ietf-httpapi-ratelimit-headers).
IETF RateLimit, the current window's remaining allowance.
Patternode's share of the request's time, W3C Server-Timing.
The request or series cannot be used.
Missing, bad, disabled or expired key.
No credit.
Missing scope, a test key on real data, or terms not accepted.
out_of_order: a bar opens before the edge's last bar closed. edge_mismatch: the
edge belongs to another series, profile version or account. Nothing is applied.
A rate, quota or spend limit. Wait for retry-after.
Response Headers
Seconds to wait before retrying.
Service capacity for the day. Retry later.
Response Headers
Seconds to wait before retrying.