Info |
---|
This API is available starting with version @5.2.0.1 |
...
...
PATCH
This PATCH service will update an existing package with the information passed through a JSON object. If an attribute of the JSON is null, it will not be updated in the package. Any new files included in the request will be appended to the list of files already in the package.
Info | ||
---|---|---|
| ||
http://host:port/flexdeploy/rest/v1/project/{projectId}/package/{packageName} |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "name": "REST_Package", "description": "This is the updated package", "files": [ { "filePath": "/java/xxt/oracle/apps/ak/xxperson/webui/managePersonCO.java", "objectType": "Oracle Application Framework (OAF) JAVA", "sequenceNumber": 1 }, { "filePath": "/sql/XXHR_BIPUB_REP_PKG.pls", "sequenceNumber": 2 }, { "filePath": "/sql/XXHR_BIPUB_REP_PKG.pkb", "objectType": "DB Objects (SQLs)", "sequenceNumber": 3 }, { "filePath": "/java/xxt/oracle/apps/ak/xxperson/server/xxPersonAM.xml", "objectType": "Oracle Application Framework (OAF) JAVA", "sequenceNumber": 4 } ] } |
...
DELETE
This method will delete a package with the given name in the given project. There is no response message. If package is not present (was already deleted), no error code will be returned.
Info | ||
---|---|---|
| ||
http://host:port/flexdeploy/rest/v1/project/{projectId}/package/{packageName} |
Request
Parameter | Type | Required | Description |
---|---|---|---|
projectId | URL | Yes | This is a URL parameter for the Project Id which is searched to find package. |
packageName | URL | Yes | This is a URL parameter for the Package which will be deleted from project. |
Response Codes
HTTP Code | Description |
---|---|
200 | Package was deleted or not present. |
400 | Bad request |
401 | Authentication failure |
403 | Authorization failure (no access to resource) |
404 | Project not found |
500 | Unexpected internal server error |
...