GET /api/v1/project_copy_to_strategies
Display a list of all "project copy to" strategies.


GET /api/v1/project_copy_to_strategies/:id
Display a "project copy to" strategy.

Params

Param name Description
id
required

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

Validations:

  • Must be a String


POST /api/v1/project_copy_to_strategies
Create a new "project copy to" strategy.

Params

Param name Description
project_copy_to_strategy
optional , nil allowed

Validations:

  • Must be a Hash

project_copy_to_strategy[name]
required

The name of a strategy.

Validations:

  • Must be a String

project_copy_to_strategy[destination]
required

The destination path of archived/copied data.

Validations:

  • Must be a String

project_copy_to_strategy[format]
required

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

Validations:

  • Must be a String

project_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

project_copy_to_strategy[enabled]
optional , nil allowed
true | false

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

Validations:

  • Must be a String

project_copy_to_strategy[includes]
required

A string specifying the inclusion scope of a strategy. It indicates whether to include direct subprojects, transitive subprojects or none of them. Available values: [none | direct | transitive].

Validations:

  • Must be a String

project_copy_to_strategy[contents]
required
media | project | both

A string specifying the inclusion scope of a strategy regarding the contents. It indicates whether to include only media files, only project files, or both.

Validations:

  • Must be a String

project_copy_to_strategy[delete_project]
required
true | false

Indicates whether a project should be deleted after copying process is done. Default: false.

Validations:

  • Must be a String


PUT /api/v1/project_copy_to_strategies/:id
Update a "project copy to" strategy.

Params

Param name Description
id
required

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

Validations:

  • Must be a String

project_copy_to_strategy
optional , nil allowed

Validations:

  • Must be a Hash

project_copy_to_strategy[name]
optional

The name of a strategy.

Validations:

  • Must be a String

project_copy_to_strategy[destination]
optional

The destination path of archived/copied data.

Validations:

  • Must be a String

project_copy_to_strategy[format]
optional

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

Validations:

  • Must be a String

project_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

project_copy_to_strategy[enabled]
optional , nil allowed
true | false

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

Validations:

  • Must be a String

project_copy_to_strategy[includes]
optional

A string specifying the inclusion scope of a strategy. It indicates whether to include direct subprojects, transitive subprojects or none of them. Available values: [none | direct | transitive].

Validations:

  • Must be a String

project_copy_to_strategy[contents]
optional
media | project | both

A string specifying the inclusion scope of a strategy regarding the contents. It indicates whether to include only media files, only project files, or both.

Validations:

  • Must be a String

project_copy_to_strategy[delete_project]
optional
true | false

Indicates whether a project should be deleted after copying process is done. Default: false.

Validations:

  • Must be a String


DELETE /api/v1/project_copy_to_strategies/:id
Delete a "project copy to strategy".

Params

Param name Description
id
required

ID of the strategy to delete.

Validations:

  • Must be a String