Is it possible to set the mime type in a Rest API?
JennyB_ch
Member
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
- 122 Developer Announcements
- 53 Articles
- 150 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 183 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories