Skip to content

Commit c2bc2fb

Browse files
committed
DELIA-66702: Documentation update
Reason for change: Documentation Update Test Procedure: Risks: low Priority: P1 Signed-off-by:Hayden Gfeller <[email protected]>
1 parent c3d83da commit c2bc2fb

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

SystemServices/System.json

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,21 @@
374374
],
375375
"type": "string",
376376
"example": "NORMAL"
377+
},
378+
"blocklist": {
379+
"summary": "the blocklist flag value",
380+
"type": "boolean",
381+
"example": true
382+
},
383+
"oldblocklist": {
384+
"summary": "the old blocklist flag value",
385+
"type": "boolean",
386+
"example": true
387+
},
388+
"newblocklist": {
389+
"summary": "the new blocklist flag value",
390+
"type": "boolean",
391+
"example": true
377392
}
378393
},
379394
"methods": {
@@ -2014,6 +2029,46 @@
20142029
"example": "DO_NOT_SHARE"
20152030
}
20162031
},
2032+
"getBlocklistFlag":{
2033+
"summary": "get the blocklist flag on device for device state. Valid flags are: \n* `true` - The device is in blocked state. \n* `false` - The device is in un-blocked state.",
2034+
"result": {
2035+
"type": "object",
2036+
"properties": {
2037+
"blocklist": {
2038+
"summary": "blocklist flag",
2039+
"type": "boolean",
2040+
"example": true
2041+
},
2042+
"success":{
2043+
"$ref": "#/common/success"
2044+
}
2045+
},
2046+
"required": [
2047+
"blocklist",
2048+
"success"
2049+
]
2050+
}
2051+
},
2052+
"setBlocklistFlag":{
2053+
"summary": "Sets the blocklist flag on device for device state. Valid flags are: \n* `true` - The device is in blocked state. \n* `false` - The device is in un-blocked state.",
2054+
"events": {
2055+
"onBlocklistChanged" : "Triggers when the blocklist flag is modified"
2056+
},
2057+
"params": {
2058+
"type":"object",
2059+
"properties": {
2060+
"blocklist": {
2061+
"$ref": "#/definitions/blocklist"
2062+
}
2063+
},
2064+
"required": [
2065+
"blocklist"
2066+
]
2067+
},
2068+
"result": {
2069+
"$ref": "#/common/result"
2070+
}
2071+
},
20172072
"getBootTypeInfo":{
20182073
"summary": "Getting Boot Type",
20192074
"result": {
@@ -2453,4 +2508,4 @@
24532508
}
24542509
}
24552510
}
2456-
}
2511+
}

0 commit comments

Comments
 (0)