Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Content and Lookup Management API Additions#62

Merged
himanshu219 merged 2 commits into
SumoLogic:masterSumoLogic/sumologic-python-sdk:masterfrom
produceallthethings:content-and-lookup-management-apisproduceallthethings/sumologic-python-sdk:content-and-lookup-management-apisCopy head branch name to clipboard
Jun 18, 2020
Merged

Content and Lookup Management API Additions#62
himanshu219 merged 2 commits into
SumoLogic:masterSumoLogic/sumologic-python-sdk:masterfrom
produceallthethings:content-and-lookup-management-apisproduceallthethings/sumologic-python-sdk:content-and-lookup-management-apisCopy head branch name to clipboard

Conversation

@produceallthethings

Copy link
Copy Markdown
Contributor

Various commands associated to the Content and Lookup management APIs have been added

Various commands associated to the Content and Lookup management APIs have been incorporated

@himanshu219 himanshu219 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM(apart from the nit) this is more comprehensive than PR will close out other one.

Comment thread sumologic/sumologic.py Outdated
return self.get('/apps/install/%s/status' % job_id)

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need params also? I think it should work with params="" as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spotting, you're correct with leaving them blank. I've committed the change

Params have been updated to "" instead of content_id
@himanshu219 himanshu219 merged commit 53461c5 into SumoLogic:master Jun 18, 2020
@himanshu219 himanshu219 mentioned this pull request Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.