Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7122779
D6106.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
705 B
Subscribers
None
D6106.diff
View Options
diff --git a/docs/getting-started/api.rst b/docs/getting-started/api.rst
--- a/docs/getting-started/api.rst
+++ b/docs/getting-started/api.rst
@@ -98,9 +98,7 @@
as the basename. All API calls will be forged according to the same
syntax:
-::
-
- https://archive.softwareheritage.org/api/1/<endpoint>
+``https://archive.softwareheritage.org/api/1/<endpoint>``
Request basic Information
-------------------------
@@ -172,9 +170,7 @@
`here <https://archive.softwareheritage.org/api/1/origin/search/doc/>`__
and the complete syntax is:
-::
-
- `/api/1/origin/search/<keyword>/`
+``/api/1/origin/search/<keyword>/``
The server returns an array of hashes, with each item being formatted
as:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 16, 11:47 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219399
Attached To
D6106: T3339 Fix various formatting typos in getting started with SWH API.
Event Timeline
Log In to Comment