LayoutService
List Owner Published Layouts
List layouts the owner has published for discovery.
Request
curl --request GET \ \ --url 'https://api.testnet.polyester.com/v1/layouts/owners/1/published?limit=100&pageToken=eyJvZmZzZXQiOjEwMH0' \ --header 'Accept: */*'
Responses
{
"nextPageToken": "eyJvZmZzZXQiOjIwMH0",
"templates": [
{
"description": "Example configuration for the API playground.",
"isListed": false,
"latestVersion": 1,
"publishedAtMs": "1",
"tags": [
"spot"
],
"template": {
"ownerId": "1",
"templateId": "1"
},
"title": "My Trading Board",
"updatedAtMs": "1"
}
]
}Owner whose published layouts should be listed.
Maximum number of templates to return. Defaults to 100 when omitted; maximum is 500.
Opaque keyset cursor from a previous response. The cursor is exclusive and bound to owner and newest-published sort order.
Viewer that owns the template.
1Template identifier unique within the owner.
1Public display title.
My Trading BoardPublic description shown with the template.
Example configuration for the API playground.Public tags used for grouping or filtering.
["spot"]True when the template appears in discovery listings.
falseLatest immutable version number for this template.
1Initial publication time in milliseconds since epoch (UTC).
1Last metadata update time in milliseconds since epoch (UTC).
1Opaque cursor for the next page. Empty when no more results exist.
eyJvZmZzZXQiOjIwMH0| Key | Status | Error | When |
|---|---|---|---|
| unauthenticated | 401 | Unauthenticated | Authentication required. |
| permission-denied | 403 | Permission Denied | Permission denied. |
| invalid-argument | 400 | Invalid Argument | Invalid argument. |
| not-found | 404 | Not Found | Not found. |
| unavailable | 503 | Unavailable | Service unavailable. |