Commit 02d856141064944a7228726998c7ba99b7353ace
1 parent
57472ade
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Added example for API request with categories
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
lib/noosfero/api/v1/articles.rb
@@ -101,7 +101,10 @@ module Noosfero | @@ -101,7 +101,10 @@ module Noosfero | ||
101 | end | 101 | end |
102 | 102 | ||
103 | end | 103 | end |
104 | - | 104 | + |
105 | +# Request example: | ||
106 | +# /api/v1/communities/64/articles?from=2013-04-04-14:41:43&until=2015-06-11-14:41:43&limit=10&categories_ids[]=7&categories_ids[]=8&private_token=a97b6a5cae2c4c54e4ae18dde1829a49 | ||
107 | + | ||
105 | resource :communities do | 108 | resource :communities do |
106 | segment '/:community_id' do | 109 | segment '/:community_id' do |
107 | resource :articles do | 110 | resource :articles do |