{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/ba77f57b-02d1-3e26-99d6-40948a543c9c","info":{"title":"Crosswork AppManager API","description":"AppManager provides API methods for managing Crosswork applications that run on top of Kubernetes. This includes install-activate, deactivate, update, and uninstall for these applications. It also provides APIs to manage the internal package repository from which application installs are carried out.","version":"3.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/APP/app-overview.md"}},"openapi":"3.0.0","servers":[{"url":"/crosswork/platform/v2"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer token for API authentication."}}},"spec":{"type":"object","properties":{"remote_file":{"type":"string","title":"file to download"},"ssh_config":{"type":"object","properties":{"remote_host":{"type":"string","title":"Remote host"},"username":{"type":"string","title":"Remote host user"},"password":{"type":"string","title":"Remote host password"},"port":{"type":"integer","format":"int64","title":"Remote host ssh port"}},"title":"SSHConfig for remote host","example":{"remote_host":"example.com","username":"user","password":"pass","port":22},"$$ref":"#/components/schemas/common_platformSshConfig"},"file_location":{"type":"object","properties":{"scp_location":{"type":"object","properties":{"remote_file":{"type":"string","title":"file to download"},"ssh_config":{"type":"object","properties":{"remote_host":{"type":"string","title":"Remote host"},"username":{"type":"string","title":"Remote host user"},"password":{"type":"string","title":"Remote host password"},"port":{"type":"integer","format":"int64","title":"Remote host ssh port"}},"title":"SSHConfig for remote host","example":{"remote_host":"example.com","username":"user","password":"pass","port":22},"$$ref":"#/components/schemas/common_platformSshConfig"}},"title":"SCP location to download the file from","example":{"remote_file":"/path/to/remote/file.tar.gz","ssh_config":{"remote_host":"example.com","username":"user","password":"pass","port":22}},"$$ref":"#/components/schemas/common_platformScpLocation"},"uri_location":{"type":"object","properties":{"uri":{"type":"string","title":"http or https or file url to download the file , supports ex https://www.foo.com/bar.tar.gz ,\nhttp://192.65.10.20/bar.tar.gz , file:///tmp/bar.tar.gz\nSupports http,https or file scheme"},"basic_auth":{"type":"object","properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"}},"title":"Basic Authentication","example":{"username":"user","password":"pass"},"$$ref":"#/components/schemas/common_platformBasicAuthentication"},"skip_tls_verify":{"type":"boolean","title":"Skip TLS verification if https"}},"title":"URI location for the file","example":{"uri":"https://example.com/file.tar.gz","basic_auth":{"username":"user","password":"pass"},"skip_tls_verify":false},"$$ref":"#/components/schemas/common_platformURILocation"}},"title":"File location to download the file from","example":{"scp_location":{"remote_file":"/path/to/remote/file.tar.gz","ssh_config":{"remote_host":"example.com","username":"user","password":"pass","port":22}},"uri_location":{"uri":"https://example.com/file.tar.gz","basic_auth":{"username":"user","password":"pass"},"skip_tls_verify":false}},"$$ref":"#/components/schemas/common_platformFileLocation"}},"title":"app_managerAddToRepositoryRequest","example":{"remote_file":"/path/to/remote/file.tar.gz","ssh_config":{"remote_host":"example.com","username":"user","password":"pass","port":22},"file_location":{"uri_location":{"uri":"https://example.com/file.tar.gz","basic_auth":{"username":"user","password":"pass"},"skip_tls_verify":false}}},"$$ref":"#/components/schemas/app_managerAddToRepositoryRequest"}}