aboutcode-org / aboutcode-org/purldb
Set pagination for different API views
- Vorherrschende Sprache
- HTML
- Sterne
- 67
- Forks
- 69
- Ø Merge
- 8 T. 8 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
The response we get from the `approximate_directory_content_index` match endpoint is:
```
[
{
"fingerprint": "00000003852aabc97a0a4f477a153ef90df6d4a5",
"matched_fingerprint": "00000003852aabc97a0a4f477a153ef90df6d4a4",
"package": "http://private.purldb.io/api/packages/0bbdcf88-ad07-4970-9272-7d5f4c82cc7b/"
},
{
"fingerprint": "00000003852aabc97a0a4f477a153ef90df6d4a5",
"matched_fingerprint": "00000003852aabc97a0a4f477a153ef90df6d4a4",
"package": "http://private.purldb.io/api/packages/055a7bab-38c6-4a1d-bb57-777b72ea4c99/"
}
]
```
It would be nice to have this data returned in a similar fashion to Resources and Packages, where there is a count of results and the next and previous pages.
```
{
"count": 3,
"next": null,
"previous": null,
"results": [
....
}
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.