kickstart.filepreservation

Description

Provides methods to retrieve and manipulate kickstart file preservation lists.

Namespace:

kickstart.filepreservation

Method: create

HTTP POST

Description:

Create a new file preservation list.

Parameters:

  • string sessionKey

  • string name - name of the file list to create

  • string array files - file names to include

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: delete

HTTP POST

Description:

Delete a file preservation list.

Parameters:

  • string sessionKey

  • string name - name of the file list to delete

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: getDetails

HTTP GET

Description:

Returns all the data associated with the given file preservation list.

Parameters:

  • string sessionKey

  • string name - name of the file list to retrieve details for

Returns:

  • * struct file list

    • string "name"

    • string array "file_names" - the list of file names

Method: listAllFilePreservations

HTTP GET

Description:

List all file preservation lists for the organization associated with the user logged into the given session

Parameters:

  • string sessionKey

Returns:

  • array :

  • struct file preservation

    • int "id"

    • string "name"

    • dateTime.iso8601 "created"

    • dateTime.iso8601 "last_modified"