10 lines
748 B
PowerShell
10 lines
748 B
PowerShell
$token = Get-Content 'c:\Users\Administrator\.ssh\coolify-redbull-token'
|
|
$baseUrl = "https://redbull.rede5.com.br/api/v1"
|
|
$serviceUuid = "cs80o4sgo440gkwkogo4c44k"
|
|
$appUuid = "hwo8cc88g4sgo0kk48gg0488" # from op_details_ascii.json
|
|
|
|
# Let's try to update the FQDN of the application inside the service? Or the service itself?
|
|
# For services, we usually just update it. Wait, the API might not support updating service FQDN easily without knowing the schema. Let's look at the coolify db schema to know how to do it.
|
|
# Actually, the FQDN is in the service_applications table or applications table?
|
|
# In op_details_ascii.json, it's applications[0].fqdn. So we can update FQDN.
|
|
# Or maybe easier to just start the service first to see if it even runs?
|