Skip to content

Syntax to specify time grain for field for JSON API #2760

Answered by aklish
justin-tay asked this question in Q&A
Discussion options

You must be logged in to vote

JSON-API unfortunately doesn't support parameterized attributes. That is only a feature in GraphQL. You would need to create separate attributes in your model for each time grain in JSON-API (single grain per attribute).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by justin-tay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants