202 responses: task id only in Location, which points to /api/admin/v1/async-result

Đang mở
#5 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
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
api, backend-api-design

Hướng nghiên cứu

Start by locating the specification entries for the listed POST operations and the v1/v2 async-result endpoints. Compare the documented 202 response, Location header, and response body with the reported behavior; done means the v2 Location path and task-id response requirement are consistently specified, or the issue's intended scope is clarified.

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

Mô tả

Long-running operations (POST /v2/database-dir/info, POST /v2/database-dir/integrity-check, POST /v2/security/audit/records, ...) answer 202 Accepted with an empty body. The task id is only in the Location header, and that header points to /api/admin/v1/async-result, although the call was made to v2.

Seen on IRIS Community 2026.2 (build 221U).

Suggestions: point Location to /api/admin/v2/async-result, and return the task id in the body as well (e.g. {"Id": "..."}), so a client does not have to parse a header.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
0
Fork
0
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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 intersystems-community/sysadmin-api-specification

Tất cả issue của intersystems-community/sysadmin-api-specification

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.