VMware Cloud Community
Subnet88
Enthusiast
Enthusiast
Jump to solution

Update a package programatically

Hi,

Does anybody know if there is a way to update the contents of a package from within a workflow?

I'm looking for the equivalent of right clicking the package and selecting "Rebuild". I didn't see any methods other than delete on the package object, so am unsure.

Reply
0 Kudos
1 Solution

Accepted Solutions
tschoergez
Leadership
Leadership
Jump to solution

Hi,

AFAIK there is not direct way to change packages programmatically.

However, check the new REST API (as of vCO 5.1), it contains a lot of functionality around vCO content management.

If the API provides such a feature, you can use the REST plugin and "call back" to the vCO API itself.

To get started with the API: https://your-vco-server:8281/api/docs

Cheers,

Joerg

View solution in original post

Reply
0 Kudos
2 Replies
tschoergez
Leadership
Leadership
Jump to solution

Hi,

AFAIK there is not direct way to change packages programmatically.

However, check the new REST API (as of vCO 5.1), it contains a lot of functionality around vCO content management.

If the API provides such a feature, you can use the REST plugin and "call back" to the vCO API itself.

To get started with the API: https://your-vco-server:8281/api/docs

Cheers,

Joerg

Reply
0 Kudos
Subnet88
Enthusiast
Enthusiast
Jump to solution

Thanks Jeorg,

Not the answer I wanted, but thank you none the less.

Garrette

Reply
0 Kudos