Insert File
PUT
/mongodb/buckets/{bucketName}/files
Insert one File in given Bucket
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Parameters
Path Parameters
bucketName*
The name of your MongoDb Collection
Type
Requiredstring
Query Parameters
fileName
override filename of uploaded file
Type
string
Request Body
multipart/form-data
Format
"binary"Responses
application/json
JSON "wasAcknowledged": true, "insertedIds": [ "string" ], "insertedCount": 0, "errors": [ { "index": 0, "code": 0, "message": "string" } ]
{
}
