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
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management