SPDX2TV: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 (Created initial content)  | 
				mNo edit summary  | 
				||
| Line 5: | Line 5: | ||
http://www.osselot.org:3262/spdx/<package>/<version>  | http://www.osselot.org:3262/spdx/<package>/<version>  | ||
</pre>  | </pre>  | ||
such as in a wget command  | such as in a <i>wget</i> command  | ||
<syntaxhighlight lang="bash">  | <syntaxhighlight lang="bash">  | ||
wget -qO - http://www.osselot.org:3262/spdx/dbus/1.15.2  | wget -qO - http://www.osselot.org:3262/spdx/dbus/1.15.2  | ||
Revision as of 23:51, 26 July 2023
Obtain curation data in SPDX2TV format
Single version
To obtain curation data of a single version of a software package in SPDX2TV format, the following REST call may be used:
http://www.osselot.org:3262/spdx/<package>/<version>
such as in a wget command
wget -qO - http://www.osselot.org:3262/spdx/dbus/1.15.2
All available versions of a software package
This REST interface for data of a curated software package in SPDX2TV format only permits to retrieve a single version at a time. Only the JSON interface concatenates all curated versions of a software package to a data array.
Format SPDX2TV text file in browser
The curated data of a single version of a curated software package may be displayed in plain text format in a browser such as DBus version 1.15.2