- Docs
- Api%2Freference%2Fobjects%2FListObjectAttributesPublic
List an object's public attributes
The extra details on an object that have been marked public — a tier, a stamp, a verification. Everything else stays private. Open to everyone. No sign-in needed.
Path Parameters
objectId*string
Identifier of the smart object.
Query Parameters
limit?integer
How many items to return in one page. The default and the maximum are both
25; a larger value is rejected with 400.
Default
25Format
int64Range
1 <= value <= 25next?string
Cursor for the next page, taken verbatim from the next field of the previous
response. Keep every other query parameter the same between pages: sortBy
and order are part of what the cursor means. An absent or empty next in a
response means there are no more pages.
The value is opaque. Do not parse it or build one yourself.
category?string
Return only public attributes in this category.
Length
length <= 128Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.dual.network/public/objects/665f1c2d4b1a2c3d4e5f6a90/attributes"{
"attributes": [
{
"key": "tier",
"value": "vip",
"category": "ticket"
}
]
}{
"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"
}