Retrieve all config elements: SD.response-map
get
https://cloud-native-SBC-IP/config/v1/sd/response-map
Retrieve all config elements: SD.response-map
Request
Query Parameters
-
revision-id: string
Integer value of saved revision, or 'latest', 'active' to show the running config, or 'staging' to show complete configuration to be activated
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
return all config elements: ResponseMap
Nested Schema : schema
Type:
object
configure SIP response maps
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
entries: array
entries
Unique Items Required:
true
add response map entry -
name(required): string
Minimum Length:
1
Pattern:^.*$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of response map
Nested Schema : entries
Type:
array
Unique Items Required:
true
add response map entry
Show Source
-
Array of:
object ResponseMapEntry
edit response map entry
Nested Schema : ResponseMapEntry
Type:
object
edit response map entry
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
method: string
Allowed Values:
[ "REGISTER" ]
-
reason: string
translated response comment to send (in quotes)
-
recv-code(required): integer
(int32)
Minimum Value:
0
Maximum Value:699
1-699: received response code -
xmit-code: integer
(int32)
Minimum Value:
0
Maximum Value:699
1-699: translated SIP response code to send
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]