Package nzilbb.labbcat.server.api
Class SystemAttributes
- java.lang.Object
-
- nzilbb.labbcat.server.api.APIRequestHandler
-
- nzilbb.labbcat.server.api.TableServletBase
-
- nzilbb.labbcat.server.api.SystemAttributes
-
public class SystemAttributes extends TableServletBase
/api/systemattributes/name : Access to system attributes.Allows access to the value of a given system attribute, returning a JSON-encoded objects with the following attributes:
-
name
: ID of the attribute. -
value
: The value of the attribute.
- Only the GET
- HTTP method is supported.
- Response Body - the standard JSON envelope, with the model as an object with the above structure.
- Response Status
- 200 : The attribute was found.
- 404 : The attribute was not found.
- 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 SystemAttributes()
-
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
-
-