GET api/Hosting/{hosting_handle}/AvailableFramework?user={user}
Return a list if frameworks avaialable for the 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 Framework 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 |
Id of the framework |
integer |
None. |
| Type |
Framework type - PHP, .NET |
string |
None. |
| Version |
Framework version |
string |
None. |
| Desrciption |
Desrciption |
string |
None. |
| Os |
Operating system - linux, windows |
string |
None. |
| Default |
Is default framework |
boolean |
None. |
| Actif | boolean |
None. |
Response Formats
application/json, text/json
[
{
"Id": 1,
"Type": "sample string 1",
"Version": "sample string 2",
"Desrciption": "sample string 3",
"Os": "sample string 4",
"Default": true,
"Actif": true
},
{
"Id": 1,
"Type": "sample string 1",
"Version": "sample string 2",
"Desrciption": "sample string 3",
"Os": "sample string 4",
"Default": true,
"Actif": true
}
]
application/xml, text/xml
<ArrayOfFramework xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Hosting">
<Framework>
<Actif>true</Actif>
<Default>true</Default>
<Desrciption>sample string 3</Desrciption>
<Id>1</Id>
<Os>sample string 4</Os>
<Type>sample string 1</Type>
<Version>sample string 2</Version>
</Framework>
<Framework>
<Actif>true</Actif>
<Default>true</Default>
<Desrciption>sample string 3</Desrciption>
<Id>1</Id>
<Os>sample string 4</Os>
<Type>sample string 1</Type>
<Version>sample string 2</Version>
</Framework>
</ArrayOfFramework>