Gravatar for bogdan.pomirleanu@osf-commerce.com

Question by bogdan.pomirleanu, May 7, 2019 12:52 PM

Generic Rest API Source - github connector

Hello,

Is there a way to setup a configuration for generic rest api source to tree search?

I'm trying to connect to github api and the api provides json with contents:

https://api.github.com/repos/octocat/octocat.github.io/contents

If the item is a file then i have a download url, but if is a folder i have to change the url to the folder and check again the files inside and so on.

https://api.github.com/repos/octocat/octocat.github.io/contents/images

Since there is no out of the box connector for github is there any way of achieving this?

Kind Regards,

Bogdan

Gravatar for bogdan.pomirleanu@osf-commerce.com

Comment by bogdan.pomirleanu, May 7, 2019 1:28 PM

Gravatar for bogdan.pomirleanu@osf-commerce.com

Comment by bogdan.pomirleanu, May 8, 2019 11:38 AM

The example is not working properly :( is finding all the items but is not indexing the content found.

0 Reply
Ask a question