Returns a paginated list of attachment Content entities within a single container.
        :param content_id (string): A string containing the id of the attachments content container.
        :param expand (string): OPTIONAL: A comma separated list of properties to expand on the Attachments returned.
                                Default: Empty.
        :param start (int): OPTIONAL: The index of the first item within the result set that should be returned.
                            Default: None (0).
        :param limit (int): OPTIONAL: How many items should be returned after the start index. Default: 50
        :param filename (string): OPTIONAL: A filter parameter to return only the Attachment with the matching file
                                  name. Default: None.
        :param media_type: OPTIONAL: A filter parameter to return only Attachments with a matching Media-Type.
                           Default: None.
        :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 content/{id}/child/attachment endpoint, or the results of the
                 callback. Will raise requests.HTTPError on bad input, potentially.

def get_content_attachments(self, content_id, expand=None, start=None, limit=None, filename=None, media_type=None,
                                callback=None):
        """
        Returns a paginated list of attachment Content entities within a single container.
        :param content_id (string): A string containing the id of the attachments content container.
        :param expand (string): OPTIONAL: A comma separated list of properties to expand on the Attachments returned.
                                Default: Empty.
        :param start (int): OPTIONAL: The index of the first item within the result set that should be returned.
                            Default: None (0).
        :param limit (int): OPTIONAL: How many items should be returned after the start index. Default: 50
        :param filename (string): OPTIONAL: A filter parameter to return only the Attachment with the matching file
                                  name. Default: None.
        :param media_type: OPTIONAL: A filter parameter to return only Attachments with a matching Media-Type.
                           Default: None.
        :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 content/{id}/child/attachment endpoint, or the results of the
                 callback. Will raise requests.HTTPError on bad input, potentially.
        """
        params = {}
        if expand:
            params["expand"] = expand
        if start is not None:
            params["start"] = int(start)
        if limit is not None:
            params["limit"] = int(limit)
        if filename is not None:
            params["filename"] = filename
        if media_type is not None:
            params["mediaType"] = media_type
        return self._service_get_request("rest/api/content/{id}/child/attachment".format(id=content_id),
                                         params=params, callback=callback)