code: def get_space_content(self, space_key, depth=None, expand=None, start=None, limit=None, callback=None):
          
          params = {}
          if depth:
              assert depth in {"all", "root"}
              params["depth"] = depth
          if expand:
              params["expand"] = expand
          if start is not None:
              params["start"] = int(start)
          if limit is not None:
              params["limit"] = int(limit)
          return self._service_get_request("rest/api/space/{key}/content".format(key=space_key),
                                           params=params, callback=callback)
docs: Returns the content in this given space.
          :param space_key (string): A string containing the key of the space.
          :param depth (string): OPTIONAL: A string indicating if all content, or just the root content of the space is
                                 returned. Default: "all". Valid values: "all", "root".
          :param expand (string): OPTIONAL: A comma separated list of properties to expand on each piece of content
                                  retrieved. Default: Empty.
          :param start (int): OPTIONAL: The start point of the collection to return. Default: 0.
          :param limit (int): OPTIONAL: The limit of the number of labels to return, this may be restricted by fixed
                              system limits. Default: 25.
          :param callback: OPTIONAL: The callback to execute on the resulting data, before the method returns.
                           Default: None (no callback, raw data returned).
          :return: The JSON data returned from the space/{spaceKey}/content endpoint,
                   or the results of the callback. Will raise requests.HTTPError on bad input, potentially.