Navigation

Get a Disk Partition

Note

Groups and projects are synonymous terms. Your {GROUP-ID} is the same as your project id. For existing groups, your group/project id remains the same. This page uses the more familiar term group when referring to descriptions. The endpoint remains as stated in the document.

Base URL: https://cloud.mongodb.com/

Resource

GET /api/public/v1.0/groups/{GROUP-ID}/hosts/{HOST-ID}/disks/{PARTITION-NAME}

Retrieves a disk partition.

Request Path Parameters

Parameter Required/Optional Description
GROUP-ID Required ID of the group where the disk partition resides.
HOST-ID Required ID of the host where the disk partition resides.
PARTITION-NAME Required The name of the disk partition that you want to retrieve.

Request Query Parameters

This endpoint does not use HTTP request query parameters.

Request Body Parameters

This endpoint does not use HTTP request body parameters.

Response

Name Type Description
partitionName string The name of the disk partition.
links array Links to related subresources. All links arrays in responses contain at least one link called self.

Example Request

curl -i -u "username:apiKey" --digest "https://cloud.mongodb.com/api/public/v1.0/groups/533c5895b910306f21033a/hosts/814e70da8167883b9939608a12a/disks/xvdf"

Example Response

HTTP/1.1 200 OK

{
  "links" : [ ... ],
  "partitionName" : "xvdf"
}