We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug As in the title, builder content API: https://cdn.builder.io/api/v3/content/my-model-name?apiKey=YOUR_API_KEY does not return a proper draft content when page had been already published before and then content changed. Even with includeUnpublished=true in params
const req = await fetch( `${API_V3_CONTENT}/${modelName}/${contentId}?apiKey=${appState?.user?.apiKey}&cachebust=true&cacheSeconds=5&staleCacheSeconds=5&omit=endDate,startDate&enrich=true&includeUnpublished=true`, );
To Reproduce Steps to reproduce the behavior:
Expected behavior New drafted content should be returned form API call
Screenshots Page with some content: Default: "Some text"
Published:
Getting content:
https://cdn.builder.io/api/v3/content/page/fad19f47b42c43378facada257f3b8e5_ee24ce9d39d1465c85a0e8359e0c0dde?apiKey=fad19xxxxxxxxxxxxxxxxxxxxx&cachebust=true&cacheSeconds=5&staleCacheSeconds=5&omit=endDate,startDate&enrich=true
Changed content and not published updates: Default: "Some text - new content"
https://cdn.builder.io/api/v3/content/page/fad19f47b42c43378facada257f3b8e5_ee24ce9d39d1465c85a0e8359e0c0dde?apiKey=fad19f47bxxxxxxxxxxxxxxxxx&cachebust=true&cacheSeconds=5&staleCacheSeconds=5&omit=endDate,startDate&enrich=true
Old content returned:
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I have the same problem :(
Sorry, something went wrong.
No branches or pull requests
Describe the bug
As in the title, builder content API:
https://cdn.builder.io/api/v3/content/my-model-name?apiKey=YOUR_API_KEY does not return a proper draft content when page had been already published before and then content changed. Even with includeUnpublished=true in params
To Reproduce
Steps to reproduce the behavior:
Expected behavior
New drafted content should be returned form API call
Screenshots
Page with some content:
Default: "Some text"
Published:
Getting content:
https://cdn.builder.io/api/v3/content/page/fad19f47b42c43378facada257f3b8e5_ee24ce9d39d1465c85a0e8359e0c0dde?apiKey=fad19xxxxxxxxxxxxxxxxxxxxx&cachebust=true&cacheSeconds=5&staleCacheSeconds=5&omit=endDate,startDate&enrich=true
Changed content and not published updates:
Default: "Some text - new content"
https://cdn.builder.io/api/v3/content/page/fad19f47b42c43378facada257f3b8e5_ee24ce9d39d1465c85a0e8359e0c0dde?apiKey=fad19f47bxxxxxxxxxxxxxxxxx&cachebust=true&cacheSeconds=5&staleCacheSeconds=5&omit=endDate,startDate&enrich=true
Old content returned:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: