Commit 98ad3513e32bf3cf4211ad73806e8bc7b4e81f52

Authored by Victor Costa
1 parent 7282d8be

api: expose article type

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/noosfero/api/entities.rb
@@ -177,6 +177,7 @@ module Noosfero @@ -177,6 +177,7 @@ module Noosfero
177 expose :votes_count 177 expose :votes_count
178 expose :comments_count 178 expose :comments_count
179 expose :archived, :documentation => {:type => "Boolean", :desc => "Defines if a article is readonly"} 179 expose :archived, :documentation => {:type => "Boolean", :desc => "Defines if a article is readonly"}
  180 + expose :type
180 end 181 end
181 182
182 class Article < ArticleBase 183 class Article < ArticleBase