Skip to main content

SCEmbedType

Interface SCEmbedType. Embed Schema.

Properties

PropertyTypeDescription
embed_idstring | numberExternal id for the embed object
embed_typestringType of the embed, can be any string except
sc_link or sc_shared_object that are used
for embedded objects automatically created by the community
idnumberId of the embed
metadataRecord<string, any>Metadata associated to this embed. It mus be a valid json object.
For embed_type sc_link it contains metadata associated
with the external resource. For embed_type sc_shared_object it contains a field
type that is the type of the object (Discussion or Post) and a field id
that contains the id of the object shared
url?stringUrl for the resource, if any