Update Micropub requests to JSON + Media Endpoint

Đang mở
#3 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
api

Hướng nghiên cứu

Start by finding where Compass builds its Micropub request and where it currently sends multipart form data with the nested payload, then check how route.json is attached. Read the Micropub spec's JSON request format and the Media Endpoint upload step before changing anything. Done when the request body is a JSON object that keeps the nested structure, and route.json is uploaded to the Media Endpoint before the Micropub call. No tests are named in the payload, so verify by hand against a Micropub server.

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

Mô tả

Currently Compass sends a multipart request with a payload that contains a nested object. Even though Compass is using some pretty experimental Microformats vocabularies, it should still follow the Micropub syntax, so the payload should be switched to a regular JSON payload to contain the nested object, and the route.json file should be uploaded to the Media Endpoint first.

Ngôn ngữ chính
JavaScript
Star
143
Fork
33
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

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 aaronpk/Compass

Tất cả issue của aaronpk/Compass

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.