settings/signing-type/{platform}
The default signing type for apps on the specified platform (iOS or Android)
Resource-wide template parameter
Parameter | Description |
---|---|
platform | Options:
|
GET
Returns the default signing type for the specified platform.
Example request
Request
CODE
curl -v -L -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/settings/signing-type/ios
Response
CODE
{
"message": "",
"settings": [{
"code": "OPT_CODE_SIGNING_TYPE_IOS",
"string_data": "SIGN_ON_CONSOLE"
}],
"status": "OK"
}
POST
Parameters
Parameter | Description |
---|---|
signing-type | Type of code signing to use for this platform, unless another signing-type is specified with app-market/policy.
|
Example request
Request
CODE
curl -v -L -b c.txt -c c.txt -X POST http://bc.qwe.com/mocana-app-control/rest/settings/signing-type/ios \
-d signing_type="SIGN_ON_CONSOLE"