<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-accountNumber-web-domainName-subdomains-subDomain%3AGET</id>
		<title>Accounts-accountNumber-web-domainName-subdomains-subDomain:GET - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-accountNumber-web-domainName-subdomains-subDomain%3AGET"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountNumber-web-domainName-subdomains-subDomain:GET&amp;action=history"/>
		<updated>2026-05-18T10:15:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-accountNumber-web-domainName-subdomains-subDomain:GET&amp;diff=2232&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 109</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountNumber-web-domainName-subdomains-subDomain:GET&amp;diff=2232&amp;oldid=prev"/>
				<updated>2015-07-24T18:16:38Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 109&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:16, 24 July 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-accountNumber-web-domainName-subdomains-subDomain:GET&amp;diff=2231&amp;oldid=prev</id>
		<title>Velimira.metodieva: /* Response */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountNumber-web-domainName-subdomains-subDomain:GET&amp;diff=2231&amp;oldid=prev"/>
				<updated>2015-04-06T14:22:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Response&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= GET /accounts/{accountNumber}/web/{domainName}/subdomains/{subDomain} =&lt;br /&gt;
Returns details of the subdomain.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;GET /accounts/{accountNumber}/web/{domainName}/subdomains/{subDomain}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
; accountNumber - ''string''&lt;br /&gt;
: The user account to which the domain name and the subdomain belong&lt;br /&gt;
&lt;br /&gt;
; domainName - ''string''&lt;br /&gt;
: The target domain name (domain name under which the site is actually hosted)&lt;br /&gt;
&lt;br /&gt;
; subDomain - ''string''&lt;br /&gt;
: The subdomain&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
{{Authorization}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;status&amp;quot;: &amp;quot;{status}&amp;quot;,  &lt;br /&gt;
    &amp;quot;domain&amp;quot;: &amp;quot;{domainName}&amp;quot;,&lt;br /&gt;
    &amp;quot;subdomain&amp;quot;: &amp;quot;{subDomain}&amp;quot;,&lt;br /&gt;
    &amp;quot;links&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;http://{server_name}/accounts/{accountNumber}/web/{domainName}/aliases/{subDomain}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;,&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;http://{server_name}/accounts/{accountNumber}/products/{productSpecificationId}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;product&amp;quot;,&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;http://{server_name}/accounts/{accountNumber}/products/{productSpecificationId}/services/{serviceSpecificationId}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;service&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
:; status - ''string''&lt;br /&gt;
:: Status of the subdomain. Currently only subdomains with status '''open''' are listed.&lt;br /&gt;
&lt;br /&gt;
:; domain - ''string''&lt;br /&gt;
:: The domain name of the main web hosting product.&lt;br /&gt;
&lt;br /&gt;
:; subdomains - ''string''&lt;br /&gt;
:: The subdomain.&lt;br /&gt;
&lt;br /&gt;
:; links - ''list''&lt;br /&gt;
:: [[Hypermedia|Hypermedia]] for this resource. The list includes a link to the web hosting product and a link to the subdomain service.&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
; 200 OK&lt;br /&gt;
: Success&lt;br /&gt;
&lt;br /&gt;
; 401 Unauthorized&lt;br /&gt;
: The supplied credentials are invalid or do not provide permissions for this operation&lt;br /&gt;
&lt;br /&gt;
; 403 Forbidden&lt;br /&gt;
: The authenticated user is not allowed to access this resource&lt;br /&gt;
&lt;br /&gt;
; 404 Not Found&lt;br /&gt;
: The domain name or the subdomain do not exist for the account&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Successful retrieving subdomain ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/test-account/web/test.com/subdomains/sub&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;domain&amp;quot;: &amp;quot;test.com&amp;quot;,&lt;br /&gt;
    &amp;quot;subdomain&amp;quot;: &amp;quot;sub.test.com&amp;quot;,&lt;br /&gt;
    &amp;quot;links&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;&amp;lt;/nowiki&amp;gt;{{APIBaseURL}}&amp;lt;nowiki&amp;gt;/accounts/acct1234/web/test.com/subdomains/sub&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;,&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;&amp;lt;/nowiki&amp;gt;{{APIBaseURL}}&amp;lt;nowiki&amp;gt;/accounts/acct1234/products/acct1234-00000149809de3951ac99317007f00000001000/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;product&amp;quot;,&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;&amp;lt;/nowiki&amp;gt;{{APIBaseURL}}&amp;lt;nowiki&amp;gt;/accounts/acct1234/products/acct1234-00000149809de3951ac99317007f00000001000/services/acct1234-0000014c8e39bf39a2fc8945007f00000001000/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;service&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Web API]]&lt;/div&gt;</summary>
		<author><name>Velimira.metodieva</name></author>	</entry>

	</feed>