Created
December 14, 2015 10:46
-
-
Save tkruse/35008bf130fc712317aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"apiVersion":"2.4-SNAPSHOT","apis":[{"description":"initializeGateway","operations":[{"method":"POST","summary":"initializeGateway","notes":"initializeGateway","nickname":"initializeGateway","produces":["*/*"],"consumes":["application/json"],"parameters":[{"allowMultiple":false,"defaultValue":"","description":"unit","name":"body","paramType":"body","type":"NewGatewayJsonIn","required":false}],"responseMessages":[{"code":200,"message":null,"responseModel":"NewGatewayJsonOut"},{"code":400,"message":"Invalid mac address / cipher type / gateway category / gateway type","responseModel":"Void"},{"code":401,"message":"Operation not allowed","responseModel":"Void"},{"code":404,"message":"Unknown business unit key / location","responseModel":"Void"}],"deprecated":"false","type":"NewGatewayJsonOut"}],"path":"/factory/gateway/initialize"}],"basePath":"/api","consumes":["application/json"],"models":{"NewGatewayJsonOut":{"description":"","id":"NewGatewayJsonOut","properties":{"serialNumber":{"description":"unique lifelong id of gateway","required":true,"type":"string"},"activationKey":{"description":"","required":true,"type":"string"},"gatewayCertificate":{"description":"initial certificate to connect gateway to device Management","required":true,"type":"string"},"openVPNCertificate":{"description":"initial certificate to open OpenVPN connection","required":true,"type":"string"},"privateKey":{"description":"","required":true,"type":"string"},"webUIPassword":{"description":"","required":true,"type":"string"}}},"NewGatewayJsonIn":{"description":"","id":"NewGatewayJsonIn","properties":{"serialNumber":{"description":"unique lifelong id of gateway","required":true,"type":"string"},"businessUnitKey":{"description":"","required":true,"type":"string"},"locationKey":{"description":"","required":true,"type":"string"},"cipherType":{"description":"one of the currently allowed ciphers for this gateway type and category","required":true,"type":"string"},"gatewayCategoryId":{"description":"","required":true,"format":"int64","type":"integer"},"gatewayTypeId":{"description":"","required":true,"format":"int64","type":"integer"},"macAddress":{"description":"","required":true,"type":"string"}}}},"produces":["*/*"],"resourcePath":"/factory/gateway/initialize","swaggerVersion":"1.2"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment