feat: Implement get execution steps API endpoint
This commit is contained in:
@@ -4,6 +4,7 @@ import { authenticateUser } from '../../../helpers/authentication.js';
|
||||
import { authorizeUser } from '../../../helpers/authorization.js';
|
||||
import getExecutionsAction from '../../../controllers/api/v1/executions/get-executions.js';
|
||||
import getExecutionAction from '../../../controllers/api/v1/executions/get-execution.js';
|
||||
import getExecutionStepsAction from '../../../controllers/api/v1/executions/get-execution-steps.js';
|
||||
|
||||
const router = Router();
|
||||
|
||||
@@ -21,4 +22,11 @@ router.get(
|
||||
asyncHandler(getExecutionAction)
|
||||
);
|
||||
|
||||
router.get(
|
||||
'/:executionId/execution-steps',
|
||||
authenticateUser,
|
||||
authorizeUser,
|
||||
asyncHandler(getExecutionStepsAction)
|
||||
);
|
||||
|
||||
export default router;
|
||||
|
Reference in New Issue
Block a user