SharedRelief / puppet-donatecommunity-api

RESTful API backing the Shared Relief web app
Apache License 2.0
0 stars 0 forks source link

Mock API queries defined at June 17th hackathon #1

Open AdrianDeBarros opened 10 years ago

AdrianDeBarros commented 10 years ago

Upload definitions and mock to unblock UI work.

TJNII commented 10 years ago

API spec we were working on uploaded.

TJNII commented 10 years ago

@AdrianDeBarros: I plan to get on this this week. Can you upload or send a link to your Google form data? I'll use that as the faux data returned.

AdrianDeBarros commented 10 years ago

Here you go: https://www.google.com/fusiontables/DataSource?docid=1jpV7ckAtyJVp_PyQkaCCTWhAxp8wvQSi7WgFfwQo

I agree with single topic items, I like the way you work. I do the same with end users and break up their multi-topic tickets lol. Sorry about that :P

Adrian DeBarros Denver Startup Weekend Co-Organizer Creator of TunnelYou.Com and DenverCliff.com Twitter:@AdrianDeBarros How may I return the favor? Mobile: 720.839.8936

On Wed, Jun 18, 2014 at 7:21 PM, Tom Noonan II notifications@github.com wrote:

@AdrianDeBarros https://github.com/AdrianDeBarros: I plan to get on this this week. Can you upload or send a link to your Google form data? I'll use that as the faux data returned.

— Reply to this email directly or view it on GitHub https://github.com/SharedRelief/SharedReliefAPI/issues/1#issuecomment-46514122 .

AdrianDeBarros commented 10 years ago

SR screen 1

Adrian DeBarros 720.839.8936

On Jun 18, 2014 8:04 PM, "Adrian DeBarros" a.o.debarros@gmail.com wrote:

Here you go: https://www.google.com/fusiontables/DataSource?docid=1jpV7ckAtyJVp_PyQkaCCTWhAxp8wvQSi7WgFfwQo

I agree with single topic items, I like the way you work. I do the same with end users and break up their multi-topic tickets lol. Sorry about that :P

Adrian DeBarros Denver Startup Weekend Co-Organizer Creator of TunnelYou.Com and DenverCliff.com Twitter:@AdrianDeBarros How may I return the favor? Mobile: 720.839.8936

On Wed, Jun 18, 2014 at 7:21 PM, Tom Noonan II notifications@github.com wrote:

@AdrianDeBarros https://github.com/AdrianDeBarros: I plan to get on this this week. Can you upload or send a link to your Google form data? I'll use that as the faux data returned.

— Reply to this email directly or view it on GitHub https://github.com/SharedRelief/SharedReliefAPI/issues/1#issuecomment-46514122 .

TJNII commented 10 years ago

The following endpoints return dummy data: http://donatecommunitydemo.tjnii.com/API/v1/DonationTypes/ http://donatecommunitydemo.tjnii.com/API/v1/Search/donors/ http://donatecommunitydemo.tjnii.com/API/v1/Search/recipients/

I didn't use your current dummy data for the sake of time, I instead return some boilerplate with data from the POST request. (Path of least resistance). See the DummyAPI branch for details.

Note that the Content-Type for POST data needs to be application/json or else the server will return a 400.

This should be enough for some forward progress!