REST API file information

How to use the REST API to gather information about IBM Storage Archive Enterprise Edition files.

Request URLs
/ibmsa/v2/files/state?file=<file_path>
Request data
file_path
Full path of the file to show.
Response data
If a <fille_path> is specified, a JSON object that represents the state of the file is returned.
Each JSON object has the following fields:
name: <string>
The name of the file requested.
state: <string>
The state of the file requested. The state can be either "resident", "premigrated", "migrated" or "unknown".