Package nzilbb.labbcat.server.api.layers
Class Managers
- java.lang.Object
-
- nzilbb.labbcat.server.api.APIRequestHandler
-
- nzilbb.labbcat.server.api.TableServletBase
-
- nzilbb.labbcat.server.api.layers.Managers
-
public class Managers extends TableServletBase
/api/layers/managers/ : Access to layer managers.Allows access a list of currently-installed layer managers and their attributes, returning a JSON-encoded array of objects with the following attributes:
-
layer_manager_id
: ID of the layer manager. -
version
: The version of the installed implementation. -
name
: The name for the layer manager. -
description
: A brief description of what the layer manager does. -
layer_type
: What kinds of layers the layer manager can process - a string composed of any of the following:- S - segment layers
- W - word layers
- M - phrase (meta) layers
- F - span (freeform) layers
- Only the GET
- HTTP method is supported.
- Response Body - the standard JSON envelope, with the model as an array of objects with the above structure.
- Response Status
- 200 : Success.
- Author:
- Robert Fromont robert@fromont.net.nz
-
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class nzilbb.labbcat.server.api.TableServletBase
TableServletBase.DeleteCheck
-
-
Field Summary
-
Fields inherited from class nzilbb.labbcat.server.api.APIRequestHandler
SC_BAD_REQUEST, SC_CONFLICT, SC_FORBIDDEN, SC_INTERNAL_SERVER_ERROR, SC_METHOD_NOT_ALLOWED, SC_NOT_FOUND, SC_OK, SC_UNPROCESSABLE_CONTENT, SC_UNSUPPORTED_MEDIA_TYPE
-
-
Constructor Summary
Constructors Constructor Description Managers()
-
Method Summary
-
Methods inherited from class nzilbb.labbcat.server.api.TableServletBase
delete, get, post, put
-
Methods inherited from class nzilbb.labbcat.server.api.APIRequestHandler
GetSystemAttribute, init, writeResponse
-
-