Added LinkTimeline and PreviewCard fetching by id

• Added:
- LinkTimeline and PreviewCard fetching by id
This commit is contained in:
mgabdev
2020-10-29 18:46:54 -05:00
parent f7dc62460c
commit f129d9c49b
15 changed files with 325 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
class REST::PreviewCardSerializer < ActiveModel::Serializer
include RoutingHelper
attributes :url, :title, :description, :type,
attributes :id, :url, :title, :description, :type,
:author_name, :author_url, :provider_name,
:provider_url, :html, :width, :height,
:image, :embed_url