get deployment logs
GET
/api/v1/deploy/application/deployments/{deployment_id}/logsController:
github.com/raghavyuva/nixopus-api/internal/features/deploy/controller.(*DeployController).GetDeploymentLogs
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middleware
github.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func1
github.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func2
github.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func9
Parameters
Header Parameters
Accept
Typestring
Path Parameters
deployment_id*
Typestring
RequiredResponses
OK
JSON
{
"data": null,
"error": "string",
"message": "string",
"status": "string"
}
Samples
cURL
curl -X GET http://localhost:8080/api/v1/api/v1/deploy/application/deployments/{deployment_id}/logs
JavaScript
fetch("http://localhost:8080/api/v1/api/v1/deploy/application/deployments/{deployment_id}/logs")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost:8080/api/v1/api/v1/deploy/application/deployments/{deployment_id}/logs");
Python
import requests
response = requests.get("http://localhost:8080/api/v1/api/v1/deploy/application/deployments/{deployment_id}/logs")
print(response.json())