This is a read-only mirror of the HSC engineering wiki, restored from a 2017 archive. Some links are broken and some content is out of date. About this mirror.

API Deprecation Notes

From ANTFARM Wiki

Jump to: navigation, search
This is an old revision of this page, as archived. The mirror serves the archived text for every revision id.
API Deprecation Notes
CoversAPI v1, v2, v3
Policytwo minor releases notice
Ownermkerrigan
Statuscurrent
Archive refQUANTARA-SWARMGLASS-R4-36FB6B

Contents

[hide]

Running list of everything removed from the ANTFARM APIs, with the release it went away in and what replaced it. The policy from 2.0 onward was two minor releases of notice; the list shows how often that held.

[edit] Summary table

RemovedInNotice givenReplacementNotes
task.result without ref1.1noneref fieldpre-policy
queen HTTP /assign endpoint2.01 releaseIACP over busthe "API v1"
hb without epoch_seen2.32 releasesrequired field
IACP/2 binary framing3.0n/a (never shipped)see Deprecated Agent API
mload1 loader3.21 releasemload2broke Basalt-1, see Model Compatibility Matrix
notify.mail tool3.2noneremoved after the mail loop
model.classify (Larkspur-S)3.42 releasesrule list
API v2 /graph/submit3.42 releasesv3 /graphs

[edit] API versions

v1 (2010–2012)
HTTP on the queen (:7420/assign, /result). Replaced entirely by IACP over the bus. Nothing on this mirror still speaks v1.
v2 (2012–2016)
IACP 1.1 plus the queen's HTTP control surface (/graph/submit, /nodes, /memory). Most of what this wiki documents. Deprecated in 3.4 but never removed; retirement got there first.
v3 (2014–2016)
REST-ish (/graphs, /nodes, /memory/{key}) with JSON bodies. Documented in openapi.json on the queen, which the mirror reproduces under /api/v1/ for the read-only subset.

[edit] Deprecated agent API

The IACP/2 work — binary framing, batching, capability negotiation — is documented on Deprecated Agent API for the record. It is the most-linked deprecated thing on this wiki because people keep finding references to it in old bundles.

[edit] Process notes

Deprecations were supposed to be announced on the ops.announce trail and here. In practice they were announced in chat and here, three weeks later. Anything marked "notice: none" above was found out about by a forager rejecting a message.

[edit] See also

Revision 31 · mkerrigan, r.osei, svanterpool · history · alternates: json txt
Personal tools