These are chat archives for ushahidi/Community

27th
Sep 2017
Arturo
@ArturoQuintana
Sep 27 2017 14:21
good morning @WillDoran @davidlosada @ushbot
I have some concerns about my last question (enable the https in our server)
Virgílio N Santos
@virgilio
Sep 27 2017 14:52
Hi there, I'm just starting using Ushahidi and I'm having some trouble trying to get the right API endpoints (URL patterns)
Any hints on how to proceed? I'm trying documentantion on:
https://wiki.ushahidi.com/display/WIKI/Ushahidi+3.x+API+Posts+Resource
on a running dockerized instance very similar (and up-to-date) with https://github.com/ushahidi/platform-release repository
Ushbot
@ushbot
Sep 27 2017 15:18
[David Losada, Ushahidi] Hi I'm not going to be able to answer questions here today. I'll be back tomorrow
Ushbot
@ushbot
Sep 27 2017 15:44
[Romina Suarez, Ushahidi] Hi. A good start are our API docs which are published here . http://github.ushahidi.org/platform/docs/api/index.html
And which are generated from this files: https://github.com/ushahidi/platform/tree/develop/docs/api
Virgílio N Santos
@virgilio
Sep 27 2017 16:34
@rowasc thanks! I'll give it a try
Ushbot
@ushbot
Sep 27 2017 16:36
[Romina Suarez, Ushahidi] @virgilio no problem. If you have questions about an endpoint, just let me know.
Virgílio N Santos
@virgilio
Sep 27 2017 16:37
Thanks!
Virgílio N Santos
@virgilio
Sep 27 2017 19:26
@rowasc Actually, I'm trying to verify if the API is correctly working, and I can't find which URL I can get this confirmation... I've launched a deployment and have a instance locally running, I try the url + any endpoint and get a redirect to the main website
Is there a documentation on how to setup and/or get the api settings?
Ushbot
@ushbot
Sep 27 2017 19:42
[Romina Suarez, Ushahidi] by main website, what do you mean? ushahidi.com?
Virgílio N Santos
@virgilio
Sep 27 2017 19:46
@rowasc oh no, the main page of the instance... (locally or on the deployment (virgilio.uhashidi.io)
I've figured out that I have to put '/platform' before the endpoints for the 'platform-release' I'm running locally
Now I have the problem of client_id and client_secret that I just don't know where to find them in order to get a access token
Ushbot
@ushbot
Sep 27 2017 19:54
[Romina Suarez, Ushahidi] Ok great. The client_id and secret the app uses can be found in app/app.js in the client.