buildingmotif.api.views.library#

Functions

get_all_libraries()

Get all libraries.

get_all_shapes()

Get all shapes.

get_library(library_id)

Get library by id.

get_all_libraries() Response[source]#

Get all libraries.

Returns:

all libraries

Return type:

flask.Response

get_all_shapes() Response[source]#

Get all shapes.

Returns:

all shapes

Return type:

flask.Response

get_library(library_id: int) Response[source]#

Get library by id.

Parameters:

library_id (int) – library id

Returns:

requested library

Return type:

flask.Response