INTERFACE

OEmbed

OEmbed is a universal spec converted to GraphQL from http://oembed.com/.

link GraphQL Schema definition

1interface OEmbed {
2
3authorName: String
4
5authorURL: String
6
7cacheAge: Int
8
9# The inputURL is the URL that we are trying to resolve via oEmbed. It is not
10# part
11# of the official spec, but GQL implementations practically need to use it.
12inputURL: String!
13
14providerName: String
15
16providerURL: String
17
18# The description of thumbnail from the oembed spec fits with an optional
19# thumbnail
20# type with required parameters.
21thumbnail: ThumbnailOEmbed
22
23title: String
24
25type: String!
26
27version: String!
28
29}