YAML: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
mNo edit summary  | 
				mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
==Obtain curation data in YAML format==  | ==Obtain curation data in YAML format==  | ||
====Single version====  | ====Single version====  | ||
To obtain curation data of a single version of a software package in YAML format, the following REST call may be used:  | To obtain curation data of a single version of a software package in YAML format, the following [[REST]] call may be used:  | ||
<pre>  | <pre>  | ||
http://www.osselot.org:3262/yaml/<package>/<version>  | http://www.osselot.org:3262/yaml/<package>/<version>  | ||
Revision as of 00:16, 27 July 2023
Obtain curation data in YAML format
Single version
To obtain curation data of a single version of a software package in YAML format, the following REST call may be used:
http://www.osselot.org:3262/yaml/<package>/<version>
such as in a wget command
wget -qO - http://www.osselot.org:3262/yaml/dbus/1.15.2
All available versions of a software package
This REST interface for data of a curated software package in YAML 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 YAML 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