Package

From enviPath Wiki
Revision as of 21:22, 26 October 2015 by Wicker (talk | contribs) (Created page with "= REST Operations = == GET == {| class="wikitable" |- !URI !Parameter !Accept Types !Result !Status Codes |- |/package | |''text/html'' ''application/json'' ''text/plain''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

REST Operations

GET

URI Parameter Accept Types Result Status Codes
/package text/html

application/json

text/plain

List of all packages that the user has permission to read. 200 - OK

500 - Internal Server Error


POST

URI Parameter Accept Types Result Status Codes
/package packageName

groupURI

packageDescription

Create a new package. The redirect points to the URI of the new Package. 303 - See Other

500 - Internal Server Error

/package/<id> packageName

packageDescription

groupURI

askForReview

Updates a package 303 - See Other

401 - Unauthorized

500 - Internal Server Error


DELETE

URI Parameter Accept Types Result Status Codes
/package Delete all packages the user has write access on. 303 - See Other

500 - Internal Server Error

/package/<id> Delete the package identified by the URI. 303 - See Other
401 - Unauthorized
404 - Not Found
500 - Internal Server Error



PUT

Not Implemented.