Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9346136
D7801.id28226.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
902 B
Subscribers
None
D7801.id28226.diff
View Options
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
Details
Attached
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
Attached To
D7801: docs: Describe metadata formats more precisely, and mention github and gitlab's
Event Timeline
Log In to Comment