You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
I wanted to find element with specific name inside project (ex. MAX_CPC)
Current Solution:
Get all elements inside a project - /projects/:id/elements/?limit=300 * *Setting high limit is to ensure we get all elements inside a project
Then we can filter through array of elements and find the one matching our parameter
The same problem arises when we try to find id of ♥ALLPRODUCTS query. (this might not be valid since it's related to #6 )
This is just an idea: I propose is to be able to query API for specific attribute value ("element_name": "MAX_CPC").
There probably are more possible implementations for this, if it should be implemented.
The text was updated successfully, but these errors were encountered:
More advanced queries like "return element by its name" are planned in future. At the moment I recommend iterating through all elements using limit and offset (setting high limit isn't garanteed to return all elements).
Problem:
I wanted to find element with specific name inside project (ex.
MAX_CPC
)Current Solution:
Get all elements inside a project -
/projects/:id/elements/?limit=300
**Setting high limit is to ensure we get all elements inside a project
Then we can filter through array of elements and find the one matching our parameter
The same problem arises when we try to find
id
of♥ALLPRODUCTS
query. (this might not be valid since it's related to #6 )This is just an idea: I propose is to be able to query API for specific attribute value (
"element_name": "MAX_CPC"
).There probably are more possible implementations for this, if it should be implemented.
The text was updated successfully, but these errors were encountered: