Can we programatically get status of an asset if its published or not? After we publish the Content Fragments they won't show up in GQL queries of published endpoints. What is the delay of results to get reflected in GQL query results if there is any? I have unpublished an asset right away (using replication API) programatically and even after 200 status it just doesn't seem to disappear from GQL persisted query results.
I am using publish endpoint to check the results (instead of author).
Solved! Go to Solution.
Views
Replies
Total Likes
@spidey1405 If you are using Persisted Queries, it might not reflect instantly, as they have default TTL. Please check below URL to validate the default caching:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-ap...
Views
Replies
Total Likes
If the assets are not available in publish you must get 404 status.
This will be your check against publish endpoints
Views
Replies
Total Likes
@spidey1405 If you are using Persisted Queries, it might not reflect instantly, as they have default TTL. Please check below URL to validate the default caching:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/headless/graphql-ap...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies