Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Required Packages :
  • JyFedoREST
Source file :

AddDatastreamActor.py

Input port:
  • injest_info : ObjectToken containing a Jython dictionary containing data from a form usbmitted via "FCRepo Datastream Dialog". Alternately, any Jython dictionary with the following keys:
    • fcrepoURL = base URL of the Fedora Repository.
    • username = name of a Fedora Repository user.
    • password = password corresponding to the username.
    • pid = identifier for object to be queried.
    • dsid = identifier of datastream to be queried.
    • dsLabel = label for datastream to be created.
    • dsLocation = URL of file containing datastream content.
    • mimeType = mime type of datastream content.
    • controlGroup = datastream control group, optional, defaults to 'M'.
    • dsState = datastream state, optional, defaults to 'A'.
    • versionable = whether datastream is versionable, optional, defaults to True.
    • formatURI = URI of datastream format description, optional, no default.
    • checksumType = datastream checksum type, optional, no default.
    • altIDs = list of alternate IDs for datastream, optional, no default.

...