REST Python Module¶
Class for the cart interface.
Allows API to file interactions.
-
exception
pacifica.cartd.rest.
CartInterfaceError
[source]¶ CartInterfaceError.
Basic exception class for this module. Will be used to throw exceptions up to the top level of the application.
-
class
pacifica.cartd.rest.
CartRoot
[source]¶ Define the methods that can be used for cart request types.
Doctest for the cart generator class HPSS Doc Tests
-
exposed
= True¶
-
json_schema
= {'properties': {'fileids': {'items': {'properties': {'hashsum': {'type': 'string'}, 'hashtype': {'type': 'string'}, 'id': {'type': ['integer', 'string']}, 'path': {'type': 'string'}}, 'required': ['id', 'path', 'hashtype', 'hashsum'], 'type': 'object'}, 'type': 'array'}}, 'required': ['fileids'], 'type': 'object'}¶
-