Skip to Content
Static Data

List `Virtual Host` options

GET
/static/virtual-host-options

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
variable_targets*array<>

The list of VariableTarget

virtual_host_types*array<>
Example Request
curl -X GET 'https://api.devopness.com/static/virtual-host-options' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response200
{  "variable_targets": [    {      "name": "resource-config-file",      "name_human_readable": "MySQL Configuration (my.cnf)",      "hint": "Some text here describing this field for end users"    }  ],  "virtual_host_types": [    {      "name": "name-based",      "name_human_readable": "Domain name (name-based virtual host)",      "hint": "Some text here describing this field for end users"    }  ]}