GET api/Hosting/{hosting_handle}/Wordpress/{id}?user={user}
Get the wordpress with the given id on the given hosting
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hosting_handle |
Hosting object handle |
string |
Required |
id |
Id of the wordpress |
integer |
Required |
user |
Owner of object. If empty, currently logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
A wordpress object on success
Collection of errors on failure
Return codes
200 - ok
300 - ambiguous
401 - unauthorized
404 - not found
500 - internal server error
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Wordpress id |
integer |
None. |
Site |
Optional site to install the wordpress in |
string |
None. |
Alias |
Optional alias to install the wordpress with |
string |
None. |
HostingHandle |
Hosting handle |
string |
None. |
Db |
Database used by wordpress |
Db |
None. |
Dir |
Directory where wordpress is installed |
string |
None. |
Title |
Title of wordpress site |
string |
None. |
AdminUser |
Admin user name |
string |
None. |
AdminEmail |
Admin email address |
string |
None. |
AdminPassword |
Admin password. Returned on creation only. |
string |
None. |
Response Formats
application/json, text/json
{ "Id": 1, "Site": "sample string 2", "Alias": "sample string 3", "HostingHandle": "sample string 4", "Db": { "Name": "sample string 1", "HostingHandle": "sample string 2", "User": "sample string 3", "Pwd": "sample string 4", "Type": "sample string 5", "Size": 6, "MaxSize": 7, "ServerId": 8, "DateCre": "2025-04-04T00:29:51.4666657+02:00", "DateReq": "2025-04-04T00:29:51.4666657+02:00", "Etat": "sample string 11", "UserLang": "sample string 12" }, "Dir": "sample string 5", "Title": "sample string 6", "AdminUser": "sample string 7", "AdminEmail": "sample string 8", "AdminPassword": "sample string 9" }
application/xml, text/xml
<Wordpress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Hosting"> <AdminEmail>sample string 8</AdminEmail> <AdminPassword>sample string 9</AdminPassword> <AdminUser>sample string 7</AdminUser> <Alias>sample string 3</Alias> <Db> <DateCre>2025-04-04T00:29:51.4666657+02:00</DateCre> <DateReq>2025-04-04T00:29:51.4666657+02:00</DateReq> <Etat>sample string 11</Etat> <HostingHandle>sample string 2</HostingHandle> <MaxSize>7</MaxSize> <Name>sample string 1</Name> <Pwd>sample string 4</Pwd> <ServerId>8</ServerId> <Size>6</Size> <Type>sample string 5</Type> <User>sample string 3</User> <UserLang>sample string 12</UserLang> </Db> <Dir>sample string 5</Dir> <HostingHandle>sample string 4</HostingHandle> <Id>1</Id> <Site>sample string 2</Site> <Title>sample string 6</Title> </Wordpress>