Expand my Community achievements bar.

SOLVED

How do I get the file extension or mimetype of a document via API?

Avatar

Level 2

Hi,

I'm searching for a way to get the mimetype of a document uploaded to a task or project via the REST API.

When I'm using the endpoint "/docu/search", we're getting only the name without the file extension.

https://developer.workfront.com/documents.html#get-/docu/search

Is there a way to get the file extension or mimetype of a document via API?

Thanks

Patrick

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Patrick,

You’ll find the file extension property one level down, on the Document Version object.

Regards,

Doug

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi Patrick,

You’ll find the file extension property one level down, on the Document Version object.

Regards,

Doug