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

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

Find more posts tagged with

Note:

If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Sort by:
1 - 1 of 11