Page MenuHomeSoftware Heritage

D7801.id28226.diff
No OneTemporary

D7801.id28226.diff

diff --git a/docs/extrinsic-metadata-specification.rst b/docs/extrinsic-metadata-specification.rst
--- a/docs/extrinsic-metadata-specification.rst
+++ b/docs/extrinsic-metadata-specification.rst
@@ -264,8 +264,18 @@
Extrinsic metadata formats
--------------------------
+Formats are identified by an opaque string.
+When possible, it should be the MIME type already in use to describe the
+metadata format outside Software Heritage.
+Otherwise it should be unambiguous, printable ASCII without spaces,
+and human-readable.
+
Here is a list of all the metadata format stored:
+``application/vnd.github.v3+json``
+ The metadata is the response of an API call to GitHub.
+``gitlab-project-json``
+ The metadata is the response of an API call to a Gitlab instance.
``pypi-project-json``
The metadata is a release entry from a PyPI project's
JSON file, extracted and re-serialized.

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 3:45 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216762

Event Timeline