No Results
Get Secured Variables by Domain

EdgeCore version: 4.3.0

Method

GET /public/domains/{domainName}/secvars

Used to retrieve secured variables by a specific domain.

Parameters

Name Type Description Mandatory
domainName
string Domain for which you want to retrieve the secured variables Yes

 

cURL example

curl --location --request GET 'http://localhost:8080/public/domains/edge/secvars' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' 

Example Response

{
    "testsec": {
        "domainId": "s3pvsu-k636f3lq69pj",
        "domainName": "edge",
        "doClass": "DomainSecVarValueDO",
        "id": "s3pvsu-k636f3lq8fv6",
        "varName": "testsec",
        "value": {
            "doClass": "SpStringValueDO",
            "isParameter": false,
            "primitiveValue": "Hello World!"
        },
        "inheritedValue": null,
        "inheritedValueScope": null
    },
    "newsecvar": {
        "domainId": "s3pvsu-k636f3lq69pj",
        "domainName": "edge",
        "doClass": "DomainSecVarValueDO",
        "id": "s3pvsu-k636f3lq8fvb",
        "varName": "newsecvar",
        "value": {
            "doClass": "SpStringValueDO",
            "isParameter": false,
            "primitiveValue": "sec var test"
        },
        "inheritedValue": null,
        "inheritedValueScope": null
    }
}

HTTP Response

Code Status Description
200 OK The request has succeeded.
404 Not Found The domain could not be found.

Terms | Privacy