Reference Guide
MoonshotCM_Data_Model_Reference_edit2.html[10/29/2014 1:09:23 AM]
PATCH Example
HTTP PATCH to resource with request JSON:
{"SSH": {"Enabled": true}}
The property "SSH/Enabled" on resource type
ManagerNetworkService may not support PATCH of all values and may result in an HTTP 400 error with response of Type ExtendedError.
Multiple properties may be included in a single HTTP PATCH operation as long as the request is properly formatted JSON. To address an array entry other than the first, insert nulls as
placeholders on skipped array entries.
"SSH/Port"
This property is a member of ManagerNetworkService
SSH port number
JSON type: Integer from 1 to 65535.
HTTP Operations
GET Rendered if supported by the implementation or omitted if not.
PATCH This property may be PATCHed if the resource instance of this type supports PATCH in the HTTP Allow headers.
PATCH Example
HTTP PATCH to resource with request JSON:
{"SSH": {"Port": <integer-value>}}
The property "SSH/Port" on resource type
ManagerNetworkService may not support PATCH of all values and may result in an HTTP 400 error with response of Type ExtendedError.
Multiple properties may be included in a single HTTP PATCH operation as long as the request is properly formatted JSON. To address an array entry other than the first, insert nulls as
placeholders on skipped array entries.
"SessionTimeoutMinutes"
This property is a member of ManagerNetworkService
Indicates the Session Timeout for Redfish Sessions.
JSON type: Integer greater than or equal to 0.
HTTP Operations
GET Rendered if supported by the implementation or omitted if not.
PATCH This property may be PATCHed if the resource instance of this type supports PATCH in the HTTP Allow headers.
PATCH Example
HTTP PATCH to resource with request JSON:
{"SessionTimeoutMinutes": <integer-value>}