Skip to content

endpoint to return number of outgoing posts for a given content type and categories #178

@toasted226

Description

@toasted226

the problem (what cant we do)

We ask lee regarding his thoughts about the fact that we dont know the behavior when content doesn't exist for a certain content type for an integration. we noticed this when pulling data for an embed.

An integrator of the api must be able to see if content is available for a content type because when integrating they might need to conditionally render something based on the existence of the content.

what we know (the current facts)

theres no easy way to check if there is content available in a currently populated bundle for a particular content type, other than actually pulling all the posts that are in there. Meaning from the perspective of someone who is integrating with our http api for embeds, there is no endpoint that tells them the number of content per content type.

what we are deciding to do (or the options of what we COULD do)

the final decision

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions