-
Notifications
You must be signed in to change notification settings - Fork 11
Usage with curl
Syntactic Vexation edited this page May 9, 2018
·
2 revisions
Operation | Command |
---|---|
Manually uploading a box | curl -XPUT http://<phagrancy-server>/api/v1/box/<username>/<box-name>/version/<version>/provider/<provider>/upload?access_token=<token> --upload-file vagrant.box |
Listing box versions | curl http://<phagrancy-server>/<username>/<box-name>?access_token=<token> |
Deleting a box | curl -XDELETE http://<phagrancy-server>/api/v1/box/<username>/<box-name>/version/<version>/provider/<provider>?access_token=<token> |
Deleting all box versions | Each box must be specifically deleted |