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
Tag API Response #2348
Comments
👍 |
I updated the user responses to follow the JSON API format. See #2362. |
Should |
Updated: @hswolff: 👍! |
Another API response that's good to go |
Single tag:
Tag collection:
Would need to be paginated but likely with a different default limit to posts? 15 is a weird limit for such a small thing as tags I think? |
The structure of our JSON/REST APIs are up for spring cleaning #2124. I have compiled what I think could be changed to improve consistency and readability for tags?
Single Tag
GET /ghost/api/v0.1/tags/1
- not implemented yetJSON Object (v0.1)
New JSON Object:
parent_id
to `parent and added as linked object.created_by
andupdated_by
could become expandable properties later (see Expanding JSON API Objects #2346).Tag Collection
GET /ghost/api/v0.1/tags/
JSON Object (v0.1)
New JSON Object:
tags
propertylinked
property (jsonapi.org/format - Compound documents)links
property (jsonapi.org/format - Compound documents)The text was updated successfully, but these errors were encountered: