Syntax to specify time grain for field for JSON API #2760
Answered
by
aklish
justin-tay
asked this question in
Q&A
-
What is the syntax to specify an attribute for a field for JSON API?
For instance if I want to get the For the filter I see that using |
Beta Was this translation helpful? Give feedback.
Answered by
aklish
Sep 15, 2022
Replies: 1 comment
-
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). |
Beta Was this translation helpful? Give feedback.
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
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).