Lens File Resource

Returns or updates a file that is part of an Analytics lens.

Resource URL

/wave/lenses/<lensIdOrApiName>/files/<fileId>

Formats

JSON

Available Version

36.0

HTTP Methods

GET PUT

GET and PUT Request Parameters

Parameter Name Type Description Required or Optional Available Version
fileId Id The 18 character file ID to return. Required 36.0
lens​Id​Or​Api​Name ID The lens ID or API name to request the files for. Required 36.0

GET Response Body

Returns the binary stream of the contents of the specified file.

PUT Request Body

The binary upload to update the preview file with.

PUT Response Body

Wave File Metadata