Update Micropub requests to JSON + Media Endpoint

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
api

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
143
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aaronpk/Compass

Tutte le issue di aaronpk/Compass

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.