GET api/Hosting/{hosting_handle}/Application?user={user}
Get applications for a given hosting
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hosting_handle |
Hosting object handle |
string |
Required |
user |
Owner of object. If empty, currently logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
A list of application objects on success
Collection of errors on failure
Return codes
200 - ok
401 - unauthorized
404 - not found
500 - internal server error
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Application id |
decimal number |
None. |
HostingHandle |
Hosting handle |
string |
None. |
AppName |
Application name |
string |
Required |
FullPath |
Full path of application directory (site directory + freindly path) |
string |
None. |
FriendlyPath |
Directory path relative to site directory |
string |
Required |
DateCre |
Date created |
date |
None. |
Response Formats
application/json, text/json
[ { "Id": 1.0, "HostingHandle": "sample string 2", "AppName": "sample string 3", "FullPath": "sample string 4", "FriendlyPath": "sample string 5", "DateCre": "2025-04-04T00:29:51.951392+02:00" }, { "Id": 1.0, "HostingHandle": "sample string 2", "AppName": "sample string 3", "FullPath": "sample string 4", "FriendlyPath": "sample string 5", "DateCre": "2025-04-04T00:29:51.951392+02:00" } ]
application/xml, text/xml
<ArrayOfApplication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Hosting"> <Application> <AppName>sample string 3</AppName> <DateCre>2025-04-04T00:29:51.951392+02:00</DateCre> <FriendlyPath>sample string 5</FriendlyPath> <FullPath>sample string 4</FullPath> <HostingHandle>sample string 2</HostingHandle> <Id>1</Id> </Application> <Application> <AppName>sample string 3</AppName> <DateCre>2025-04-04T00:29:51.951392+02:00</DateCre> <FriendlyPath>sample string 5</FriendlyPath> <FullPath>sample string 4</FullPath> <HostingHandle>sample string 2</HostingHandle> <Id>1</Id> </Application> </ArrayOfApplication>