Example #1
0
def get():
    app.logger.info(f"GET Layers, user={g.user}")

    user = get_authn_username()
    return rest_common.get_publications(LAYER_TYPE,
                                        user,
                                        request_args=request.args)
Example #2
0
def get():
    app.logger.info(f"GET Maps, actor={g.user}")

    actor = get_authn_username()
    return rest_common.get_publications(MAP_TYPE,
                                        actor,
                                        request_args=request.args)
Example #3
0
def get(workspace):
    app.logger.info(f"GET Maps, user={g.user}")

    user = get_authn_username()
    return rest_common.get_publications(MAP_TYPE,
                                        user,
                                        request_args=request.args,
                                        workspace=workspace)
def get(workspace):
    app.logger.info(f"GET Layers, actor={g.user}")

    actor = get_authn_username()
    return rest_common.get_publications(LAYER_TYPE,
                                        actor,
                                        request_args=request.args,
                                        workspace=workspace)