EmbedsController Class

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

The Embeds API converts standard URLs into embedded videos, images and rich article previews. The api returns data in the oEmbed format. See <a href="http://oembed.com/">http://oembed.com/</a> for details.

public class EmbedsController : WeavyApiController
Inheritance:
System.Object → WeavyApiControllerEmbedsController

Constructors

EmbedsController()

Methods

Get(Int32) Gets the embed with the specified id.
Post(EmbedIn) Creates an embed for the given url.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.