# DEB-364: Data Source Agent: REST API Adaptor

> **Jira:** [DEB-364](https://divami.atlassian.net/browse/DEB-364)  
> **Source Report:** [20260315.md](../../reports/jira/20260315.md)

- **Status:** Start
- **Assignee:** Rajashekar Gummadidala
- **Priority:** Medium
- **Created:** 2026-03-13T15:55:52.460+0530
- **Updated:** 2026-03-13T16:34:28.023+0530

**Description:**

Agent should be able to fetch from data from the APIs using a common REST API Adaptor.
A demoable REST API Adaptor should be there by using Jira APIs or Gmail APIs

**Architecture Diagram:**

```mermaid
flowchart LR
    subgraph DSA[Data Source Agent]
        A[Receive Query / Refresh Trigger]
        B[REST API Adaptor]
        C[RBAC Controller]
    end
    subgraph APIs[External APIs]
        D[Jira REST API]
        E[Gmail REST API]
        F[Other REST APIs]
    end

    A --> B
    B --> C
    C -->|Authorized Request| D
    C -->|Authorized Request| E
    C -->|Authorized Request| F
    D -->|Data| B
    E -->|Data| B
    F -->|Data| B
    B --> G[Normalize & Return Response]
```
