Skip to content

Comments

Content and Lookup Management API Additions#62

Merged
himanshu219 merged 2 commits intoSumoLogic:masterfrom
produceallthethings:content-and-lookup-management-apis
Jun 18, 2020
Merged

Content and Lookup Management API Additions#62
himanshu219 merged 2 commits intoSumoLogic:masterfrom
produceallthethings:content-and-lookup-management-apis

Conversation

@produceallthethings
Copy link
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
Copy link
Contributor

@himanshu219 himanshu219 left a comment

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.

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
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
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