'Get a single volume type details with the volume type id.
The following get parameters may be passed in the GET
:param volumetype_id: the id of the volume type
If \'default\' is passed as the volumetype_id then
it returns the default volumetype
The result is a volume type object.'

@rest_utils.ajax()
def get(self, request, volumetype_id):

    if (volumetype_id == 'default'):
        volumetype = api.cinder.volume_type_default(request)
    else:
        volumetype = api.cinder.volume_type_get(request, volumetype_id)
    return api.cinder.VolumeType(volumetype).to_dict()
