Hawiyat

domain

POST/domain.create

domain-create

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

host
Required
string

Minimum length: 1

path
Required
string | null

Minimum length: 1

port
Required
number | null

https
Required
boolean

applicationId
Required
string

certificateType
Required
string

Value in: "letsencrypt" | "none"
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/domain.create" \
  -d '{
  "host": "string",
  "path": "string",
  "port": 0,
  "https": true,
  "applicationId": "string",
  "certificateType": "letsencrypt"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

GET/domain.byApplicationId

domain-byApplicationId

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

applicationId
Required
string

Status codeDescription
200Successful response
defaultError response
curl -X GET "http://localhost:3000/api/domain.byApplicationId?applicationId=string"

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/domain.generateDomain

domain-generateDomain

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

applicationId
Required
string

Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/domain.generateDomain" \
  -d '{
  "applicationId": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/domain.generateWildcard

domain-generateWildcard

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

applicationId
Required
string

Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/domain.generateWildcard" \
  -d '{
  "applicationId": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/domain.update

domain-update

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

domainId
Required
string

Minimum length: 1

host
Required
string

Minimum length: 1

path
Required
string | null

Minimum length: 1

port
Required
number | null

https
Required
boolean

certificateType
Required
string

Value in: "letsencrypt" | "none"
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/domain.update" \
  -d '{
  "domainId": "string",
  "host": "string",
  "path": "string",
  "port": 0,
  "https": true,
  "certificateType": "letsencrypt"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

GET/domain.one

domain-one

Authorization

Authorization
Required
Bearer <token>

In: header

Query Parameters

domainId
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X GET "http://localhost:3000/api/domain.one?domainId=string"

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

POST/domain.delete

domain-delete

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

domainId
Required
string

Minimum length: 1
Status codeDescription
200Successful response
defaultError response
curl -X POST "http://localhost:3000/api/domain.delete" \
  -d '{
  "domainId": "string"
}'

{
  "message": "string",
  "code": "string",
  "issues": [
    {
      "message": "string"
    }
  ]
}

On this page