code: def handle_get_reseller(self, req):
          
          if not self.is_reseller_admin(req):
              return self.denied_response(req)
          listing = []
          marker = ''
          while True:
              path = '/v1/%s?format=json&marker=%s' % (quote(self.auth_account),
                                                       quote(marker))
              resp = self.make_pre_authed_request(
                  req.environ, 'GET', path).get_response(self.app)
              if resp.status_int // 100 != 2:
                  raise Exception('Could not list main auth account: %s %s' %
                                  (path, resp.status))
              sublisting = json.loads(resp.body)
              if not sublisting:
                  break
              for container in sublisting:
                  if container['name'][0] != '.':
                      listing.append({'name': container['name']})
              marker = sublisting[-1]['name'].encode('utf-8')
          return Response(body=json.dumps({'accounts': listing}),
                          content_type=CONTENT_TYPE_JSON)
docs: Handles the GET v2 call for getting general reseller information
          (currently just a list of accounts). Can only be called by a
          .reseller_admin.
  
          On success, a JSON dictionary will be returned with a single `accounts`
          key whose value is list of dicts. Each dict represents an account and
          currently only contains the single key `name`. For example::
  
              {"accounts": [{"name": "reseller"}, {"name": "test"},
                            {"name": "test2"}]}
  
          :param req: The swob.Request to process.
          :returns: swob.Response, 2xx on success with a JSON dictionary as
                    explained above.