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

Allow API calls to be made without `.php` in the path

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

Maintainer thường phản hồi trong vòng 7 ngày

@aaronminnick đang làm issue này rồi.

Từ ngày 28/1/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

API backend documentation enhancement

For backwards compatibility while transitioning the backend from PHP to Node, we intentionally maintained .php in API paths even though they were no longer PHP files, e.g. https://localhost:4443/api/events.php?startdate=2019-06-01&enddate=2019-06-15

(See implementation in https://github.com/shift-org/shift-docs/blob/main/app/app.js#L52)

We should drop .php from the canonical URLs, e.g. https://localhost:4443/api/events?startdate=2019-06-01&enddate=2019-06-15

For backwards compatibility we should proxy/redirect the .php paths to the new canonical path, but encourage clients to update their API calls to the new path.

Ngôn ngữ chính
JavaScript
Star
30
Fork
26
Merge trung bình
6 ngày 23 giờ
Pull request đã merge (30 ngày)
3

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 shift-org/shift-docs

Tất cả issue của shift-org/shift-docs

Issue tương tự

Thêm issue về JavaScript

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.