Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.58 KB

README.md

File metadata and controls

9 lines (5 loc) · 1.58 KB

Buggy library-specification

A specification for buggy library servers, including tests for the REST API.

REST API

The REST API is defined in the swagger specification. A short overview over the commands:

PathMethodSummary
/componentsPOSTInsert a new component
/componentsGETList all components
/components/countGETNumber of components
/components/get/{meta}GETInformation for a specific component.
/components/get/{meta}/version/{version}GETInformation for a specific component.
/config/{key}POSTSet a configuration value
/config/{key}GETA configuration value
/exportGETReturns the whole database
/infoGETServer information
/meta/{component}GETAll meta keys for a component
/meta/{component}/version/{version}GETAll meta keys for a component @version
/meta/{component}/version/{version}/{key}GETMeta key value for a component
/meta/{component}/version/{version}/{key}POSTSet a meta key
/meta/{component}/{key}POSTSet a meta key
/meta/{component}/{key}GETMeta key value for a component