Open rschneider-chwy opened 5 months ago
Hello from your friends at Chewy! πΆπ±
Fixes https://github.com/akamai/cli-property-manager/issues/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:
update-local
import
--network
`/papi/v1/properties/${propertyId}/versions/latest?activatedOn=${network}`
If the --propver is selected it will grab the specific version instead:
--propver
`/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.
Any update on if this will be merged? This would be useful for something I'm working on
Hello from your friends at Chewy! πΆπ±
Fixes https://github.com/akamai/cli-property-manager/issues/33 and fixes #73
Taking a crack at adding support for specific versions for
update-local
andimport
. PAPI V1 supports specifying the network with calling GET latest version, so I added a check to pass the--network
when present:If the
--propver
is selected it will grab the specific version instead:I tested it locally and it looks to be working! Let me know if there's anything more I need to provide.