Beispiel #1
0
def editors(provider, userid, path="/"):
    flt = request.GET.get("format")
    return PCAPIRest(request, response).editors(provider, userid, path, flt)
Beispiel #2
0
def surveys(provider, userid, survey=None):
    return PCAPIRest(request, response).surveys(provider, userid, survey)
Beispiel #3
0
def assets(provider, userid, path="/"):
    flt = request.GET.get("frmt")
    return PCAPIRest(request, response).assets(provider, userid, path, flt)
Beispiel #4
0
def records(provider, userid, path="/"):
    flt = request.GET.get("filter")
    ogc_sync = True if request.GET.get("ogc_sync") else False
    return PCAPIRest(request, response).records(provider, userid, path, flt,
                                                ogc_sync)
Beispiel #5
0
def sync(userid, provider, cursor=None):
    return PCAPIRest(request, response).sync(provider, userid, cursor)
Beispiel #6
0
def backup(provider, userid, folder):
    return PCAPIRest(request, response).backup(provider, userid, folder)
Beispiel #7
0
def export(userid, provider, path="/"):
    return PCAPIRest(request, response).export(provider, userid, path)
Beispiel #8
0
def capabilities():
    return PCAPIRest(request, response).capabilities()
Beispiel #9
0
def login(provider, userid=None):
    return PCAPIRest(request, response).login(provider, userid)
Beispiel #10
0
def fs(provider, userid, path="/"):
    """ Upload file to path (as documented in the API docs)
    """
    return PCAPIRest(request, response).fs(provider, userid, path)
Beispiel #11
0
def layers(provider, userid, path="/"):
    return PCAPIRest(request, response).features(provider, userid, path)