Application - File Manager
Read Application File
Read a file from your application.
GET
/
v2
/
apps
/
{app_id}
/
files
/
read
Header
Path
Query
curl --request GET \
--url https://api.squarecloud.app/v2/apps/{app_id}/files/read \
--header 'Authorization: <authorization>'
{
"status": "success",
"response": {
"type": "Buffer",
"data": [
112,
111,
120,
97,
44,
32,
116,
97,
32,
113,
117,
101,
114,
101,
110,
100,
111,
32,
99,
111,
112,
105,
97,
114,
32,
97,
116,
195,
169,
32,
111,
32,
98,
117,
102,
102,
101,
114,
63
]
}
}
Authorization
string
requiredThe API key for your account. You can find this in your account settings.
app_id
string
requiredThe ID of the application. You can find this in the URL of your application’s dashboard.
path
string
requiredThe path to the file you want to read. This is relative to the root of your application.
Response
status
string
Indicates whether the call was successful. “success” if successful, “error” if not.
response
object
The contents of the file.
Was this page helpful?
curl --request GET \
--url https://api.squarecloud.app/v2/apps/{app_id}/files/read \
--header 'Authorization: <authorization>'
{
"status": "success",
"response": {
"type": "Buffer",
"data": [
112,
111,
120,
97,
44,
32,
116,
97,
32,
113,
117,
101,
114,
101,
110,
100,
111,
32,
99,
111,
112,
105,
97,
114,
32,
97,
116,
195,
169,
32,
111,
32,
98,
117,
102,
102,
101,
114,
63
]
}
}