-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
API: Joins / Relations refactor #5615
Labels
affects:api
Affects the Ghost API
Comments
Merged
This was referenced Oct 20, 2015
ErisDS
changed the title
API: Joins / Relations overhaul
API: Joins / Relations refactor
Oct 26, 2015
ErisDS
added a commit
to ErisDS/Ghost
that referenced
this issue
Nov 3, 2015
refs TryGhost#6009, TryGhost#5615 - minimal refactor to remove the addition of count from pagination and other various points - create a include count plugin that overrides fetch and fetchAll - this ensures that counts get added at the right points
7 tasks
ErisDS
added
the
later
[triage] Things we intend to work but are not immediate priority
label
Sep 20, 2016
I'm closing most API issues temporarily with the JSON API Overhaul & OAuth access are currently scheduled next on the roadmap |
ErisDS
removed
the
later
[triage] Things we intend to work but are not immediate priority
label
Jan 23, 2019
ErisDS
removed
the
later
[triage] Things we intend to work but are not immediate priority
label
Jan 23, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is a little bit of a mixed bag, I needed to brain dump all of the small join / relation related tasks that need to be done to ensure we get consistent behaviour across the API.
Joins / Relation handling
fields
Count handling
post_count
include on Tag endpoint to beposts.count
tags.count
to Posts endpoint andposts.count
to Users endpointPerms & Cleanup
next.tags
andnext.author
etc (fix Bug: {{author}} & {{tags}} not showing up when using {{#prev_post}} or {{#next_post}} #5150)Provide access to more joins / relations:
Maybe:
The text was updated successfully, but these errors were encountered: