USAGE

   /create-volumes
   /master/create-volumes

TL;DR;

Create persistent volumes on reserved resources.

DESCRIPTION

Returns 202 ACCEPTED which indicates that the create operation has been validated successfully by the master. Returns 307 TEMPORARY_REDIRECT redirect to the leading master when current master is not the leader. Returns 503 SERVICE_UNAVAILABLE if the leading master cannot be found. The request is then forwarded asynchronously to the Mesos agent where the reserved resources are located. That asynchronous message may not be delivered or creating the volumes at the agent might fail.

Please provide "slaveId" and "volumes" values designating the volumes to be created.

AUTHENTICATION

This endpoint requires authentication iff HTTP authentication is enabled.

AUTHORIZATION

Using this endpoint to create persistent volumes requires that the current principal is authorized to create volumes for the specific role. See the authorization documentation for details.