Hiển thị Dataset (Dataset Show)

Mô tả Tổng quan

Truy xuất thông tin chi tiết của lịch sử dataset theo slug để phục vụ các lời gọi phân tích tiếp theo.

Sơ đồ Hoạt động

---
config:
  theme: base
  layout: dagre
  flowchart:
    curve: linear
    htmlLabels: true
  themeVariables:
    edgeLabelBackground: "transparent"
---
flowchart TB
    Client[Client]
    Controller[WishlistDatasetController]
    Repo(Dataset Repository)
    DB[(Database)]

    Client --- Step1[
      <div style='text-align: center'>
        <span style='display: inline-block; background-color: #6699cc !important; color:white; width: 28px; height: 28px; border-radius: 50%; font-weight: bold'>1</span>
        <p style='margin-top: 8px'>GET show</p>
      </div>
    ]
    Step1 --> Controller

    Controller --- Step2[
      <div style='text-align: center'>
        <span style='display: inline-block; background-color: #6699cc !important; color:white; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; font-weight: bold'>2</span>
        <p style='margin-top: 8px'>Tìm theo slug</p>
      </div>
    ]
    Step2 --> Repo
    Repo --> DB
    DB --> Repo
    Repo --> Controller
    Controller --> Client

Swagger Link

API: Dataset Show

Endpoint

  • GET /api/v1/general/{wldh_slug}/show

Phản hồi

  • Đối tượng lịch sử dataset kèm tham chiếu group/dataset

Xử lý Lỗi

Thông điệp
404 Dataset not found
403 Unauthorized