Library API

API operations on libraries.

library.views.delete_library(request)[source]
POST /library/delete_library/
Delete library with a given id.
Parameters:record_id – library id
Returns:{‘success’: not error, ‘error’: error}
Return type:JSON response
library.views.get_all(request)[source]
GET /library/get_all/
Get the list of all libraries and samples.
Returns:list with libraries and samples
Return type:JSON response
library.views.save_library(request)[source]

Add new library or update an existing one.