Is it possible to set the mime type in a Rest API?

Options

Hi,

Id' like set the mime type in creation Rest API, is that possible? in Swagger it's not defined.

it seems to be inferred from the name of the file.

I'm using Content Server 21.4 REST API and the call is

/v2/nodes

body:

file=bytearray
name=test
type=144
parent_id=12345678

is that possible pass i.e. mimetype=application/pdf?

thanks

Jenny

Tagged:

Answers