Hi, we've been using the prismic-javascript lib and its getByUID function to fetch documents with its assets. If the document had a media asset that was an audio (mp3) the kind was audio and now for some reason it changed to file - why is that?
The underlying API returns file too (https://<repo>.prismic.io/api/v2/documents/search?ref=<ref>)?
Effective November 15, 2024, in our Public Content API, we will adjust the kind property of the field Links to Media.
Currently, the Public Content API can return inconsistent kind property (for the same type of Media you could receive image, audio, document, video, file or all as a value)
Starting November 15, we're fixing this bug, Hence, the API will return only image or file for the kind property
What this means for you:
If you're not using the kind property in your code or if your code solely relies on our SDKs (PrismicNextLink or PrismicLink), no action is needed.
If your code references any of the unsupported values (audio, document, video, or all), you will need to update it to support the value file. After November 15, 2024, the unsupported values will no longer be returned
I hope that helps, but let me know if you have any further questions about this
I believe unless you've unsubscribed from those emails, you should receive them if you have a Prismic account. We'll happily put you on the mailing list however if you'd like to, you would just have to send me your email via private message/the support portal with the request to be added back.