partitionTableBtrfsSubvolume_create

POST users/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/subvolumes

Creates a new btrfs subvolume in a partitioning table.

Please refer to btrfsSubvolume for a complete list of all the btrfs subvolume attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user that created the appliance
  • ptid (required): the id of the partitionTable
  • aid (required): the id of the appliance

HTTP Request Body Parameters

A btrfsSubvolume object

Example Request

curl "https://uforge.example.com/apiusers/{uid}/appliances/{aid}/installProfile/{ipid}/pt/{ptid}/subvolumes" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):