package
Package
REST Operations
GET
| URI | Parameter | Accept Types | Result | Status Codes |
|---|---|---|---|---|
| /package | optional parameter “delimiter” for text/csv only, default value: “,” | text/html | List of all packages that the user has permission to read. | 200 - OK |
| application/json | 500 - Internal Server Error | |||
| text/plain | ||||
| text/csv | ||||
| /package/<id> | optional parameter “delimiter” for text/csv only, default value: “,” | The package identified by the URI.. | 200 - OK | |
| application/json | 401 - Unauthorized | |||
| text/plain | 404 - Not Found | |||
| text/csv | 500 - Internal Server Error |
POST
| URI | Parameter | Accept Types | Result | Status Codes |
|---|---|---|---|---|
| /package | packageName | Create a new package. The redirect points to the URI of the new Package | 303 - See Other | |
| groupURI | 500 - Internal Server Error | |||
| packageDescription | ||||
| /package/<id> | packageName | Updates a package | 303 - See Other | |
| packageDescription | 401 - Unauthorized | |||
| groupURI | 500 - Internal Server Error | |||
| groupURI |
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.
package.txt · Last modified: 2024/02/13 15:17 by shankar
