Revision 57832
Added by Sandro La Bruzzo almost 5 years ago
modules/dli-api/branches/2.0/v1/api.py | ||
---|---|---|
9 | 9 |
|
10 | 10 |
subapi_v1 = FastAPI(title="Scholexplorer API 1.0", |
11 | 11 |
version="2.0.0", |
12 |
description="scholexplorer API version 1.0",openapi_prefix="/v1", docs_url="/ui") |
|
12 |
description="scholexplorer API version 1.0",openapi_prefix="/v1", docs_url="/ui/")
|
|
13 | 13 |
|
14 | 14 |
@subapi_v1.get("/linksFromDatasource", |
15 | 15 |
tags=["Scholix"], |
modules/dli-api/branches/2.0/v2/api_v2.py | ||
---|---|---|
10 | 10 |
|
11 | 11 |
subapi_v2 = FastAPI(title="Scholexplorer API 2.0", |
12 | 12 |
version="2.0.0", |
13 |
description="scholexplorer API version 2.0",openapi_prefix="/v2", docs_url="/ui") |
|
13 |
description="scholexplorer API version 2.0",openapi_prefix="/v2", docs_url="/ui/")
|
|
14 | 14 |
|
15 | 15 |
req_fields = ['sourcePid', 'targetPid', 'sourcePublisher', 'targetPublisher', 'linkProvider'] |
16 | 16 |
|
Also available in: Unified diff
fixed ui path