Inspect a pad
get_document_infoRetrieve real-time metadata from a collaborative pad: content length, revision, language, and current users. Pads are ephemeral, lost after 24 hours without connections.
Instructions
Fetches metadata about a pad over the collaboration socket: content length, revision, editor language and the users who have it open right now. Pads are ephemeral: they are lost when the Rustpad server restarts and after 24 hours without an open connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the pad, the part after # in its URL |