Deploy app from GitHub repository
curl --request POST \
--url https://api.hyzecloud.com/api/apps/deploy-from-repo \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"memoryMB": 123,
"repository": {
"id": "<string>",
"owner": "<string>",
"name": "<string>",
"branch": "<string>",
"path": "<string>",
"githubInstallationId": "<string>"
}
}
'import requests
url = "https://api.hyzecloud.com/api/apps/deploy-from-repo"
payload = {
"name": "<string>",
"memoryMB": 123,
"repository": {
"id": "<string>",
"owner": "<string>",
"name": "<string>",
"branch": "<string>",
"path": "<string>",
"githubInstallationId": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
memoryMB: 123,
repository: {
id: '<string>',
owner: '<string>',
name: '<string>',
branch: '<string>',
path: '<string>',
githubInstallationId: '<string>'
}
})
};
fetch('https://api.hyzecloud.com/api/apps/deploy-from-repo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hyzecloud.com/api/apps/deploy-from-repo"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"memoryMB\": 123,\n \"repository\": {\n \"id\": \"<string>\",\n \"owner\": \"<string>\",\n \"name\": \"<string>\",\n \"branch\": \"<string>\",\n \"path\": \"<string>\",\n \"githubInstallationId\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Applications
Deploy app from GitHub repository
POST
/
api
/
apps
/
deploy-from-repo
Deploy app from GitHub repository
curl --request POST \
--url https://api.hyzecloud.com/api/apps/deploy-from-repo \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"memoryMB": 123,
"repository": {
"id": "<string>",
"owner": "<string>",
"name": "<string>",
"branch": "<string>",
"path": "<string>",
"githubInstallationId": "<string>"
}
}
'import requests
url = "https://api.hyzecloud.com/api/apps/deploy-from-repo"
payload = {
"name": "<string>",
"memoryMB": 123,
"repository": {
"id": "<string>",
"owner": "<string>",
"name": "<string>",
"branch": "<string>",
"path": "<string>",
"githubInstallationId": "<string>"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
memoryMB: 123,
repository: {
id: '<string>',
owner: '<string>',
name: '<string>',
branch: '<string>',
path: '<string>',
githubInstallationId: '<string>'
}
})
};
fetch('https://api.hyzecloud.com/api/apps/deploy-from-repo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hyzecloud.com/api/apps/deploy-from-repo"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"memoryMB\": 123,\n \"repository\": {\n \"id\": \"<string>\",\n \"owner\": \"<string>\",\n \"name\": \"<string>\",\n \"branch\": \"<string>\",\n \"path\": \"<string>\",\n \"githubInstallationId\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}Autorizações
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Corpo
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Minimum string length:
1Opções disponíveis:
node, bun, python Show child attributes
Show child attributes
Minimum string length:
1Resposta
default
Response
Última modificação em 21 de julho de 2026
⌘I

