Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A target receives the artifacts you provision to it. Most of the time, a target is an OSGi container and provisioning means you'll actually install the artifacts in the container, but there can be other types of targets (non-OSGi containers, or something completely different).

  • id
  • autoapprove

A target also has specific state (see below for how that is returned):

  • registrationState — Unregistered, Registered
  • provisioningState — Idle, InProgress, OK, Failed
  • storeState — New, Unapproved, Approved
  • currentVersion
  • isRegistered
  • needsApproval
  • autoApprove
  • artifactsFromShop
  • artifactsFromDeployment
  • lastInstallSuccess

Checkout and commit

Similar to the web based UI, this API also works with the concept of checking out a copy to a local working area, altering it in that working area and then committing it back to the server.

...

Returns a representation of the object, for example: {attributes: {key: "value"}, tags: {key: "value"}}. If you ask for a target, you will also get its state, so the result will be in the form: {attributes: {key: "value"}, tags: {key: "value"}, state: {key: "value"}}.

PUT /work/ID/feature/FID

...