- Docs
- Api%2Freference%2Fobjects%2FRenderObjectDisplayByIdPublic
Show an object
Draws an object with the face its template gives it, filled in with that object's own details — the finished picture or page, ready to embed, link to or share. Ask for `card` for a tile, `detail` for a full page, or `share` for a link preview. If the face has no design for the look you asked for, the closest one is used instead. Only the details the template publishes are drawn. Open to everyone. No sign-in needed.
Path Parameters
objectId*string
Identifier of the smart object.
variant*string
Which look to draw.
Value in
"card" | "detail" | "share"Response Body
application/json
application/json
application/json
curl -X GET "https://api.dual.network/public/objects/665f1c2d4b1a2c3d4e5f6a90/display/card""<article><h1>Summer Festival Ticket</h1></article>"Empty
{
"code": 3,
"message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}{
"code": 5,
"message": "object not found"
}{
"code": 13,
"message": "internal error"
}