read
.read() will read a file and return it's contents and name.
.read(SessionID, path)
Gets the contents of a file.
Parameter
Type
Required
Description
SessionID
string
true
The session ID that you want to perform this action on
path
string
true
The path of the file you wish to read
Example:
Read the guide on session IDs: https://pondwadermc.gitbook.io/cubed-api/tutorials-and-guides/sessions
Example Response:
Last updated
Was this helpful?