Retrieve a pad environment

Returns a pad environment and the current contents of its files. The IDs of a pad's environments are listed in its pad_environment_ids.

Each entry of file_contents is one file. A text file either carries its contents inline or, on pads with large-workspace support, is a reference: "cold": true (kept in cold storage) or "hot": true (edited in the pad), each with its size and a url to fetch the body from (GET /pad_environments/{id}/file) once the pad has ended. Binary and large files are marked "binary": true or "large": true and have no body here; a symbolic link has a link target instead of contents.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The pad environment ID.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json