Upload collection file
Upload a collection configuration file.
HTTP request
POST /api/sn_cdm/applications/uploads/collections/file
Path parameters
None.
Query parameters
| Name | Description |
|---|---|
appName | Optional — set via the verb's QueryParameters type. |
collectionName | Optional — set via the verb's QueryParameters type. |
Request body
Supply a cdmapplicationsapi.Media.
Response
UploadStatusResponse.
Example
// Build the request body
var body *cdmapplicationsapi.Media
response, err := client.Cdm().Applications().Uploads().Collections().File().Post(ctx, body, nil)
if err != nil {
log.Fatal(err)
}