n8n-bookstack-agent-tool
Version:
Comprehensive BookStack API integration tool for n8n AI Agent with MCP framework compatibility
46 lines • 1.11 kB
TypeScript
export interface BookStackEndpoint {
path: string;
method: string;
operationId: string;
summary: string;
description: string;
parameters?: Parameter[];
requestBody?: RequestBody;
responses: Record<string, Response>;
tags: string[];
}
export interface Parameter {
name: string;
in: 'path' | 'query' | 'header' | 'cookie';
required: boolean;
schema: Schema;
description?: string;
}
export interface RequestBody {
required: boolean;
content: Record<string, MediaType>;
}
export interface MediaType {
schema: Schema;
}
export interface Response {
description: string;
content?: Record<string, MediaType>;
}
export interface Schema {
type: string;
format?: string;
properties?: Record<string, Schema>;
items?: Schema;
required?: string[];
enum?: any[];
minimum?: number;
maximum?: number;
pattern?: string;
}
export interface BookStackApiSpec {
endpoints: BookStackEndpoint[];
resources: string[];
operations: Record<string, BookStackEndpoint[]>;
}
//# sourceMappingURL=api-spec.d.ts.map