client.layout wraps app collaboration RPCs: reads, upsert/delete, share links,
publish/unpublish, version history, and template subscriptions. Each method accepts the matching
generated polyester::proto::layout::v1 request and returns ApiData.
Methods
| Group | Methods |
|---|---|
| Saved layouts | get_layouts, get_layout, upsert_layout, delete_layout |
| Share links | resolve_layout_share_token, create_layout_share_link, revoke_layout_share_link |
| Published templates | list_owner_published_layouts, publish_layout, unpublish_layout |
| Versions | list_layout_template_versions, get_layout_template_version |
| Subscriptions | set_layout_template_subscription, delete_layout_template_subscription, list_my_layout_template_subscriptions |
use polyester::proto::layout::v1::GetLayoutsRequest;
let layouts = client.layout.get_layouts(GetLayoutsRequest {
limit: 50,
..Default::default()
}).await?;
println!("{}", layouts.raw);List requests carry opaque page_token values. Mutation request messages contain the relevant
layout/revision fields; inspect the generated type rather than inventing map keys.
This is not a supported API-key flow. Layout collaboration is tied to the interactive app/session, and some deployments may not mount these routes. Use the TypeScript session client for production layout work.
Do not blindly retry raw layout mutations. Never let layout availability block trading or risk controls.
Related Topics
Address book Saved destinations and whitelist views. API keys List, get, subscribe, and generate local API key material (no create on API-key SDKs). Auth Auth service helpers including nested profile access. Balances List ledger balances via GetBalancesRequest, history, holds, and private subscribe. Candles Read and stream public spot OHLCV candles via market_data. Catalog Spot/Zipper catalog hydration with hydrate_catalogs and wait_for_catalogs. Chain helpers On-chain Funding โ Trading and Funding withdraw helpers. Chain analytics Chain analytics read APIs. Client configuration Config fields, URLs, catalogs, wire format, and from_env behavior. Deposit Create and list per-account chain deposit addresses for funding your Polyester account. Errors Rust Error enum variants, MFA auth codes, and queue overflow. Guard signer Guard signer approval helpers. Heatmap L2 order book heatmap reads. Internal transfers Move trading balances between Polyester accounts without touching a chain. Lifecycle Deposit/withdraw lifecycle flows and subscribe. Market overview List and subscribe to per-market stats with optional snapshot-then-stream merge. Order book Depth snapshots and a stateful live order book that reconstructs the book for you. Orders Place, modify, cancel, batch, and stream spot orders with the Rust OrdersService. Policies Realtime API-key and subaccount-policy updates. Polychart Polychart collaboration APIs (reference-only). Profile Profile identity reads and subscribe helpers. Public trades Public trade tape reads and subscribe via market_data. Realtime Shared Centrifugo client, observable failures, handshake-before-return, and fail-closed overflow. Social verification Social verification APIs (reference-only). Subaccounts Subaccount reads, members, invites, activity. User trades List and stream your private spot fills (not the public tape). Transfers Transfer history reads. Triggers Create, manage, pause/resume, and stream standalone triggers with the Rust TriggersService. Whiteboard Whiteboard collaboration APIs (reference-only). Withdrawals Trading withdraw intents to funding or external chain destinations (signed payload). Zipper Deposit/withdraw config and related Zipper reads.