dwyl / dwyl/github-backup

Endpoint to return number edits svg badge

Offen
#77 3 Kommentare 1 Reaktion 1 zugewiesene Person Beansprucht von @SimonLab Auf GitHub ansehen
enhancement please-test T2h
Vorherrschende Sprache
Elixir
Sterne
33
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

linked to #14 (Meta table)

Each time a new version (edit) of the issue description or a comment of the issue is saved, the meta table will display the new incremented number of edits. We can update directly the issue description of the new number via the Github API, however a nicer solution is to use a svg served by the "github-backup" server.
So in a similar way to https://github.com/dwyl/hits-elixir we need to:
- [x] create an endpoint ex: ```/edit-count/{issue_id}``` which will return an svg image
- [x] insert the svg image similar to ```[![HitCount](http://hits.dwyl.io/dwyl/hits-elixir.svg)](https://github.com/dwyl/hits-elixir)``` [![HitCount](http://hits.dwyl.io/dwyl/hits-elixir.svg)](https://github.com/dwyl/hits-elixir)

format of the hit-elixir svg:
```

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.