GET api/Hosting/{hosting_handle}/Application/{id}?user={user}

Get the application with the given id on the given hosting

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hosting_handle

Hosting object handle

string

Required

id

Id of the application

decimal number

Required

user

Owner of object. If empty, currently logged in user will be used

string

None.

Body Parameters

None.

Response Information

Resource Description

An application object on success
Collection of errors on failure
Return codes
200 - ok
300 - ambiguous
401 - unauthorized
404 - not found
500 - internal server error

Application
NameDescriptionTypeAdditional 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

Sample:
{
  "Id": 1.0,
  "HostingHandle": "sample string 2",
  "AppName": "sample string 3",
  "FullPath": "sample string 4",
  "FriendlyPath": "sample string 5",
  "DateCre": "2025-04-04T00:30:42.5564187+02:00"
}

application/xml, text/xml

Sample:
<Application xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Hosting">
  <AppName>sample string 3</AppName>
  <DateCre>2025-04-04T00:30:42.5564187+02:00</DateCre>
  <FriendlyPath>sample string 5</FriendlyPath>
  <FullPath>sample string 4</FullPath>
  <HostingHandle>sample string 2</HostingHandle>
  <Id>1</Id>
</Application>