list execution logs
GET
/api/v1/extensions/execution/{execution_id}/logsController:
github.com/raghavyuva/nixopus-api/internal/features/extension/controller.(*ExtensionsController).ListExecutionLogs
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middlewaregithub.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3
Parameters
Header Parameters
Accept
Typestring
Path Parameters
execution_id*
Typestring
RequiredResponses
OK
JSON
{
"data": {
"execution_status": "string",
"logs": [
{
"created_at": "string",
"data": null,
"execution_id": null,
"id": null,
"level": "string",
"message": "string",
"sequence": 0,
"step_id": null
}
],
"next_after": 0
},
"message": "string",
"status": "string"
}
Samples
cURL
curl -X GET http://localhost/api/v1/extensions/execution/{execution_id}/logsJavaScript
fetch("http://localhost/api/v1/extensions/execution/{execution_id}/logs")
.then(response => response.json())
.then(data => console.log(data));PHP
file_get_contents("http://localhost/api/v1/extensions/execution/{execution_id}/logs");Python
import requests
response = requests.get("http://localhost/api/v1/extensions/execution/{execution_id}/logs")
print(response.json())