{"host":":8000","components":{"schemas":{}},"swagger":"2.0","tags":[{"name":"Signed Certificate"}],"info":{"title":"Signed Certificate API","termsOfService":"http://barracuda.com","version":"3.2.0"},"basePath":"/restapi/v3.2","definitions":{"Signed Certificate PUT body":{"properties":{"encrypt-password":{"description":"Encryption Password is used to extract the private key from PKCS #12 token.","type":"string"},"schedule-renewal-day":{"description":"lid_45069","type":"string","default":"","enum":["15 days","30 days","45 days","60 days","90 days"]},"auto-renew-cert":{"enum":["Yes","No"],"default":"","type":"string","description":"lid_45068"},"download-type":{"enum":["pem","pkcs","csr"],"description":"A Certificate Signing Request (CSR) and/or Certificate can be downloaded.","type":"string"}}},"Signed Certificate POST body":{"properties":{"assign-associated-key":{"enum":["Yes","No"],"type":"string","default":""},"key-type":{"enum":["RSA","ECDSA"],"default":"","description":"Select Key Type:","type":"string"},"signed-certificate":{"type":"string","description":"Signed Certificate content as a Base64 encoded string."},"allow-private-key-export":{"enum":["Yes","No"],"type":"string","default":""},"certificate-password":{"type":"string"},"certificate-key":{"description":"Certificate key as a Base64 encoded string.","type":"string"},"schedule-renewal-day":{"type":"string","description":"lid_45069","default":"","enum":["15 days","30 days","45 days","60 days","90 days"]},"auto-renew-cert":{"enum":["Yes","No"],"default":"","type":"string","description":"lid_45068"},"name":{"type":"string","description":"Certificate Name"},"certificate-type":{"enum":["PKCS12 Token","PEM Certificate"],"default":"","type":"string"},"intermediary-certificates":{"example":[],"description":"List of Base64 encoded Intermediary Certificate strings.","type":"string","schema":{"type":"array","items":[]}}}}},"paths":{"/certificates/signed-certificate/{Certificate Name} ":{"put":{"description":"","responses":{"200":{"description":"Successfully updated."},"404":{"description":"Resource Not Found."},"400":{"description":"Invalid Request."},"415":{"description":"Invalid JSON data specified."},"500":{"description":"Internal Server Error."},"406":{"description":"JSON Data not acceptable."},"405":{"description":"Method Not Allowed."},"401":{"description":"Invalid Credentials."}},"parameters":[{"required":"true","name":"Authorization","description":"Login token","type":"string","in":"header"},{"in":"path","name":"Certificate Name","required":"true","type":"string","description":"Certificate Name of Signed Certificate"},{"type":"string","schema":{"$ref":"#/definitions/Signed Certificate PUT body"},"description":"Body Parameter of Signed Certificate","required":"true","name":"Signed Certificate","in":"body"},{"name":"operation","type":"array","items":{"types":"string","enum":["download"]},"description":"","in":"query","collectionFormat":"multi"}],"produces":["application/json"],"summary":"Signed Certificate Operations","tags":["Signed Certificate"]}},"/certificates/signed-certificate/{Certificate Name}":{"delete":{"description":"","responses":{"405":{"description":"Method Not Allowed."},"401":{"description":"Invalid Credentials."},"200":{"description":"Successfully deleted."},"500":{"description":"Internal Server Error."},"400":{"description":"Invalid Request."},"404":{"description":"Resource Not Found."}},"parameters":[{"in":"header","name":"Authorization","required":"true","type":"string","description":"Login token"},{"required":"true","name":"Certificate Name","description":"Certificate Name of Signed Certificate","type":"string","in":"path"}],"produces":["application/json"],"tags":["Signed Certificate"],"summary":"DELETE Information of Signed Certificate"}},"/certificates/signed-certificate ":{"get":{"description":"","produces":["application/json"],"parameters":[{"in":"header","required":"true","name":"Authorization","type":"string","description":"Login token"},{"name":"groups","items":{"enum":["Signed Certificate","OCSP Stapling"],"types":"string"},"description":"","type":"array","collectionFormat":"multi","in":"query"},{"name":"limit","description":"","type":"integer","in":"query"},{"name":"offset","type":"integer","description":"","in":"query"},{"in":"query","collectionFormat":"multi","name":"parameters","type":"array","items":{"types":"string","enum":["allow-private-key-export","assign-associated-key","auto-renew-cert","common-name","expiry","key-type","name","schedule-renewal-day","serial"]},"description":""}],"responses":{"400":{"description":"Invalid Request."},"404":{"description":"Resource Not Found."},"200":{"description":"Successful operation."},"500":{"description":"Internal Server Error."},"401":{"description":"Invalid Credentials."},"405":{"description":"Method Not Allowed."}},"summary":"FETCH Information of Signed Certificate","tags":["Signed Certificate"]}},"/certificates/signed-certificate":{"post":{"responses":{"500":{"description":"Internal Server Error."},"405":{"description":"Method Not Allowed."},"406":{"description":"JSON Data not acceptable."},"401":{"description":"Invalid Credentials."},"201":{"description":"Successfully created."},"404":{"description":"Resource Not Found."},"400":{"description":"Invalid Request."},"415":{"description":"Invalid JSON data specified."}},"parameters":[{"required":"true","name":"Authorization","type":"string","description":"Login token","in":"header"},{"in":"body","schema":{"$ref":"#/definitions/Signed Certificate POST body"},"type":"string","description":"Body Parameter of Signed Certificate","required":"true","name":"Signed Certificate"}],"produces":["application/json"],"tags":["Signed Certificate"],"summary":"ADD Information of Signed Certificate","description":""}},"/certificates/signed-certificate/{Certificate Name} ":{"get":{"tags":["Signed Certificate"],"summary":"FETCH Information of Signed Certificate","responses":{"400":{"description":"Invalid Request."},"404":{"description":"Resource Not Found."},"200":{"description":"Successful operation."},"500":{"description":"Internal Server Error."},"401":{"description":"Invalid Credentials."},"405":{"description":"Method Not Allowed."}},"produces":["application/json"],"parameters":[{"name":"Authorization","required":"true","description":"Login token","type":"string","in":"header"},{"name":"Certificate Name","required":"true","description":"Certificate Name of Signed Certificate","type":"string","in":"path"},{"items":{"enum":["Signed Certificate","OCSP Stapling"],"types":"string"},"description":"","type":"array","name":"groups","in":"query","collectionFormat":"multi"},{"in":"query","collectionFormat":"multi","name":"parameters","description":"","items":{"types":"string","enum":["allow-private-key-export","assign-associated-key","auto-renew-cert","common-name","expiry","key-type","name","schedule-renewal-day","serial"]},"type":"array"}],"description":""}}},"schemes":["http"]}