Skip to content

Conversation

rwb27
Copy link
Contributor

@rwb27 rwb27 commented Feb 11, 2021

  • An old version of the spec used "links" instead of "forms".
  • Also, the output value of actions has changed from being called "return_value" to "output"

This brings us up to date. Without it, I can't connect to the latest openflexure microscope.

An old version of the spec used "links" instead of "forms".
This brings us up to date.
LabThings actions now store the return value in "output" in the JSON.
This commit updates the key to "output" and renames the corresponding
property.
@rwb27 rwb27 changed the title Swap "links" for "forms" Update API Feb 11, 2021
@jtc42 jtc42 merged commit 1ff9dff into master Feb 11, 2021
@jtc42
Copy link
Member

jtc42 commented Feb 11, 2021

Thanks! I think this client library got forgotten a bit since the OFM client wasn't based on it. Good that it's back in-sync.

@rwb27
Copy link
Contributor Author

rwb27 commented Feb 11, 2021

Cool, thanks. I'll need to extend it a bit more before I can really use it (e.g. to handle JPEG responses) but it is nicer than the microscope one so I should make the switch at some point.

@rwb27 rwb27 mentioned this pull request Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants