Skip to main content

GET /nodes/{uuid}/mediaMount/{uid}

Use this method to return information about members of specific media that was previously mounted to a specific server.

Note
This API is not supported for ThinkServer servers.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/nodes/{uuid}/mediaMount/{uid}
where
  • {uuid} is the UUID of a server. To obtain the server UUID, use the GET /nodes method.

  • {uid} is the UID of the mounted media. To obtain the mounted-media UID, use the GET /nodes/{uuid}/mediaMount method.

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.
404Not foundA specified resource cannot be found. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
memberCountIntegerNumber of media members
membersArray of objectsInformation about the media member
 domainNameString(Samba only) Domain of the user name to access the file path
 filePathStringFile path of the map image
 optionsString(Samba and NFS only) The mount options to map the image of the file path
 readonlyStringIndicates whether the map image is read only. This can be one of the following values.
  • true. The map image has read-only permissions.

  • false. The map image has read/write permissions.

 shareTypeStringMap type of the image. This can be one of the following values.
  • ftp
  • http
  • https
  • nfs
  • samba
  • sftp
 usernameStringUser name that is used to access the file path
The following example is returned if the request is successful.
{
"memberCount": 2,
"members": [{
"domainName": "10.244.9.146",
"filePath": "https://10.244.9.146/tftpboot/nightbuild/current.iso",
"options": "ro""shareType": "NFS",
"UID": "42DDD3DA43",
"username": "test",

},
{
"domainName": "10.243.7.146",
"filePath": "https://10.244.9.146/tftpboot/nightbuild/dummy.img",
"options": "ro""shareType": "NFS",
"UID": "60E7E61E82",
"username": "test",

}]
}