Skip to content

Commit

Permalink
Merge pull request #61 from SumoLogic/hpal_export_apis
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu219 authored Jun 23, 2020
2 parents 53461c5 + 5efb893 commit 95e94a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.9
0.1.11
6 changes: 3 additions & 3 deletions sumologic/sumologic.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,13 @@ def check_app_install_status(self, job_id):

def export_content(self, content_id):
return self.post('/content/%s/export' % content_id, params="", version='v2')

def check_export_status(self, content_id, job_id):
return self.get('/content/%s/export/%s/status' % (content_id, job_id), version='v2')

def export_content_results(self, content_id, job_id):
def get_export_content_result(self, content_id, job_id):
return self.get('/content/%s/export/%s/result' % (content_id, job_id), version='v2')

def delete_content(self, content_id):
return self.delete('/content/%s/delete' % content_id, version='v2')

Expand Down

0 comments on commit 95e94a5

Please sign in to comment.