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
0
Answers
-
@JennyB_ch are you having issues uploading content into OTCS ? do you have the same error when uploading via Classic / Smart UI as well ?
For info on how OTCS determines MIME Type see
.You can do it via WebReports in some versions now if you need to -
.0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 102 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 125 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax