Skip to content

Commit

Permalink
added v2
Browse files Browse the repository at this point in the history
  • Loading branch information
wnijmeijer committed Jul 23, 2020
1 parent db5f708 commit 2c1489d
Show file tree
Hide file tree
Showing 2 changed files with 1,662 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/cloud_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ def dimension_create(self, name, event, fields: dict):
#https://platform.cloud.coveo.com/rest/ua/v15/dimensions/custom?org=asdf&name=myname&event=searches&updatePastEvents=false
return self.do_post(f'rest/ua/v15/dimensions/custom?org={self.org_id}&name={name}{event}', fields)

def dimensions_get(self):
return self.do_get(f'rest/ua/v15/dimensions/?org={self.org_id}&includeOnlyParents=true')

def pipeline_create(self, fields: dict):
return self.do_post(f'rest/search/v1/admin/pipelines/?organizationId={self.org_id}', fields)

Expand Down
Loading

0 comments on commit 2c1489d

Please sign in to comment.