diff options
Diffstat (limited to 'app/views/api')
-rw-r--r-- | app/views/api/v1/statuses/card.rabl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/api/v1/statuses/card.rabl b/app/views/api/v1/statuses/card.rabl index 8ba8dcbb1..5d8d7af3b 100644 --- a/app/views/api/v1/statuses/card.rabl +++ b/app/views/api/v1/statuses/card.rabl @@ -1,5 +1,7 @@ object @card -attributes :url, :title, :description +attributes :url, :title, :description, :type, + :author_name, :author_url, :provider_name, + :provider_url, :html, :width, :height node(:image) { |card| card.image? ? full_asset_url(card.image.url(:original)) : nil } |