Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Endpoint to update datasets

Đang mở
#46 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
api, databases

Hướng nghiên cứu

Bắt đầu với src/db/models/tests/integration/dataset.test.ts và lần theo phần triển khai Dataset API đằng sau endpoint PUT /api/v1/data_sources/:id/datasets/:id. Xác nhận cấu trúc request cho name và rows, sau đó kiểm tra validation, các error response và phạm vi bao phủ của integration; các mục acceptance còn lại cũng đề cập đến authorization và tài liệu OpenAPI.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Advanced California Tribal GIS Hackathon

🛠️ Update Dataset


📋 Endpoints Required

  • PUT /api/v1/data_sources/:id/datasets/:id — Update resource

🗂️ Data Schema

Describe or paste the expected request/response shape below.

{
  name: string,
  rows: Array of data to insert, must have all the req. columns from table definition,
}

Note: See dataset.test.ts for examples of how to use the Dataset API.

✅ Acceptance Criteria

  • All endpoints return correct HTTP status codes
  • Input validation is applied to request bodies and query params
  • Errors return consistent, descriptive JSON responses
  • Endpoints are protected by appropriate auth/authorization middleware
  • Pagination supported on the list endpoint
  • Unit tests cover each endpoint (happy path + error cases)
  • Integration tests pass in CI
  • OpenAPI / Swagger docs updated

🔒 Auth & Permissions

N/A

🔗 Related


💬 Additional Context

Once the schema is in place, we won't have a good way to update it and will have to build that functionality out later. For now, this endpoint can just be used to insert data.

Ngôn ngữ chính
HTML
Star
2
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenSourceFellows/map_dashboard_hackathon

Tất cả issue của OpenSourceFellows/map_dashboard_hackathon

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.