예제 #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)
예제 #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)
예제 #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)
예제 #4
0
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)