Custom API endpoint


#1

I would like to create custom API endpoint with predefined parameters and Save it as an endpoint.

Is there a way to do this ?


#2

You want to create a custom URI for your API?


#3

Suppose i configure a remote web service which has various parameters like

http://localhost:8080/api/v2/rotten/lists/movies/in_theaters.json?parameter=1&parameter2

which i want to be available as http://localhost:8080/api/v2/theaters


#4

You could create a Service to do that, which will become a endpoint API, and in Service you configure the parameters and other stuffs you like.


#5

Could you please point me to the documentation for creating a custom service ?

Thanks


#6

@viraf,
Look at the Services > Info > Service Type and you will see a Custom Scripting Service. You can enter your script in the Config tab. Scripting documentation is here: http://wiki.dreamfactory.com/DreamFactory/Features/Scripting

Good luck!


#7

Sorry not replying, I’m struggle with some clients here.