beat.web.libraries.views module

beat.web.libraries.views.create(request)[source]

Creates a new library.

The user must be authenticated before it can add a new library

beat.web.libraries.views.new_version(request, name)[source]

Creates a new version of a library.

The user must be authenticated before it can add a new library

beat.web.libraries.views.fork(request, author_name, name, version)[source]

Creates a new library by forking an existing library

Answers to the following URLs:

<libraries>/fork/<author>/<name>/<version>/

The user must be authenticated before it can fork a library

beat.web.libraries.views.edit(request, author_name, name, version)[source]

Allows the modification of the library

The user must be authenticated before it can edit a library

beat.web.libraries.views.view(request, author_name, name, version=None)[source]

Shows the library

beat.web.libraries.views.diff(request, author1, name1, version1, author2, name2, version2)[source]

Shows the difference between two libraries. The Web API is used to retrieve the details about the libraries and check the accessibility.

Answers to the following URLs

<libraries>/diff/<author1>/<name1>/<version1>/<author2>/<name2>/<version2>/

beat.web.libraries.views.ls(request, author_name)[source]

List all accessible libraries to the request user

beat.web.libraries.views.public_ls(request)[source]

List all publicly accessible objects