microsoft / microsoft/azure-devops-python-api

Feature request: add function to call the Wiki Attachments - Get route

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

Nessuno ha ancora preso questa issue.

Lingua principale
Python
Stelle
684
Fork
218
Merge medio
8g 10h
PR unite (30g)
1

Descrizione

The WikiClient has a create_attachment method that matches the Attachments - Create route of the API,
but it seems that there is not get_attachment method to match the Attachments - Get route of the API.

Could you please add one ?
While we're at it, it would be nice to have a kind of get-attachment-checksum API route to avoid re-uploading the same files when they don't change.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Direzione di ricerca

Inizia in azure-devops/azure/devops/released/wiki/wiki_client.py, nel metodo create_attachment esistente, quindi confrontalo con la route Azure DevOps Attachments - Get. Il lavoro è completato quando WikiClient espone un metodo get_attachment corrispondente; l'idea separata del checksum deve essere chiarita e delimitata.

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

Valutazione

Stack tecnologico
azure, python
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.