Rich-text Reply
Highlighted

How to Access All Experiments Info From Nodejs

rfox a week ago

How to Access All Experiments Info From Nodejs

Currently I got all my projects list with 

curl -H "Authorization: Bearer [mytoken]"   "https://api.optimizely.com/v2/projects". But How can I get all experiments under each projects with the correct url link?

Level 1

rfox a week ago
 

Re: How to Access All Experiments Info From Nodejs

The endpoint is https://api.optimizely.com/v2/experiments, with a query parameter of the project_id at the end. So, an example endpoint to grab all experiments in Project 12345 would be https://api.optimizely.com/v2/experiments?project_id=12345. 

 

ref#: https://developers.optimizely.com/x/rest/v2/#list-experiments

Level 1