From f8589c5f5ee2a674a94ddb6797c1b0c586fb33fb Mon Sep 17 00:00:00 2001 From: Joel Rebello Date: Fri, 11 Mar 2022 10:20:19 +0100 Subject: [PATCH] redfish/updateservice: Add struct field MultipartHTTPPushURI A service may support the MultipartHttpPushUri property within the UpdateService resource. A client can perform an HTTP or HTTPS POST request on the URI specified by this property to initiate a push-based update. ref: https://www.dmtf.org/sites/default/files/standards/documents/DSP0266_1.15.0.pdf --- redfish/updateservice.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redfish/updateservice.go b/redfish/updateservice.go index a9b47ba9..e674ae2d 100644 --- a/redfish/updateservice.go +++ b/redfish/updateservice.go @@ -26,6 +26,8 @@ type UpdateService struct { SoftwareInventory string // HTTPPushURI endpoint is used to push (POST) firmware updates HTTPPushURI string `json:"HttpPushUri"` + // MultipartHTTPPushURI endpoint is used to perform a multipart push (POST) updates + MultipartHTTPPushURI string `json:"MultiPartHttpPushUri"` // ServiceEnabled indicates whether this service isenabled. ServiceEnabled bool // Status describes the status and health of a resource and its children.