Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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
Level 10

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
Level 10

Hi Patrick,

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

Regards,

Doug