Provides functions to access and write the File format registry.
Summary
Functions
Creates a new file format in the registry.
Deletes a file format.
Fetches a single file format by ID.
Lists the file formats defined in the registry.
Replaces an existing file format in the registry.
Functions
@spec create( map(), keyword() ) :: DSpace.API.Operation.t()
Creates a new file format in the registry.
This operation requires administrator privileges.
@spec delete( non_neg_integer(), keyword() ) :: DSpace.API.Operation.t()
Deletes a file format.
@spec fetch( non_neg_integer(), keyword() ) :: DSpace.API.Operation.t()
Fetches a single file format by ID.
@spec list(keyword()) :: DSpace.API.Operation.JSON.t()
Lists the file formats defined in the registry.
This operation can be streamed.
Options
:page- Page number (0-based, defaults to 0):size- Number of items per page (usually defaults to 20)
@spec replace(non_neg_integer(), map(), keyword()) :: DSpace.API.Operation.t()
Replaces an existing file format in the registry.