idx int64 0 165k | question stringlengths 73 4.15k | target stringlengths 5 918 | len_question int64 21 890 | len_target int64 3 255 |
|---|---|---|---|---|
12,900 | public ArrayList < OvhRtmConnection > serviceName_statistics_connection_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/connection" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t11 ) ; } | Get server opened connections | 97 | 4 |
12,901 | public OvhChartReturn serviceName_statistics_chart_GET ( String serviceName , OvhRtmChartPeriodEnum period , OvhRtmChartTypeEnum type ) throws IOException { String qPath = "/dedicated/server/{serviceName}/statistics/chart" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhChartReturn . class ) ; } | Retrieve RTM graph values | 141 | 6 |
12,902 | public OvhTemplateCaps serviceName_install_templateCapabilities_GET ( String serviceName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/templateCapabilities" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "templateName" , templateName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTemplateCaps . class ) ; } | Gives some capabilities regarding the template for the current dedicated server . | 118 | 13 |
12,903 | public OvhTask serviceName_install_start_POST ( String serviceName , OvhInstallCustom details , String partitionSchemeName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/start" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "details" , details ) ; addBody ( o , "partitionSchemeName" , partitionSchemeName ) ; addBody ( o , "templateName" , templateName ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Start an install | 173 | 3 |
12,904 | public ArrayList < String > serviceName_install_compatibleTemplatePartitionSchemes_GET ( String serviceName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/compatibleTemplatePartitionSchemes" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "templateName" , templateName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Retrieve compatible install template partitions scheme | 119 | 7 |
12,905 | public OvhHardwareRaidSize serviceName_install_hardwareRaidSize_GET ( String serviceName , String partitionSchemeName , String templateName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/install/hardwareRaidSize" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "partitionSchemeName" , partitionSchemeName ) ; query ( sb , "templateName" , templateName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhHardwareRaidSize . class ) ; } | Get hardware RAID size for a given configuration | 145 | 8 |
12,906 | public OvhNetworkSpecifications serviceName_specifications_network_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/specifications/network" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhNetworkSpecifications . class ) ; } | Retrieve network informations about this dedicated server | 98 | 9 |
12,907 | public ArrayList < Long > serviceName_boot_GET ( String serviceName , OvhBootTypeEnum bootType ) throws IOException { String qPath = "/dedicated/server/{serviceName}/boot" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "bootType" , bootType ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Server compatibles netboots | 110 | 6 |
12,908 | public ArrayList < OvhBootOptionEnum > serviceName_boot_bootId_option_GET ( String serviceName , Long bootId ) throws IOException { String qPath = "/dedicated/server/{serviceName}/boot/{bootId}/option" ; StringBuilder sb = path ( qPath , serviceName , bootId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t13 ) ; } | Option used on this netboot | 111 | 6 |
12,909 | public OvhSecondaryDNSCheckField serviceName_secondaryDnsNameDomainToken_GET ( String serviceName , String domain ) throws IOException { String qPath = "/dedicated/server/{serviceName}/secondaryDnsNameDomainToken" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "domain" , domain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhSecondaryDNSCheckField . class ) ; } | DNS field to temporarily add to your zone so that we can verify you are the owner of this domain | 125 | 21 |
12,910 | public ArrayList < OvhIpCountryEnum > serviceName_ipCountryAvailable_GET ( String serviceName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/ipCountryAvailable" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t14 ) ; } | Retrieve available country for IP order | 97 | 7 |
12,911 | public OvhBinaryFirewallLink serviceName_firewall_binary_link_GET ( String serviceName , String binaryName ) throws IOException { String qPath = "/dedicated/server/{serviceName}/firewall/binary/link" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "binaryName" , binaryName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhBinaryFirewallLink . class ) ; } | Get url of binary to update firewall asa | 124 | 9 |
12,912 | public void serviceName_ipCanBeMovedTo_GET ( String serviceName , String ip ) throws IOException { String qPath = "/dedicated/server/{serviceName}/ipCanBeMovedTo" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "ip" , ip ) ; exec ( qPath , "GET" , sb . toString ( ) , null ) ; } | Check if given IP can be moved to this server | 95 | 10 |
12,913 | public void serviceName_secondaryDnsDomains_domain_DELETE ( String serviceName , String domain ) throws IOException { String qPath = "/dedicated/server/{serviceName}/secondaryDnsDomains/{domain}" ; StringBuilder sb = path ( qPath , serviceName , domain ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | remove this domain | 92 | 3 |
12,914 | public void serviceName_secondaryDnsDomains_POST ( String serviceName , String domain , String ip ) throws IOException { String qPath = "/dedicated/server/{serviceName}/secondaryDnsDomains" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "ip" , ip ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | add a domain on secondary dns | 128 | 7 |
12,915 | public OvhNewMessageInfo serviceName_support_replace_hardDiskDrive_POST ( String serviceName , String comment , OvhSupportReplaceHddInfo [ ] disks , Boolean inverse ) throws IOException { String qPath = "/dedicated/server/{serviceName}/support/replace/hardDiskDrive" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "comment" , comment ) ; addBody ( o , "disks" , disks ) ; addBody ( o , "inverse" , inverse ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNewMessageInfo . class ) ; } | Ask for a broken HDD replacement | 180 | 6 |
12,916 | public OvhServiceMonitoring serviceName_serviceMonitoring_POST ( String serviceName , String challengeText , Boolean enabled , OvhMonitoringIntervalEnum interval , String ip , Long port , OvhMonitoringProtocolEnum protocol , String url ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "challengeText" , challengeText ) ; addBody ( o , "enabled" , enabled ) ; addBody ( o , "interval" , interval ) ; addBody ( o , "ip" , ip ) ; addBody ( o , "port" , port ) ; addBody ( o , "protocol" , protocol ) ; addBody ( o , "url" , url ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhServiceMonitoring . class ) ; } | Add a new service monitoring | 241 | 5 |
12,917 | public OvhSmsAlert serviceName_serviceMonitoring_monitoringId_alert_sms_POST ( String serviceName , Long monitoringId , Long fromHour , OvhAlertLanguageEnum language , String phoneNumberTo , String smsAccount , Long toHour ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}/alert/sms" ; StringBuilder sb = path ( qPath , serviceName , monitoringId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "fromHour" , fromHour ) ; addBody ( o , "language" , language ) ; addBody ( o , "phoneNumberTo" , phoneNumberTo ) ; addBody ( o , "smsAccount" , smsAccount ) ; addBody ( o , "toHour" , toHour ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSmsAlert . class ) ; } | Create a SMS alert | 241 | 4 |
12,918 | public void serviceName_serviceMonitoring_monitoringId_alert_email_alertId_DELETE ( String serviceName , Long monitoringId , Long alertId ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}/alert/email/{alertId}" ; StringBuilder sb = path ( qPath , serviceName , monitoringId , alertId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Remove this Email alert monitoring | 117 | 5 |
12,919 | public OvhEmailAlert serviceName_serviceMonitoring_monitoringId_alert_email_POST ( String serviceName , Long monitoringId , String email , OvhAlertLanguageEnum language ) throws IOException { String qPath = "/dedicated/server/{serviceName}/serviceMonitoring/{monitoringId}/alert/email" ; StringBuilder sb = path ( qPath , serviceName , monitoringId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "email" , email ) ; addBody ( o , "language" , language ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhEmailAlert . class ) ; } | Add a new email alert | 174 | 5 |
12,920 | public static void main ( String [ ] args ) throws Exception { if ( args . length != 2 ) { System . out . println ( "usage: ListDoms nic password" ) ; return ; } String nic = args [ 0 ] ; String password = args [ 1 ] ; list2 ( nic , password ) ; } | Login using nic handler | 67 | 4 |
12,921 | public OvhDocument document_documentId_GET ( String documentId ) throws IOException { String qPath = "/store/document/{documentId}" ; StringBuilder sb = path ( qPath , documentId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDocument . class ) ; } | Get document info | 84 | 3 |
12,922 | public ArrayList < String > contact_contactId_document_POST ( String contactId , String documentId ) throws IOException { String qPath = "/store/contact/{contactId}/document" ; StringBuilder sb = path ( qPath , contactId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "documentId" , documentId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t2 ) ; } | Add a document to a contact | 126 | 6 |
12,923 | public OvhContact contact_POST ( String city , String country , String email , String firstname , String lastname , String phone , String province , String street , String title , String zip ) throws IOException { String qPath = "/store/contact" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "city" , city ) ; addBody ( o , "country" , country ) ; addBody ( o , "email" , email ) ; addBody ( o , "firstname" , firstname ) ; addBody ( o , "lastname" , lastname ) ; addBody ( o , "phone" , phone ) ; addBody ( o , "province" , province ) ; addBody ( o , "street" , street ) ; addBody ( o , "title" , title ) ; addBody ( o , "zip" , zip ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhContact . class ) ; } | Create a marketplace contact for current nic | 247 | 7 |
12,924 | public OvhPartner partner_partnerId_PUT ( String partnerId , String category , String city , String companyNationalIdentificationNumber , String contact , String country , String description , String language , String legalForm , String organisationDisplayName , String organisationName , String otherDetails , String province , String street , String url , String vat , String zip ) throws IOException { String qPath = "/store/partner/{partnerId}" ; StringBuilder sb = path ( qPath , partnerId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "category" , category ) ; addBody ( o , "city" , city ) ; addBody ( o , "companyNationalIdentificationNumber" , companyNationalIdentificationNumber ) ; addBody ( o , "contact" , contact ) ; addBody ( o , "country" , country ) ; addBody ( o , "description" , description ) ; addBody ( o , "language" , language ) ; addBody ( o , "legalForm" , legalForm ) ; addBody ( o , "organisationDisplayName" , organisationDisplayName ) ; addBody ( o , "organisationName" , organisationName ) ; addBody ( o , "otherDetails" , otherDetails ) ; addBody ( o , "province" , province ) ; addBody ( o , "street" , street ) ; addBody ( o , "url" , url ) ; addBody ( o , "vat" , vat ) ; addBody ( o , "zip" , zip ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhPartner . class ) ; } | Edit partner info | 382 | 3 |
12,925 | public ArrayList < OvhEditResponse > partner_partnerId_product_GET ( String partnerId ) throws IOException { String qPath = "/store/partner/{partnerId}/product" ; StringBuilder sb = path ( qPath , partnerId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | List partner s products | 94 | 4 |
12,926 | public OvhEditResponse partner_partnerId_product_POST ( String partnerId , String category , String description , String name , String otherDetails ) throws IOException { String qPath = "/store/partner/{partnerId}/product" ; StringBuilder sb = path ( qPath , partnerId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "category" , category ) ; addBody ( o , "description" , description ) ; addBody ( o , "name" , name ) ; addBody ( o , "otherDetails" , otherDetails ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhEditResponse . class ) ; } | Create a new product for partner | 177 | 6 |
12,927 | public static Document newDocument ( ) throws AlipayApiException { Document doc = null ; try { doc = DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) . newDocument ( ) ; } catch ( ParserConfigurationException e ) { throw new AlipayApiException ( e ) ; } return doc ; } | Creates a new document instance . | 71 | 7 |
12,928 | public static Document getDocument ( File file ) throws AlipayApiException { InputStream in = getInputStream ( file ) ; return getDocument ( in ) ; } | Parses the content of the given XML file as an XML document . | 36 | 15 |
12,929 | public static Document getDocument ( InputStream in ) throws AlipayApiException { Document doc = null ; try { DocumentBuilder builder = DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) ; doc = builder . parse ( in ) ; } catch ( ParserConfigurationException e ) { throw new AlipayApiException ( e ) ; } catch ( SAXException e ) { throw new AlipayApiException ( "XML_PARSE_ERROR" , e ) ; } catch ( IOException e ) { throw new AlipayApiException ( "XML_READ_ERROR" , e ) ; } finally { if ( in != null ) { try { in . close ( ) ; } catch ( IOException e ) { // nothing to do } } } return doc ; } | Parses the content of the given stream as an XML document . | 172 | 14 |
12,930 | public static Element createRootElement ( String tagName ) throws AlipayApiException { Document doc = newDocument ( ) ; Element root = doc . createElement ( tagName ) ; doc . appendChild ( root ) ; return root ; } | Creates a root element as well as a new document with specific tag name . | 51 | 16 |
12,931 | private static String getEncoding ( String text ) { String result = "UTF-8" ; //默认编码格式 String xml = text . trim ( ) ; if ( xml . startsWith ( "<?xml" ) ) { int end = xml . indexOf ( "?>" ) ; String sub = xml . substring ( 0 , end ) ; StringTokenizer tokens = new StringTokenizer ( sub , " =\"\'" ) ; while ( tokens . hasMoreTokens ( ) ) { String token = tokens . nextToken ( ) ; if ( "encoding" . equals ( token ) ) { if ( tokens . hasMoreTokens ( ) ) { result = tokens . nextToken ( ) ; } break ; } } } return result ; } | Gets the encoding pattern from given XML file . | 169 | 10 |
12,932 | public static Element getRootElementFromString ( String payload ) throws AlipayApiException { if ( payload == null || payload . trim ( ) . length ( ) < 1 ) { throw new AlipayApiException ( "XML_PAYLOAD_EMPTY" ) ; } byte [ ] bytes = null ; try { payload = StringUtils . stripNonValidXMLCharacters ( payload ) ; String encodeString = getEncoding ( payload ) ; bytes = payload . getBytes ( encodeString ) ; } catch ( UnsupportedEncodingException e ) { throw new AlipayApiException ( "XML_ENCODE_ERROR" , e ) ; } InputStream in = new ByteArrayInputStream ( bytes ) ; return getDocument ( in ) . getDocumentElement ( ) ; } | Gets the root element from the given XML payload . | 170 | 11 |
12,933 | public static Element getElement ( Element parent , String tagName ) { List < Element > children = getElements ( parent , tagName ) ; if ( children . isEmpty ( ) ) { return null ; } else { return children . get ( 0 ) ; } } | Gets the immediately descendant element from the parent element . | 56 | 11 |
12,934 | public static Element getChildElement ( Element parent , String tagName ) { List < Element > children = getChildElements ( parent , tagName ) ; if ( children . isEmpty ( ) ) { return null ; } else { return children . get ( 0 ) ; } } | Gets the immediately child element from the parent element . | 58 | 11 |
12,935 | public static String getElementValue ( Element parent , String tagName ) { Element element = getChildElement ( parent , tagName ) ; if ( element != null ) { NodeList nodes = element . getChildNodes ( ) ; if ( nodes != null && nodes . getLength ( ) > 0 ) { for ( int i = 0 ; i < nodes . getLength ( ) ; i ++ ) { Node node = nodes . item ( i ) ; if ( node instanceof Text ) { return ( ( Text ) node ) . getData ( ) ; } } } } return null ; } | Gets the value of the child element by tag name under the given parent element . If there is more than one child element return the value of the first one . | 123 | 33 |
12,936 | public static Element appendElement ( Element parent , String tagName ) { Element child = parent . getOwnerDocument ( ) . createElement ( tagName ) ; parent . appendChild ( child ) ; return child ; } | Appends the child element to the parent element . | 44 | 10 |
12,937 | public static Element appendElement ( Element parent , String tagName , String value ) { Element child = appendElement ( parent , tagName ) ; child . appendChild ( child . getOwnerDocument ( ) . createTextNode ( value ) ) ; return child ; } | Appends the child element as well as value to the parent element . | 54 | 14 |
12,938 | public static void appendElement ( Element parent , Element child ) { Node tmp = parent . getOwnerDocument ( ) . importNode ( child , true ) ; parent . appendChild ( tmp ) ; } | Appends another element as a child element . | 41 | 9 |
12,939 | public static Element appendCDATAElement ( Element parent , String tagName , String value ) { Element child = appendElement ( parent , tagName ) ; if ( value == null ) { // avoid "null" word in the XML payload value = "" ; } Node cdata = child . getOwnerDocument ( ) . createCDATASection ( value ) ; child . appendChild ( cdata ) ; return child ; } | Appends the CDATA element to the parent element . | 87 | 11 |
12,940 | public static String xmlToString ( File file ) throws AlipayApiException { Element root = getRootElementFromFile ( file ) ; return nodeToString ( root ) ; } | Converts the an XML file to XML payload . | 39 | 10 |
12,941 | public static String xmlToString ( InputStream in ) throws AlipayApiException { Element root = getRootElementFromStream ( in ) ; return nodeToString ( root ) ; } | Converts the an XML file input stream to XML payload . | 40 | 12 |
12,942 | public static void setNamespace ( Element element , String namespace , String schemaLocation ) { element . setAttributeNS ( XMLConstants . XMLNS_ATTRIBUTE_NS_URI , XMLConstants . XMLNS_ATTRIBUTE , namespace ) ; element . setAttributeNS ( XMLConstants . XMLNS_ATTRIBUTE_NS_URI , XMLNS_XSI , XMLConstants . W3C_XML_SCHEMA_INSTANCE_NS_URI ) ; element . setAttributeNS ( XMLConstants . W3C_XML_SCHEMA_INSTANCE_NS_URI , XSI_SCHEMA_LOCATION , schemaLocation ) ; } | Sets the namespace to specific element . | 149 | 8 |
12,943 | public static String encodeXml ( String payload ) throws AlipayApiException { Element root = createRootElement ( XMLConstants . XML_NS_PREFIX ) ; root . appendChild ( root . getOwnerDocument ( ) . createTextNode ( payload ) ) ; return childNodeToString ( root . getFirstChild ( ) ) ; } | Encode the XML payload to legality character . | 75 | 9 |
12,944 | public OvhTask serviceName_reinstall_POST ( String serviceName , Boolean doNotSendPassword , String language , Long [ ] softwareId , String [ ] sshKey , Long templateId ) throws IOException { String qPath = "/vps/{serviceName}/reinstall" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "doNotSendPassword" , doNotSendPassword ) ; addBody ( o , "language" , language ) ; addBody ( o , "softwareId" , softwareId ) ; addBody ( o , "sshKey" , sshKey ) ; addBody ( o , "templateId" , templateId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Reinstall the virtual server | 205 | 5 |
12,945 | public ArrayList < Date > serviceName_automatedBackup_restorePoints_GET ( String serviceName , OvhRestoreStateEnum state ) throws IOException { String qPath = "/vps/{serviceName}/automatedBackup/restorePoints" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "state" , state ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | Get available Restore Points | 122 | 4 |
12,946 | public OvhVnc serviceName_openConsoleAccess_POST ( String serviceName , OvhVncProtocolEnum protocol ) throws IOException { String qPath = "/vps/{serviceName}/openConsoleAccess" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "protocol" , protocol ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhVnc . class ) ; } | Return the necessary informations to open a VNC connection to your VPS | 135 | 15 |
12,947 | public OvhUnitAndValue < Double > serviceName_use_GET ( String serviceName , OvhVpsStatisticTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/use" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Return many statistics about the virtual machine at that time | 111 | 10 |
12,948 | public ArrayList < Long > serviceName_tasks_GET ( String serviceName , OvhTaskStateEnum state , OvhTaskTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/tasks" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "state" , state ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Tasks associated to this virtual server | 127 | 7 |
12,949 | public ArrayList < Long > serviceName_distribution_software_GET ( String serviceName ) throws IOException { String qPath = "/vps/{serviceName}/distribution/software" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | List available softwares for this template Id | 91 | 9 |
12,950 | public ArrayList < Long > serviceName_veeam_restorePoints_GET ( String serviceName , Date creationTime ) throws IOException { String qPath = "/vps/{serviceName}/veeam/restorePoints" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "creationTime" , creationTime ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Veeam restore points for the VPS | 115 | 9 |
12,951 | public OvhUnitAndValue < Double > serviceName_disks_id_use_GET ( String serviceName , Long id , OvhStatisticTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/disks/{id}/use" ; StringBuilder sb = path ( qPath , serviceName , id ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ; } | Return many statistics about the disk at that time | 126 | 9 |
12,952 | public OvhUnitAndValues < OvhVpsTimestampValue > serviceName_disks_id_monitoring_GET ( String serviceName , Long id , OvhVpsMonitoringPeriodEnum period , OvhStatisticTypeEnum type ) throws IOException { String qPath = "/vps/{serviceName}/disks/{id}/monitoring" ; StringBuilder sb = path ( qPath , serviceName , id ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t8 ) ; } | Return many statistics about the disk for a given period | 158 | 10 |
12,953 | public ArrayList < OvhGeolocationEnum > serviceName_ipCountryAvailable_GET ( String serviceName ) throws IOException { String qPath = "/vps/{serviceName}/ipCountryAvailable" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t9 ) ; } | Get the countries you can select for your IPs geolocation | 95 | 13 |
12,954 | public ArrayList < OvhModel > serviceName_models_GET ( String serviceName ) throws IOException { String qPath = "/vps/{serviceName}/models" ; StringBuilder sb = path ( qPath , serviceName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t6 ) ; } | Return all models for the range of the virtual server | 87 | 10 |
12,955 | public OvhOfficeTask serviceName_user_activationEmail_changePassword_POST ( String serviceName , String activationEmail , String notifyEmail , String password , Boolean shouldSendMail ) throws IOException { String qPath = "/license/office/{serviceName}/user/{activationEmail}/changePassword" ; StringBuilder sb = path ( qPath , serviceName , activationEmail ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "notifyEmail" , notifyEmail ) ; addBody ( o , "password" , password ) ; addBody ( o , "shouldSendMail" , shouldSendMail ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOfficeTask . class ) ; } | Change or reset user s password | 185 | 6 |
12,956 | public OvhOfficeTask serviceName_user_activationEmail_DELETE ( String serviceName , String activationEmail ) throws IOException { String qPath = "/license/office/{serviceName}/user/{activationEmail}" ; StringBuilder sb = path ( qPath , serviceName , activationEmail ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOfficeTask . class ) ; } | Delete existing office user | 107 | 4 |
12,957 | public ArrayList < String > serviceName_user_GET ( String serviceName , String activationEmail , String firstName , String lastName , OvhLicenceEnum [ ] licences ) throws IOException { String qPath = "/license/office/{serviceName}/user" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "activationEmail" , activationEmail ) ; query ( sb , "firstName" , firstName ) ; query ( sb , "lastName" , lastName ) ; query ( sb , "licences" , licences ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Accounts associated to this office tenant | 163 | 7 |
12,958 | public OvhOfficeTask serviceName_user_POST ( String serviceName , String domain , String firstName , String lastName , OvhLicenceEnum licence , String login ) throws IOException { String qPath = "/license/office/{serviceName}/user" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "firstName" , firstName ) ; addBody ( o , "lastName" , lastName ) ; addBody ( o , "licence" , licence ) ; addBody ( o , "login" , login ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOfficeTask . class ) ; } | Create new office user | 196 | 4 |
12,959 | public ArrayList < OvhStatistics > serviceName_usageStatistics_GET ( String serviceName , Date from , Date to ) throws IOException { String qPath = "/license/office/{serviceName}/usageStatistics" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "from" , from ) ; query ( sb , "to" , to ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | Shows the subscriptions usage statistics for the given time period | 120 | 11 |
12,960 | public ArrayList < OvhStatsDataType > serviceName_statistics_GET ( String serviceName , OvhStatsPeriodEnum period , OvhStatsTypeEnum type ) throws IOException { String qPath = "/cdn/webstorage/{serviceName}/statistics" ; StringBuilder sb = path ( qPath , serviceName ) ; query ( sb , "period" , period ) ; query ( sb , "type" , type ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | Return stats about bandwidth consumption | 134 | 5 |
12,961 | public OvhDomainMlLimits mailingListLimits_GET ( Boolean moderatorMessage ) throws IOException { String qPath = "/email/domain/mailingListLimits" ; StringBuilder sb = path ( qPath ) ; query ( sb , "moderatorMessage" , moderatorMessage ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDomainMlLimits . class ) ; } | Get limits of mailing list | 108 | 5 |
12,962 | public OvhTaskFilter delegatedAccount_email_filter_POST ( String email , OvhDomainFilterActionEnum action , String actionParam , Boolean active , String header , String name , OvhDomainFilterOperandEnum operand , Long priority , String value ) throws IOException { String qPath = "/email/domain/delegatedAccount/{email}/filter" ; StringBuilder sb = path ( qPath , email ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "action" , action ) ; addBody ( o , "actionParam" , actionParam ) ; addBody ( o , "active" , active ) ; addBody ( o , "header" , header ) ; addBody ( o , "name" , name ) ; addBody ( o , "operand" , operand ) ; addBody ( o , "priority" , priority ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskFilter . class ) ; } | Create new filter for account | 252 | 5 |
12,963 | public ArrayList < String > domain_account_accountName_migrate_destinationServiceName_destinationEmailAddress_GET ( String domain , String accountName , String destinationServiceName , Long quota ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress" ; StringBuilder sb = path ( qPath , domain , accountName , destinationServiceName ) ; query ( sb , "quota" , quota ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List of email address available for migration | 150 | 7 |
12,964 | public OvhMigrationCheckStruct domain_account_accountName_migrate_destinationServiceName_destinationEmailAddress_destinationEmailAddress_checkMigrate_GET ( String domain , String accountName , String destinationServiceName , String destinationEmailAddress ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}/migrate/{destinationServiceName}/destinationEmailAddress/{destinationEmailAddress}/checkMigrate" ; StringBuilder sb = path ( qPath , domain , accountName , destinationServiceName , destinationEmailAddress ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhMigrationCheckStruct . class ) ; } | Check if it s possible to migrate | 170 | 7 |
12,965 | public OvhTaskFilter domain_account_accountName_filter_name_rule_POST ( String domain , String accountName , String name , String header , OvhDomainFilterOperandEnum operand , String value ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}/filter/{name}/rule" ; StringBuilder sb = path ( qPath , domain , accountName , name ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "header" , header ) ; addBody ( o , "operand" , operand ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskFilter . class ) ; } | Create new rule for filter | 194 | 5 |
12,966 | public OvhTaskPop domain_account_accountName_DELETE ( String domain , String accountName ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}" ; StringBuilder sb = path ( qPath , domain , accountName ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTaskPop . class ) ; } | Delete an existing mailbox in server | 103 | 6 |
12,967 | public OvhTaskPop domain_account_POST ( String domain , String accountName , String description , String password , Long size ) throws IOException { String qPath = "/email/domain/{domain}/account" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "accountName" , accountName ) ; addBody ( o , "description" , description ) ; addBody ( o , "password" , password ) ; addBody ( o , "size" , size ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskPop . class ) ; } | Create new mailbox in server | 168 | 5 |
12,968 | public OvhTaskSpecialAccount domain_responder_POST ( String domain , String account , String content , Boolean copy , String copyTo , Date from , Date to ) throws IOException { String qPath = "/email/domain/{domain}/responder" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "account" , account ) ; addBody ( o , "content" , content ) ; addBody ( o , "copy" , copy ) ; addBody ( o , "copyTo" , copyTo ) ; addBody ( o , "from" , from ) ; addBody ( o , "to" , to ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskSpecialAccount . class ) ; } | Create new responder in server | 202 | 6 |
12,969 | public OvhDomainMXFilterEnum domain_dnsMXFilter_GET ( String domain , String subDomain ) throws IOException { String qPath = "/email/domain/{domain}/dnsMXFilter" ; StringBuilder sb = path ( qPath , domain ) ; query ( sb , "subDomain" , subDomain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDomainMXFilterEnum . class ) ; } | Domain MX filter | 115 | 3 |
12,970 | public OvhTaskSpecialAccount domain_redirection_id_DELETE ( String domain , String id ) throws IOException { String qPath = "/email/domain/{domain}/redirection/{id}" ; StringBuilder sb = path ( qPath , domain , id ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTaskSpecialAccount . class ) ; } | Delete an existing redirection in server | 103 | 7 |
12,971 | public OvhTaskSpecialAccount domain_redirection_POST ( String domain , String from , Boolean localCopy , String to ) throws IOException { String qPath = "/email/domain/{domain}/redirection" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "from" , from ) ; addBody ( o , "localCopy" , localCopy ) ; addBody ( o , "to" , to ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskSpecialAccount . class ) ; } | Create new redirection in server | 157 | 6 |
12,972 | public OvhDomainSummary domain_summary_GET ( String domain ) throws IOException { String qPath = "/email/domain/{domain}/summary" ; StringBuilder sb = path ( qPath , domain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhDomainSummary . class ) ; } | Summary for this domain | 85 | 4 |
12,973 | public void domain_migrateDelegationV3toV6_POST ( String domain ) throws IOException { String qPath = "/email/domain/{domain}/migrateDelegationV3toV6" ; StringBuilder sb = path ( qPath , domain ) ; exec ( qPath , "POST" , sb . toString ( ) , null ) ; } | Create delegation of domain with same nic than V3 | 83 | 10 |
12,974 | public ArrayList < Long > domain_task_mailinglist_GET ( String domain , String account ) throws IOException { String qPath = "/email/domain/{domain}/task/mailinglist" ; StringBuilder sb = path ( qPath , domain ) ; query ( sb , "account" , account ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t3 ) ; } | Get Mailing List tasks | 105 | 5 |
12,975 | public String domain_confirmTermination_POST ( String domain , String commentary , OvhTerminationReasonEnum reason , String token ) throws IOException { String qPath = "/email/domain/{domain}/confirmTermination" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "commentary" , commentary ) ; addBody ( o , "reason" , reason ) ; addBody ( o , "token" , token ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , String . class ) ; } | Confirm termination of your email service | 157 | 7 |
12,976 | public void domain_changeDnsMXFilter_POST ( String domain , String customTarget , OvhDomainMXFilterEnum mxFilter , String subDomain ) throws IOException { String qPath = "/email/domain/{domain}/changeDnsMXFilter" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "customTarget" , customTarget ) ; addBody ( o , "mxFilter" , mxFilter ) ; addBody ( o , "subDomain" , subDomain ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; } | Change MX filter so change MX DNS records | 155 | 8 |
12,977 | public ArrayList < OvhRecord > domain_recommendedDNSRecords_GET ( String domain ) throws IOException { String qPath = "/email/domain/{domain}/recommendedDNSRecords" ; StringBuilder sb = path ( qPath , domain ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t4 ) ; } | Recommended domain DNS records | 94 | 4 |
12,978 | public OvhTaskMl domain_mailingList_name_changeOptions_POST ( String domain , String name , OvhDomainMlOptionsStruct options ) throws IOException { String qPath = "/email/domain/{domain}/mailingList/{name}/changeOptions" ; StringBuilder sb = path ( qPath , domain , name ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "options" , options ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskMl . class ) ; } | Change mailing list options | 149 | 4 |
12,979 | public OvhTaskMl domain_mailingList_name_DELETE ( String domain , String name ) throws IOException { String qPath = "/email/domain/{domain}/mailingList/{name}" ; StringBuilder sb = path ( qPath , domain , name ) ; String resp = exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhTaskMl . class ) ; } | Delete existing Mailing list | 105 | 5 |
12,980 | public OvhTaskMl domain_mailingList_name_subscriber_POST ( String domain , String name , String email ) throws IOException { String qPath = "/email/domain/{domain}/mailingList/{name}/subscriber" ; StringBuilder sb = path ( qPath , domain , name ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "email" , email ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskMl . class ) ; } | Add subscriber to mailing list | 145 | 5 |
12,981 | public OvhTaskMl domain_mailingList_POST ( String domain , OvhDomainMlLanguageEnum language , String name , OvhDomainMlOptionsStruct options , String ownerEmail , String replyTo ) throws IOException { String qPath = "/email/domain/{domain}/mailingList" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "language" , language ) ; addBody ( o , "name" , name ) ; addBody ( o , "options" , options ) ; addBody ( o , "ownerEmail" , ownerEmail ) ; addBody ( o , "replyTo" , replyTo ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskMl . class ) ; } | Create new mailingList | 205 | 4 |
12,982 | public OvhTask serviceName_upgrade_POST ( String serviceName , String newReference , String planCode ) throws IOException { String qPath = "/deskaas/{serviceName}/upgrade" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "newReference" , newReference ) ; addBody ( o , "planCode" , planCode ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; } | Upgrading the Desktop As A Service to another profile . The Virtual Desktop will not be available during upgrade and has to be restarted . You cannot downgrade a Virtual Desktop | 145 | 33 |
12,983 | public ArrayList < Long > serviceName_changeContact_POST ( String serviceName , String contactAdmin , String contactBilling , String contactTech ) throws IOException { String qPath = "/deskaas/{serviceName}/changeContact" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "contactAdmin" , contactAdmin ) ; addBody ( o , "contactBilling" , contactBilling ) ; addBody ( o , "contactTech" , contactTech ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t1 ) ; } | Launch a contact change procedure | 165 | 5 |
12,984 | public OvhCredential currentCredential_GET ( ) throws IOException { String qPath = "/auth/currentCredential" ; StringBuilder sb = path ( qPath ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhCredential . class ) ; } | Get the current credential details | 81 | 5 |
12,985 | public Long time_GET ( ) throws IOException { String qPath = "/auth/time" ; StringBuilder sb = path ( qPath ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , Long . class ) ; } | Get the current time of the OVH servers since UNIX epoch | 68 | 14 |
12,986 | public net . minidev . ovh . api . auth . OvhCredential credential_POST ( OvhAccessRule [ ] accessRules , String redirection ) throws IOException { String qPath = "/auth/credential" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "accessRules" , accessRules ) ; addBody ( o , "redirection" , redirection ) ; String resp = execN ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , net . minidev . ovh . api . auth . OvhCredential . class ) ; } | Request a new credential for your application | 164 | 7 |
12,987 | public OvhAfnicCorporationTrademarkContact data_afnicCorporationTrademarkInformation_afnicCorporationTrademarkId_GET ( Long afnicCorporationTrademarkId ) throws IOException { String qPath = "/domain/data/afnicCorporationTrademarkInformation/{afnicCorporationTrademarkId}" ; StringBuilder sb = path ( qPath , afnicCorporationTrademarkId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhAfnicCorporationTrademarkContact . class ) ; } | Retrieve a corporation trademark information according to Afnic | 148 | 10 |
12,988 | public OvhAfnicCorporationTrademarkContact data_afnicCorporationTrademarkInformation_POST ( Long contactId , String inpiNumber , String inpiTrademarkOwner ) throws IOException { String qPath = "/domain/data/afnicCorporationTrademarkInformation" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "contactId" , contactId ) ; addBody ( o , "inpiNumber" , inpiNumber ) ; addBody ( o , "inpiTrademarkOwner" , inpiTrademarkOwner ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhAfnicCorporationTrademarkContact . class ) ; } | Post a new corporation trademark information according to Afnic | 195 | 10 |
12,989 | public ArrayList < Long > data_smd_GET ( String protectedLabels_label ) throws IOException { String qPath = "/domain/data/smd" ; StringBuilder sb = path ( qPath ) ; query ( sb , "protectedLabels.label" , protectedLabels_label ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t1 ) ; } | List all your SMD files | 102 | 6 |
12,990 | public OvhSmd data_smd_smdId_GET ( Long smdId ) throws IOException { String qPath = "/domain/data/smd/{smdId}" ; StringBuilder sb = path ( qPath , smdId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhSmd . class ) ; } | Retrieve information about a SMD file | 96 | 8 |
12,991 | public OvhSmd data_smd_smdId_PUT ( Long smdId , String data ) throws IOException { String qPath = "/domain/data/smd/{smdId}" ; StringBuilder sb = path ( qPath , smdId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "data" , data ) ; String resp = exec ( qPath , "PUT" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSmd . class ) ; } | Modify an existing SMD file | 131 | 7 |
12,992 | public void data_smd_smdId_DELETE ( Long smdId ) throws IOException { String qPath = "/domain/data/smd/{smdId}" ; StringBuilder sb = path ( qPath , smdId ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a SMD file | 80 | 5 |
12,993 | public OvhAssociationContact data_afnicAssociationInformation_POST ( Long contactId , Date declarationDate , Date publicationDate , String publicationNumber , String publicationPageNumber ) throws IOException { String qPath = "/domain/data/afnicAssociationInformation" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "contactId" , contactId ) ; addBody ( o , "declarationDate" , declarationDate ) ; addBody ( o , "publicationDate" , publicationDate ) ; addBody ( o , "publicationNumber" , publicationNumber ) ; addBody ( o , "publicationPageNumber" , publicationPageNumber ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhAssociationContact . class ) ; } | Post a new association information according to Afnic | 203 | 9 |
12,994 | public OvhAssociationContact data_afnicAssociationInformation_associationInformationId_GET ( Long associationInformationId ) throws IOException { String qPath = "/domain/data/afnicAssociationInformation/{associationInformationId}" ; StringBuilder sb = path ( qPath , associationInformationId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhAssociationContact . class ) ; } | Retrieve an association information according to Afnic | 106 | 9 |
12,995 | public ArrayList < String > data_extension_GET ( OvhCountryEnum country ) throws IOException { String qPath = "/domain/data/extension" ; StringBuilder sb = path ( qPath ) ; query ( sb , "country" , country ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t2 ) ; } | List all the extensions for a specific country | 95 | 8 |
12,996 | public OvhClaimNotice data_claimNotice_GET ( String domain ) throws IOException { String qPath = "/domain/data/claimNotice" ; StringBuilder sb = path ( qPath ) ; query ( sb , "domain" , domain ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhClaimNotice . class ) ; } | Retrieve claim notices associated to a domain | 94 | 8 |
12,997 | public OvhProContact data_proContact_proContactId_GET ( Long proContactId ) throws IOException { String qPath = "/domain/data/proContact/{proContactId}" ; StringBuilder sb = path ( qPath , proContactId ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhProContact . class ) ; } | Retrieve information about a Pro Contact | 96 | 7 |
12,998 | public OvhProContact data_proContact_POST ( String authority , String authorityWebsite , Long contactId , String jobDescription , String licenseNumber ) throws IOException { String qPath = "/domain/data/proContact" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "authority" , authority ) ; addBody ( o , "authorityWebsite" , authorityWebsite ) ; addBody ( o , "contactId" , contactId ) ; addBody ( o , "jobDescription" , jobDescription ) ; addBody ( o , "licenseNumber" , licenseNumber ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhProContact . class ) ; } | Post new information about . pro contact information | 187 | 8 |
12,999 | public void zone_zoneName_dynHost_login_login_DELETE ( String zoneName , String login ) throws IOException { String qPath = "/domain/zone/{zoneName}/dynHost/login/{login}" ; StringBuilder sb = path ( qPath , zoneName , login ) ; exec ( qPath , "DELETE" , sb . toString ( ) , null ) ; } | Delete a DynHost login | 93 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.