def get_content_by_id(self, content_id, status=None, version=None, expand=None, callback=None):
        """
        Returns a piece of Content.
        :param content_id (string): The id of the content.
        :param status (string): OPTIONAL: List of Content statuses to filter results on. Default value: [current]
        :param version (int): OPTIONAL: The content version to retrieve. Default: Latest.
        :param expand (string): OPTIONAL: A comma separated list of properties to expand on the content.
                                Default value: history,space,version We can also specify some extensions such as
                                extensions.inlineProperties (for getting inline comment-specific properties) or
                                extensions.resolution for the resolution status of each comment in the results.
        :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} endpoint, or the results of the callback.
                 Will raise requests.HTTPError on bad input, potentially.
        """
        params = {}
        if status:
            params["status"] = status
        if version is not None:
            params["version"] = int(version)
        if expand:
            params["expand"] = expand
        return self._service_get_request("rest/api/content/{id}".format(id=content_id), params=params,
                                         callback=callback)
def get_content_by_id ( self , content_id , status = None , version = None , expand = None , callback = None ) : params = { } if status : params [ "status" ] = status if version is not None : params [ "version" ] = int ( version ) if expand : params [ "expand" ] = expand return self . _service_get_request ( "rest/api/content/{id}" . format ( id = content_id ) , params = params , callback = callback )
Returns a piece of Content.
        :param content_id (string): The id of the content.
        :param status (string): OPTIONAL: List of Content statuses to filter results on. Default value: [current]
        :param version (int): OPTIONAL: The content version to retrieve. Default: Latest.
        :param expand (string): OPTIONAL: A comma separated list of properties to expand on the content.
                                Default value: history,space,version We can also specify some extensions such as
                                extensions.inlineProperties (for getting inline comment-specific properties) or
                                extensions.resolution for the resolution status of each comment in the results.
        :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} endpoint, or the results of the callback.
                 Will raise requests.HTTPError on bad input, potentially.