Get desktop application:
View/edit binary Protocol Buffers messages
Storage Registry API The Storage Registry API is meant to as registry to obtain information of available storage providers. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. The following are global requirements that apply to all methods: Any method MUST return CODE_OK on a succesful operation. Any method MAY return NOT_IMPLEMENTED. Any method MAY return INTERNAL. Any method MAY return UNKNOWN. Any method MAY return UNAUTHENTICATED.
Gets the user home storage provider.
TODO(labkode): missing methods for adding and removing a storage provider with different visibility levels (system-wide, user-wide, group-wide)...
OPTIONAL. Opaque information.
REQUIRED. The response status.
OPTIONAL. Opaque information.
REQUIRED. The storage provider for the user home.
Returns the storage provider that is reponsible for the given resource reference. MUST return CODE_NOT_FOUND if the reference does not exist.
OPTIONAL. Opaque information.
REQUIRED. The reference for the resource.
REQUIRED. The response status.
OPTIONAL. Opaque information.
REQUIRED. The storage providers handling the requested storage resource.
Returns a list of the available storage providers known by this registry.
OPTIONAL. Opaque information.
TODO(labkode): maybe add some filter?
REQUIRED. The response status.
OPTIONAL. Opaque information.
REQUIRED. The list of storage providers this registry knows about.
The information for the storage provider.
Used in: , ,
OPTIONAL. Opaque information (containing storage-specific information). For example, additional metadata attached to the resource.
REQUIRED. The storage provider id that will become part of the resource id. For example, if the provider_id is "home", resources obtained from this storage provider will have a resource id like "home:1234".
REQUIRED. The public path prefix this storage provider handles. In Unix literature, the mount path. For example, if the provider_path is "/home", resources obtained from this storage provier will have a resource path lik "/home/docs".
REQUIRED. The address where the storage provider can be reached. For example, tcp://localhost:1099.
OPTIONAL. Information to describe the functionalities offered by the storage provider. Meant to be read by humans.
REQUIRED. List of available methods.
REQUIRED. Represents the list of features available on this storage provider. If the feature is not supported, the related service methods MUST return CODE_UNIMPLEMENTED.
Used in: