MAKE SOMETHING COOL, GET A JOB! Trails API Hackathon! Join it, yo.

Requests API Information

API INFORMATION on REQUESTS
API version returns JSON
Same routes but with 'api/' instead of the '/min/'
/api/requests

Ex: /api/requests

/api/requests/page/[1|2|3|N]

Ex: /api/requests/page/1

/api/requests/by/new

Ex: /api/requests/by/new

/api/requests/by/new/page/[1|2|3|N]

Ex: /api/requests/by/new/page/1

/api/requests/by/rating

Ex: /api/requests/by/rating

/api/requests/by/rating/page/[1|2|3|N]

Ex: /api/requests/by/rating/page/1

/api/requests/{ topic[,topic2,etc ] }

Ex: /api/requests/music
Ex: /api/requests/music,film

/api/requests/{ topic[,topic2,etc ] }/page/[1|2|3|N]

Ex: /api/requests/music/page/1
Ex: /api/requests/music,film/page/1

/api/requests/{ topic[,topic2,etc ] }/by/new

Ex: /api/requests/music/by/new
Ex: /api/requests/music,film/by/new

/api/requests/{ topic[,topic2,etc ] }/by/new/page/[1|2|3|N]

Ex: /api/requests/music/by/new/page/1
Ex: /api/requests/music,film/by/new/page/1

/api/requests/{ topic[,topic2,etc ] }/by/rating

Ex: /api/requests/music/by/rating
Ex: /api/requests/music,film/by/rating

/api/requests/{ topic[,topic2,etc ] }/by/rating/page/[1|2|3|N]

Ex: /api/requests/music/by/rating/page/1
Ex: /api/requests/music,film/by/rating/page/1

Additional JSON routes
/api/req_bytopic/{number_of_responses}/{topic[,topic2,topic3]}

Ex: /api/req_bytopic/10
Ex: /api/req_bytopic/10/music
Ex: /api/req_bytopic/10/music,film

REQUIRED: number_of_responses: must be digits. max=100
OPTIONAL: {topic}. if multiple, will be sorted as MOST overlap first.

Browser routes
/requests

Ex: /requests

/requests/page/[1|2|3|N]

Ex: /requests/page/1

/requests/by/new

Ex: /requests/by/new

/requests/by/new/page/[1|2|3|N]

Ex: /requests/by/new/page/1

/requests/by/rating

Ex: /requests/by/rating

/requests/by/rating/page/[1|2|3|N]

Ex: /requests/by/rating/page/1

/requests/{ topic[,topic2,etc ] }

Ex: /requests/music
Ex: /requests/music,film

/requests/{ topic[,topic2,etc ] }/page/[1|2|3|N]

Ex: /requests/music/page/1
Ex: /requests/music,film/page/1

/requests/{ topic[,topic2,etc ] }/by/new

Ex: /requests/music/by/new
Ex: /requests/music,film/by/new

/requests/{ topic[,topic2,etc ] }/by/new/page/[1|2|3|N]

Ex: /requests/music/by/new/page/1
Ex: /requests/music,film/by/new/page/1

/requests/{ topic[,topic2,etc ] }/by/rating

Ex: /requests/music/by/rating
Ex: /requests/music,film/by/rating

/requests/{ topic[,topic2,etc ] }/by/rating/page/[1|2|3|N]

Ex: /requests/music/by/rating/page/1
Ex: /requests/music,film/by/rating/page/1

Minified version for mobile, iOS, Andriod
Same routes as above but with '/min/' after the 'http://trails.by' ( ex: trails.by/min/requests/{ topic[,topic2,etc ] } ))
/min/requests

Ex: /min/requests

/min/requests/page/[1|2|3|N]

Ex: /min/requests/page/1

/min/requests/by/new

Ex: /min/requests/by/new

/min/requests/by/new/page/[1|2|3|N]

Ex: /min/requests/by/new/page/1

/min/requests/by/rating

Ex: /min/requests/by/rating

/min/requests/by/rating/page/[1|2|3|N]

Ex: /min/requests/by/rating/page/1

/min/requests/{ topic[,topic2,etc ] }

Ex: /min/requests/music
Ex: /min/requests/music,film

/min/requests/{ topic[,topic2,etc ] }/page/[1|2|3|N]

Ex: /min/requests/music/page/1
Ex: /min/requests/music,film/page/1

/min/requests/{ topic[,topic2,etc ] }/by/new

Ex: /min/requests/music/by/new
Ex: /min/requests/music,film/by/new

/min/requests/{ topic[,topic2,etc ] }/by/new/page/[1|2|3|N]

Ex: /min/requests/music/by/new/page/1
Ex: /min/requests/music,film/by/new/page/1

/min/requests/{ topic[,topic2,etc ] }/by/rating

Ex: /min/requests/music/by/rating
Ex: /min/requests/music,film/by/rating

/min/requests/{ topic[,topic2,etc ] }/by/rating/page/[1|2|3|N]

Ex: /min/requests/music/by/rating/page/1
Ex: /min/requests/music,film/by/rating/page/1

/api/req_byid/{id_request}

Ex: /api/req_byid/1

for more information:
Trails.By API information
Join the discussion, tell the people what you think about this Trail.
Sign In / Sign Up

Please give us some feedback on what you like/dislike, or give us some ideas on how to improve.