Skip to main content
Compare Protocols Endpoint

Body

application/json

Request body for comparing two UCPs for semantic equality.

left
required

First UCP, as a dict or YAML string.

right
required

Second UCP, as a dict or YAML string.

Response

Successful Response

Result of comparing two protocols.

equal
boolean
required

True when the protocols would make a cycler do the same thing. Differences that no tolerance explains make this False rather than being ignored.

differences
ProtocolDifference · object[]

Every difference found, earliest first. Empty when equal.