Edgio's REST API does not support filtering on its entity list methods, and sometimes the necessary ID may not be available to perform a GET method by entity's ID. Getting the entity by a human readable parameter may prove useful.
Proposed Solution
As a developer, I want to be able to filter a list of entities by their name/slug/key, so that I can perform my operations based on data other than Edgio entity's IDs
Alternatives / Workarounds
Perform a full scope set of GET calls (potentially Org > Property > Environment > Environment Variable), and filter each manually.
Acceptance Criteria
[x] Implement a function that gets a complete list of a given entity, and filter through it based on entity's name/slug
[x] Properties should be filtered by slug key
[x] Environment should be filtered by name key
[x] Environment Variables should be filtered by key key
[x] The function should return the entity's data in a JSON format
[x] Unit test the new functionality
[x] Document functionality's usage
Additional Context
N/A
References
N/A
Code of Conduct
[x] I agree to follow this project's Code of Conduct
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
Description
Edgio's REST API does not support filtering on its entity list methods, and sometimes the necessary ID may not be available to perform a GET method by entity's ID. Getting the entity by a human readable parameter may prove useful.
Proposed Solution
As a developer, I want to be able to filter a list of entities by their name/slug/key, so that I can perform my operations based on data other than Edgio entity's IDs
Alternatives / Workarounds
Perform a full scope set of GET calls (potentially
Org > Property > Environment > Environment Variable
), and filter each manually.Acceptance Criteria
slug
keyname
keykey
keyAdditional Context
N/A
References
N/A
Code of Conduct
Upvote & Fund