<?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-aliases-alias%3AGET</id>
		<title>Accounts-accountNumber-web-domainName-aliases-alias: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-aliases-alias%3AGET"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountNumber-web-domainName-aliases-alias:GET&amp;action=history"/>
		<updated>2026-05-18T08:03:20Z</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-aliases-alias:GET&amp;diff=2222&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-aliases-alias:GET&amp;diff=2222&amp;oldid=prev"/>
				<updated>2015-07-24T18:16:37Z</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-aliases-alias:GET&amp;diff=2221&amp;oldid=prev</id>
		<title>Velimira.metodieva: moved Accounts-accountNumber-web-domainName-aliases-AliasDomainName:GET to Accounts-accountNumber-web-domainName-aliases-alias:GET</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountNumber-web-domainName-aliases-alias:GET&amp;diff=2221&amp;oldid=prev"/>
				<updated>2015-04-06T13:56:03Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php/Accounts-accountNumber-web-domainName-aliases-AliasDomainName:GET&quot; title=&quot;Accounts-accountNumber-web-domainName-aliases-AliasDomainName:GET&quot;&gt;Accounts-accountNumber-web-domainName-aliases-AliasDomainName:GET&lt;/a&gt; to &lt;a href=&quot;/index.php/Accounts-accountNumber-web-domainName-aliases-alias:GET&quot; title=&quot;Accounts-accountNumber-web-domainName-aliases-alias:GET&quot;&gt;Accounts-accountNumber-web-domainName-aliases-alias:GET&lt;/a&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}/aliases/{alias} =&lt;br /&gt;
Returns details of the domain name alias.&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}/aliases/{alias}&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 domain name alias 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;
; alias - ''string''&lt;br /&gt;
: The domain name that will act as alias to the target domain&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;alias&amp;quot;: &amp;quot;{alias}&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/{alias}&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;
:: Current status of the domain name alias. Currently only aliases 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;
:; alias - ''string''&lt;br /&gt;
:: The alias name.&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 domain alias 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 domain name alias do not exist for the account&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Successful retrieving domain name alias ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/test-account/web/test.com/aliases/test-alias.com&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;status&amp;quot;: &amp;quot;open&amp;quot;,&lt;br /&gt;
    &amp;quot;domain&amp;quot;: &amp;quot;test.com&amp;quot;,&lt;br /&gt;
    &amp;quot;alias&amp;quot;: &amp;quot;test-alias.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/aliases/test-alias.com&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;
&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>