Skip to content

get execution

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

Controller:

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

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": {
"completed_at": "string",
"created_at": "string",
"error_message": "string",
"execution_log": "string",
"exit_code": 0,
"extension": {
"author": "string",
"category": "string",
"content_hash": "string",
"created_at": "string",
"deleted_at": "string",
"description": "string",
"extension_id": "string",
"extension_type": "string",
"icon": "string",
"id": null,
"is_verified": true,
"name": "string",
"parent_extension_id": null,
"parsed_content": "string",
"updated_at": "string",
"validation_errors": "string",
"validation_status": "string",
"variables": [
{
"created_at": "string",
"default_value": null,
"description": "string",
"extension": {
"author": "string",
"category": "string",
"content_hash": "string",
"created_at": "string",
"deleted_at": "string",
"description": "string",
"extension_id": "string",
"extension_type": "string",
"icon": "string",
"id": null,
"is_verified": true,
"name": "string",
"parent_extension_id": null,
"parsed_content": "string",
"updated_at": "string",
"validation_errors": "string",
"validation_status": "string",
"variables": [
{
"created_at": "string",
"default_value": null,
"description": "string",
"extension": "[Circular Reference]",
"extension_id": null,
"id": null,
"is_required": true,
"validation_pattern": "string",
"variable_name": "string",
"variable_type": "string"
}
],
"version": "string",
"yaml_content": "string"
},
"extension_id": null,
"id": null,
"is_required": true,
"validation_pattern": "string",
"variable_name": "string",
"variable_type": "string"
}
],
"version": "string",
"yaml_content": "string"
},
"extension_id": null,
"id": null,
"log_seq": 0,
"server_hostname": "string",
"started_at": "string",
"status": "string",
"steps": [
{
"completed_at": "string",
"created_at": "string",
"execution": {
"completed_at": "string",
"created_at": "string",
"error_message": "string",
"execution_log": "string",
"exit_code": 0,
"extension": {
"author": "string",
"category": "string",
"content_hash": "string",
"created_at": "string",
"deleted_at": "string",
"description": "string",
"extension_id": "string",
"extension_type": "string",
"icon": "string",
"id": null,
"is_verified": true,
"name": "string",
"parent_extension_id": null,
"parsed_content": "string",
"updated_at": "string",
"validation_errors": "string",
"validation_status": "string",
"variables": [
{
"created_at": "string",
"default_value": null,
"description": "string",
"extension": {
"author": "string",
"category": "string",
"content_hash": "string",
"created_at": "string",
"deleted_at": "string",
"description": "string",
"extension_id": "string",
"extension_type": "string",
"icon": "string",
"id": null,
"is_verified": true,
"name": "string",
"parent_extension_id": null,
"parsed_content": "string",
"updated_at": "string",
"validation_errors": "string",
"validation_status": "string",
"variables": [
{
"created_at": "string",
"default_value": null,
"description": "string",
"extension": "[Circular Reference]",
"extension_id": null,
"id": null,
"is_required": true,
"validation_pattern": "string",
"variable_name": "string",
"variable_type": "string"
}
],
"version": "string",
"yaml_content": "string"
},
"extension_id": null,
"id": null,
"is_required": true,
"validation_pattern": "string",
"variable_name": "string",
"variable_type": "string"
}
],
"version": "string",
"yaml_content": "string"
},
"extension_id": null,
"id": null,
"log_seq": 0,
"server_hostname": "string",
"started_at": "string",
"status": "string",
"steps": [
{
"completed_at": "string",
"created_at": "string",
"execution": "[Circular Reference]",
"execution_id": null,
"exit_code": 0,
"id": null,
"output": "string",
"phase": "string",
"started_at": "string",
"status": "string",
"step_name": "string",
"step_order": 0
}
],
"variable_values": "string"
},
"execution_id": null,
"exit_code": 0,
"id": null,
"output": "string",
"phase": "string",
"started_at": "string",
"status": "string",
"step_name": "string",
"step_order": 0
}
],
"variable_values": "string"
},
"message": "string",
"status": "string"
}

Samples

cURL
curl -X GET http://localhost/api/v1/extensions/execution/{execution_id}
JavaScript
fetch("http://localhost/api/v1/extensions/execution/{execution_id}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/v1/extensions/execution/{execution_id}");
Python
import requests
response = requests.get("http://localhost/api/v1/extensions/execution/{execution_id}")
print(response.json())
Powered by VitePress OpenAPI

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