Skip to content
New issue

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

'reading_time' parameter not returned when used in 'fields' query of Ghost Content API #490

Open
Adonia83 opened this issue Mar 7, 2024 · 1 comment

Comments

@Adonia83
Copy link

Adonia83 commented Mar 7, 2024

Issue Summary:
When using the Ghost Content API, specifically the "/posts/" or "/pages/" endpoints with the "field" query parameter to specify the fields to be returned, the "reading_time" parameter does not function as expected. While other parameters work fine, attempting to limit the fields returned by including "reading_time" results in unexpected behavior.

To Reproduce:

  1. Make a request to the "/posts/" or "/pages/" endpoint of the Ghost Content API.
  2. Include the "field" query parameter with the value of "reading_time" to limit the fields returned to just the reading time.
  3. Observe that the response does not return "reading_time".

Technical details:

  • Ghost Version: 5.80.0
  • Node Version: Unknown
  • Environment: Production
  • Browser/OS: Not relevant
  • Database: MySQL 8
@Adonia83 Adonia83 changed the title Bug: 'reading_time' parameter not returned when used in 'fields' query of Ghost Content API 'reading_time' parameter not returned when used in 'fields' query of Ghost Content API Mar 7, 2024
@Tanu1201
Copy link

Hey, I am Tanu Sharma can I take this up?
I have 2+year of experience in this field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants