We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b2747 commit 6819f23Copy full SHA for 6819f23
src/labthings/views/__init__.py
@@ -171,7 +171,12 @@ def __init_subclass__(cls):
171
@classmethod
172
def get(cls):
173
"""
174
- Default method for GET requests. Returns the action queue (including already finished actions) for this action
+ List running and completed actions.
175
+
176
+ Actions are run with `POST` requests. See the `POST` method for this URL for
177
+ details of the action. Sending a `GET` request to an action endpoint will return
178
+ action descriptions for each time the action has been run, including whether they
179
+ have completed, and any return values.
180
181
queue_schema = build_action_schema(cls.schema, cls.args)(many=True)
182
return queue_schema.dump(cls._deque)
0 commit comments