'Get a list of availability zones.
The following get parameters may be passed in the GET
request:
:param detailed: If this equals "true" then the result will
include more detail.
The listing result is an object with property "items".'

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

    detailed = (request.GET.get('detailed') == 'true')
    result = api.nova.availability_zone_list(request, detailed)
    return {'items': [u.to_dict() for u in result]}
