-
- Downloads
api: Add new endpoints to retrieve info about external identifiers
Add endpoint /api/1/extid/(extid_type)/(extid_format):(extid)/ to get info about an external identifier of a given type. Add endpoint /api/1/extid/target/(swhid)/ to retrieve a list of external identifiers targeting a given SWHID. Related to #3435.
Showing
- docs/uri-scheme-api-extid.rst 6 additions, 0 deletionsdocs/uri-scheme-api-extid.rst
- docs/uri-scheme-api.rst 2 additions, 0 deletionsdocs/uri-scheme-api.rst
- swh/web/api/apiurls.py 8 additions, 2 deletionsswh/web/api/apiurls.py
- swh/web/api/tests/views/test_extid.py 270 additions, 0 deletionsswh/web/api/tests/views/test_extid.py
- swh/web/api/urls.py 2 additions, 1 deletionswh/web/api/urls.py
- swh/web/api/utils.py 17 additions, 1 deletionswh/web/api/utils.py
- swh/web/api/views/extid.py 153 additions, 0 deletionsswh/web/api/views/extid.py
- swh/web/utils/archive.py 97 additions, 2 deletionsswh/web/utils/archive.py
Loading
Please register or sign in to comment