(self, export_format)
return error.get_response_json(response, logger)
Returns exported copy of the story as defined in export_format.
Returns exported copy of the story as defined in export_format.
Returns exported copy of the story as defined in export_format .
def to_export_format(self, export_format):
        """Returns exported copy of the story as defined in export_format."""
        resource_url = '{0:s}/sketches/{1:d}/stories/{2:d}/'.format(
            self._api.api_root, self._sketch.id, self.id)

        data = {
            'export_format': export_format
        }
        response = self._api.session.post(resource_url, json=data)

        return error.get_response_json(response, logger)
def to_export_format ( self , export_format ) : resource_url = '{0:s}/sketches/{1:d}/stories/{2:d}/' . format ( self . _api . api_root , self . _sketch . id , self . id ) data = { 'export_format' : export_format } response = self . _api . session . post ( resource_url , json = data ) return error . get_response_json ( response , logger )