Archive
Archive / Query
Return information about an archive.
This web service runs the vsarchiveqry command.
Parameters
|
Parameter |
Req / Opt |
Num |
Description |
CLI Option |
|
mode |
Optional | 1 | This option specifies if the job will be run synchronously or asynchronously. The valid values are sync and async. The default value is sync. | None |
|
jobtype |
Optional | 1 | This parameter is used for async mode only and enables the user to run it as a fast or slow job. Valid values are fast and slow. The default value is fast. | None |
|
|
Optional |
1 |
The output format requested. Valid values are xml, json and text. The default is text. |
|
|
|
Optional |
1 |
Identifies the archive to be queried. If not specified, all archives are queried. |
|
|
|
Optional |
1 |
Indicates that detailed information on all MediaClass groups associated with the specified archive(s) are to be reported. Default value is false. |
|
|
|
Optional |
1 |
Indicates that all drives associated with the specified archive(s) are to be reported. Default value is false. |
|
|
|
Optional |
1 |
Indicates that all media associated with the specified archive(s) are to be reported. Default value is false. |
|
|
|
Optional |
1 |
Indicates that all import/export ports associated with the specified archive(s) are to be reported. Default value is false. |
|
|
|
Optional |
1 |
Indicates that detailed information on all media types associated with the specified archive(s) are to be reported. Default value is false. |
|
|
|
Optional |
1 |
The host name of the Media Manager server. |
|
|
|
Optional |
1 |
The execution priority of the entered command. Assignable priority values are restricted to a range from 1 (highest) to 32 (lowest) inclusive. The default priority value is 15. |
|
|
|
Optional |
1 |
The number of retries that web service will attempt if a timeout is returned by the API software. The default retries value is 3. |
|
|
|
Optional |
1 |
The amount of time (in seconds) the API software waits for status from the Media Manager software before returning a timeout to the CLI software. Total wait time for a command is (retries plus 1) multiplied by time-out value. The default time-out value is 120 seconds. |
|
|
|
Optional |
1 |
The RPC program number for the Media Manager software. The default value for the Media Manager software program number is 300016. |
|
Example
|
https://<<SERVER>>/sws/v2/archive/vsarchiveqry |
Output
|
|
Archive / Query Port
Query an archive port.
This web service runs the mmportinfo command.
Note: This web service returns text output.
Parameters
|
Parameter |
Req / Opt |
Num |
Description |
CLI Option |
|
|
Required |
1 |
Identifies the archive to obtain port information about. Valid archive names may contain up to 16 alphanumeric characters, including spaces. Leading and trailing spaces are not permitted. |
|
Example
|
|
Output
|
|
Archive / Change State
Change the state of an archive.
This web service runs the vsarchivevary command.
Parameters
|
Parameter |
Req / Opt |
Num |
Description |
CLI Option |
|
mode |
Optional | 1 | This option specifies if the job will be run synchronously or asynchronously. The valid values are sync and async. The default value is sync. | None |
|
jobtype |
Optional | 1 | This parameter is used for async mode only and enables the user to run it as a fast or slow job. Valid values are fast and slow. The default value is fast. | None |
|
|
Optional |
1 |
The output format requested. Valid values are xml, json and text. The default is text. |
|
|
|
Required |
1 |
Identifies the archive to be queried. |
|
|
|
Required |
1 |
Identifies the state into which the archive is placed. Valid archive states are: on-line, off-line, and diagnostic. The archive states, on-line, off-line, and diagnostic are abbreviated as on, of, and d respectively. |
|
|
|
Optional |
1 |
The host name of the Media Manager server. |
|
|
|
Optional |
1 |
The execution priority of the entered command. Assignable priority values are restricted to a range from 1 (highest) to 32 (lowest) inclusive.The default priority value is 15. |
|
|
|
Optional |
1 |
The number of retries that web service will attempt if a timeout is returned by the API software. The default retries value is 3. |
|
|
|
Optional |
1 |
The amount of time (in seconds) the API software waits for status from the Media Manager software before returning a timeout to the CLI software. Total wait time for a command is (retries plus 1) multiplied by time-out value. The default time-out value is 120 seconds. |
|
|
|
Optional |
1 |
The RPC program number for the Media Manager software. The default value for the Media Manager software program number is 300016. |
|
Example
|
|
Output
|
|
