Hi,

I’m trying to use the packaging API, but I’m missing the big picture of how it 
works. The GUI doesn’t seem to map directly to the REST API.  In the GUI I can 
import a package, and apply it successfully. But I’m not sure how to do that 
with the API.

Here’s how far I’ve got:

1. Upload the package: POST package.zip to 
/manage/v2/packages?pkgname=somepackage
—> status 200 Created somepackage

2. Install the package: POST (with empty body) to 
/manage/v2/packages/somepackage/install
--> status 200 "success=true" but no changes are applied. The ticket has 
nothing under “install-list”, unlike when the same package is applied in the 
GUI.

Clearly I don’t understand how the API is meant to be used – any pointers to 
examples or documentation?

Thanks
Rob














_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to