Skip to content

list execution logs

GET
/api/v1/extensions/execution/{execution_id}/logs

Controller:

github.com/raghavyuva/nixopus-api/internal/features/extension/controller.(*ExtensionsController).ListExecutionLogs

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3

Parameters

Header Parameters

Accept
Typestring

Path Parameters

execution_id*
Typestring
Required

Responses

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}/logs
JavaScript
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())
Powered by VitePress OpenAPI

Made with love
Released under the Functional Source License (FSL)