The api 2.0 documentation says that upon a successful file upload, a full file object is returned, but the following is the json I get back on file uploads in Postman and python3:
{
"total_count":1,
"entries":[
{
"type":"file",
"id":"2244718677",
"name":"api.py",
"shared":"0",
"parent_folder":
{
"id":"0"
}
}
]
}