'List an Organization\'s Repositories
Return a list of version control repositories for a given organization.
:pparam string organization_slug: the organization short name
:auth: required'

def get(self, request, organization):

    queryset = Repository.objects.filter(organization_id=organization.id)
    status = request.GET.get('status', 'active')
    if (status == 'active'):
        queryset = queryset.filter(status=ObjectStatus.VISIBLE)
    elif (status == 'deleted'):
        queryset = queryset.exclude(status=ObjectStatus.VISIBLE)
    elif status:
        queryset = queryset.none()
    return self.paginate(request=request, queryset=queryset, order_by='name', on_results=(lambda x: serialize(x, request.user)), paginator_cls=OffsetPaginator)
