Changeset View
Changeset View
Standalone View
Standalone View
docs/extrinsic-metadata-specification.rst
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | |||||
When possible, it should be the MIME type already in use to describe the | When possible, it should be the MIME type already in use to describe the | ||||
metadata format outside Software Heritage. | metadata format outside Software Heritage. | ||||
Otherwise it should be unambiguous, printable ASCII without spaces, | Otherwise it should be unambiguous, printable ASCII without spaces, | ||||
and human-readable. | and human-readable. | ||||
Here is a list of all the metadata format stored: | Here is a list of all the metadata format stored: | ||||
``application/vnd.github.v3+json`` | ``application/vnd.github.v3+json`` | ||||
The metadata is the response of an API call to GitHub. | The metadata is the response of an API call to GitHub. | ||||
vlorentz: remove this line | |||||
Done Inline Actions
Whoops, copy paste issue, thanks for spotting ! anlambert: > remove this line
Whoops, copy paste issue, thanks for spotting ! | |||||
``cpan-release-json`` | |||||
The metadata is the response of an API call to `CPAN's /release/{author}/{release} | |||||
<https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md#releaseauthorrelease>`_ endpoint. | |||||
``gitlab-project-json`` | ``gitlab-project-json`` | ||||
The metadata is the response of an API call to `Gitlab's /api/v4/projects/:id | The metadata is the response of an API call to `Gitlab's /api/v4/projects/:id | ||||
<https://docs.gitlab.com/ee/api/projects.html#get-single-project>` endpoint. | <https://docs.gitlab.com/ee/api/projects.html#get-single-project>`_ endpoint. | ||||
``gitea-project-json`` | ``gitea-project-json`` | ||||
The metadata is the response of an API call to `Gitea's /api/v1/repos/{owner}/{repo} | The metadata is the response of an API call to `Gitea's /api/v1/repos/{owner}/{repo} | ||||
<https://gittea.dev/api/swagger#/repository/repoGet>`_ endpoint. | <https://gittea.dev/api/swagger#/repository/repoGet>`_ endpoint. | ||||
``gogs-project-json`` | ``gogs-project-json`` | ||||
The metadata is the response of an API call to `Gogs's /api/v1/repos/:owner/:repo | The metadata is the response of an API call to `Gogs's /api/v1/repos/:owner/:repo | ||||
<https://github.com/gogs/docs-api/tree/master/Repositories#get>`_ endpoint. | <https://github.com/gogs/docs-api/tree/master/Repositories#get>`_ endpoint. | ||||
``pypi-project-json`` | ``pypi-project-json`` | ||||
The metadata is a release entry from a PyPI project's | The metadata is a release entry from a PyPI project's | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |
remove this line