Home / Companies / Prismic / Blog / Post Details
Content Deep Dive

A change to how the Prismic API handles tags

Blog post from Prismic

Post Details
Company
Date Published
Author
Sam Littlefair
Word Count
574
Language
English
Hacker News Points
-
Summary

Starting April 1st, Prismic's main API endpoint (/api/v2) will no longer include a comprehensive list of tags used in a repository, although tags will still be accessible within individual documents and queryable by tag. This change is aimed at enhancing API response times by eliminating unnecessary data retrieval, as 99.9% of requests to the main endpoint are intended solely for retrieving a "ref," which identifies the most recent content version. The update is part of a broader effort to improve API efficiency, including the transition of endpoints to an Edge CDN to make requests globally faster. Users who currently utilize the tag list are advised to modify their applications accordingly, as the "tags" property will initially return an empty array before its eventual removal. Prismic has communicated that further improvements to the API are anticipated, with users encouraged to stay informed through resources like their February product meet-up.