GET /api/v1/asset_copy_to_strategies
Display a list of all "asset copy to" strategies.

Metadata

- Authentication: The user must be authenticated to perform this action.

GET /api/v1/asset_copy_to_strategies/:id
Display an "asset copy to" strategy.

Metadata

- Authentication: The user must be authenticated to perform this action.

Params

Param name Description
id
required

ID of the “asset copy to” strategy to be displayed.

Validations:

  • Must be a String


POST /api/v1/asset_copy_to_strategies
Create a new "asset copy to" strategy.

Metadata

- Authentication: The user must be authenticated to perform this action.

Params

Param name Description
asset_copy_to_strategy
optional , nil allowed

Validations:

  • Must be a Hash

asset_copy_to_strategy[name]
required

The name of a strategy.

Validations:

  • Must be a String

asset_copy_to_strategy[destination]
required

The destination path of archived/copied data.

Validations:

  • Must be a String

asset_copy_to_strategy[format]
required

[tarball | zipball | plain | archiware | pixstor | kumulate | cloud]. The format of archived/copied data.

Validations:

  • Must be a String

asset_copy_to_strategy[admin_only]
required

Indicates whether a archived/copying strategy can be used only by administrators or all users. Available values: [true | false]. Default value: true

Validations:

  • Must be a String

asset_copy_to_strategy[enabled]
optional , nil allowed
true | false

Indicates whether an archiving strategy is enabled. Default: true.

Validations:

  • Must be a String


PUT /api/v1/asset_copy_to_strategies/:id
Update an "asset copy to" strategy.

Metadata

- Authentication: The user must be authenticated to perform this action.

Params

Param name Description
id
required

ID of the “asset copy to” strategy to be updated.

Validations:

  • Must be a String

asset_copy_to_strategy
optional , nil allowed

Validations:

  • Must be a Hash

asset_copy_to_strategy[name]
optional

The name of a strategy.

Validations:

  • Must be a String

asset_copy_to_strategy[destination]
optional

The destination path of archived/copied data.

Validations:

  • Must be a String

asset_copy_to_strategy[format]
optional

[tarball | zipball | plain | archiware | pixstor | kumulate | cloud]. The format of archived/copied data.

Validations:

  • Must be a String

asset_copy_to_strategy[admin_only]
optional

Indicates whether a archived/copying strategy can be used only by administrators or all users. Available values: [true | false]. Default value: true

Validations:

  • Must be a String

asset_copy_to_strategy[enabled]
optional , nil allowed
true | false

Indicates whether an archiving strategy is enabled. Default: true.

Validations:

  • Must be a String


DELETE /api/v1/asset_copy_to_strategies/:id
Delete a asset copy to strategy.

Metadata

- Authentication: The user must be authenticated to perform this action.

Params

Param name Description
id
required

ID of the strategy to delete.

Validations:

  • Must be a String