Creates a new support bundle to help resolve a service request. A Service Request (SR) number must be supplied to associate the support bundle with the open service request and send it to Oracle Support. The SR number must be in 3-nnnnnnnnnn format. For the support bundle to be automatically uploaded to Oracle Support, the Phone Home settings must be registered with valid MOS credentials that have upload permissions.
Example Request:
POST /api/system/v1/bundles HTTP/1.1 Authorization: Basic abhadbfsMWE= Host: zfs-storage.example.com:215 Accept: application/json Content-Type: application/json Content-Length: 23 {"srn": "3-0123456789"}
Example Response:
HTTP/1.1 201 Created X-Zfssa-Appliance-Api: 1.0
If a Service Request Number (SRN) is not provided, the system will build a local bundle instead.
Example Request:
POST /api/system/v1/bundles HTTP/1.1 Authorization: Basic abhadbfsMWE= Host: zfs-storage.example.com:215 Accept: application/json Content-Type: application/json Content-Length: 23
Example Response:
{ "bundle": { "status": "", "uuid": "d4431d57-ba4f-4f37-fa1e-a09fcbf3e56b", "associated_bundle": [ { "href": "/api/system/v1/bundles/4050963a-4082-663f-99c0-fee915f2839c" } ], "srn": null, "filename": "ak.d4431d57-ba4f-4f37-fa1e-a09fcbf3e56b.tar.gz", "href": "/api/system/v1/bundles/d4431d57-ba4f-4f37-fa1e-a09fcbf3e56b", "date": "Thu Mar 10 2016 19:38:58 GMT+0000 (UTC)", "type": "User initiated" } }