有一个媒体上传示例 https://developers.google.com/api-client-library/python/guide/media_upload
media = MediaFileUpload('pig.png', mimetype='image/png')
response = farm.animals().insert(media_body=media, body={'name': 'Pig'}).execute()
此外,发现API还描述了在发现文档中可见的标志,以便通过端点
上传"supportsMediaUpload": true,
https://developers.google.com/discovery/v1/using?hl=pl#discovery-doc-methods-mediaupload
但是没有示例如何使用云端点进行媒体上传 https://developers.google.com/appengine/docs/python/endpoints/getstarted/backend/write_api_post
并且没有关于端点库v1.0中的supportsMediaUpload