# `ReqEmbed.Link`
[🔗](https://github.com/leandrocp/req_embed/blob/v0.3.14/lib/req_embed/types.ex#L1)

Generic embed data type.

The simplest type that allows a provider to return any generic embed data without providing
either the url or html parameters.

Spec: [2.3.4.3. The link type](https://oembed.com/#section2)

These are the common fields that all oEmbed response types may include:

* `type` (required) - The resource type. Valid values are: photo, video, link, rich
* `version` (required) - The oEmbed version number. Must be "1.0"
* `title` (optional) - A text title describing the resource
* `author_name` (optional) - The name of the author/owner of the resource
* `author_url` (optional) - A URL for the author/owner of the resource
* `provider_name` (optional) - The name of the resource provider
* `provider_url` (optional) - The url of the resource provider
* `cache_age` (optional) - The suggested cache lifetime for this resource, in seconds
* `thumbnail_url` (optional) - A URL to a thumbnail image representing the resource
* `thumbnail_width` (optional) - The width of the optional thumbnail
* `thumbnail_height` (optional) - The height of the optional thumbnail
* `extra` - Custom response fields returned by the provider

---

*Consult [api-reference.md](api-reference.md) for complete listing*
