Skip to main content
Version: main

Upload collection file

Upload a collection configuration file.

HTTP request

POST /api/sn_cdm/applications/uploads/collections/file

Path parameters

None.

Query parameters

NameDescription
appNameOptional — set via the verb's QueryParameters type.
collectionNameOptional — 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)
}
Was this page helpful?