Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Adding support for specific network versions import and update-local #94

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

rschneider-chwy
Copy link

@rschneider-chwy rschneider-chwy commented May 30, 2024

Hello from your friends at Chewy! 🐶🐱

Fixes #33 and fixes #73

Taking a crack at adding support for specific versions for update-local and import. PAPI V1 supports specifying the network with calling GET latest version, so I added a check to pass the --network when present:

`/papi/v1/properties/${propertyId}/versions/latest?activatedOn=${network}`

If the --propver is selected it will grab the specific version instead:

`/papi/v1/properties/${propertyId}/versions/${versionId}`

I tested it locally and it looks to be working! Let me know if there's anything more I need to provide.

@rschneider-chwy rschneider-chwy changed the title Feature/adding network ruletree update local Feature: Adding support for specific network versions import and update-local May 31, 2024
@TomHart
Copy link

TomHart commented Jun 10, 2024

Any update on if this will be merged? This would be useful for something I'm working on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants