Skip to main content

Integration & API Overview

Pidima provides a comprehensive RESTful API enabling full programmatic access to all platform features. Developers can use these APIs to:

  • Manage requirements, test cases, and architecture programmatically
  • Automate AI-powered generation (test cases, requirement analysis, gap analysis)
  • Integrate with Jira for bi-directional sync
  • Perform bulk imports/exports via Excel, PDF, and structured data
  • Build custom workflows leveraging semantic search and impact analysis
  • Embed Pidima capabilities into CI/CD pipelines and custom tools
GuideDescription
Developer QuickstartGet up and running in minutes with curl examples
Full API ReferenceComplete endpoint catalog (330+ endpoints)
Resource Schemas & Sample DataRequest/response schemas with realistic sample JSON
MCP Server IntegrationConnect AI assistants (Claude, GPT) via Model Context Protocol
Programming Guide & SDK ExamplesProduction-ready Python, JavaScript & shell code
AuthenticationJWT token-based auth
Jira API ReferenceJira integration endpoints
Async OperationsWorking with background jobs
Response CodesHTTP status code reference

API Characteristics

  • RESTful: Standard HTTP methods (GET, POST, PUT, DELETE)
  • JSON: All request/response bodies use JSON (application/json)
  • JWT Auth: Bearer token authentication for all secured endpoints
  • Pagination: Server-side pagination for list endpoints
  • Async Jobs: Long-running operations return job IDs for polling
  • Semantic Search: Vector-based search powered by pgvector
  • Versioned Resources: Requirements, test cases, and architecture track version history

Base URL

EnvironmentURL
Example (placeholder)https://staging.example.com/api/v1.0
Domain is subject to change

Pidima is self-hosted and can run on any domain, IP address, or air-gapped network. There is no fixed production URL. Replace staging.example.com with your actual deployment host throughout all examples.

Interactive API Explorer (Swagger UI)

When the Pidima backend is running, an interactive Swagger UI is available at:

https://<your-host>/swagger-ui/index.html

This is served by the pidima-app backend, not the documentation site. It requires the Java application to be running and accessible. The OpenAPI JSON spec is at /v3/api-docs/pidima-api.

API Client (Bruno)

This project uses Bruno, a fully offline API testing tool, with pre-configured collections for all endpoints. See the bruno/ directory in the pidima-app repository.

Core Resources

ResourceKey OperationsAI Features
RequirementsCRUD, import/export, batch, syncAutofill, rewrite, atomize, generate, analyze
Test CasesCRUD, import/export, batchGenerate from requirements, rewrite
ArchitectureCRUD, import (PlantUML/Mermaid)Generate diagrams, IEEE 1016 docs
TraceabilityLink reqs↔tests, matrix exportAI-suggested links
Requirement LinksReq↔req relationshipsAI similarity scoring
DocumentsUpload, version, RAG processingContext for AI operations
SearchUnified semantic searchVector similarity (pgvector)
Impact AnalysisTrigger, reports, syncAI-powered change impact
ComplianceAnalyze, resolve, applyAI compliance checking
MCP ServerAI assistant integrationTool-based access for LLMs