entryscape 1.3.1__tar.gz → 1.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- entryscape-1.4.0/PKG-INFO +422 -0
- entryscape-1.4.0/README.md +380 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/__init__.py +3 -3
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/app_token_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/auth_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/catalog_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/contact_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/dataservice_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/dataset_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/distribution_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/document_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/idea_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/job_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/model_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/model_class_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/model_diagram_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/model_field_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/model_form_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/model_namespace_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/model_property_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/organization_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/search_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/showcase_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/suggestion_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/terminology_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/upload_api.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api_client.py +3 -3
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/configuration.py +4 -4
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/exceptions.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/__init__.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/app_token.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/app_token_create_request.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/app_token_create_response.py +2 -2
- entryscape-1.4.0/entryscape/models/app_token_status.py +35 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/app_token_verify_request.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/entity_list_item.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/entity_list_response.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/entity_reference.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/entity_type.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/error.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/facet_field.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/facet_field_values_inner.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/facet_list.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/facet_list_available_inner.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/job_response.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/job_status.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/job_status_progress.py +2 -2
- entryscape-1.4.0/entryscape/models/job_status_value.py +37 -0
- entryscape-1.4.0/entryscape/models/job_type.py +37 -0
- entryscape-1.4.0/entryscape/models/list_catalogs_entry_type_parameter.py +37 -0
- entryscape-1.4.0/entryscape/models/list_catalogs_graph_type_parameter.py +44 -0
- entryscape-1.4.0/entryscape/models/list_catalogs_resource_type_parameter.py +37 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/login_request.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/login_response.py +2 -2
- entryscape-1.4.0/entryscape/models/metadata_format.py +38 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/metadata_request.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/parent_reference.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/search_request.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/search_request_filters.py +2 -2
- entryscape-1.4.0/entryscape/models/search_request_filters_graph_type.py +44 -0
- entryscape-1.4.0/entryscape/models/search_request_filters_resource_type.py +37 -0
- entryscape-1.4.0/entryscape/models/search_request_sort.py +38 -0
- entryscape-1.4.0/entryscape/models/search_request_sort_order.py +35 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/search_response.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/search_result.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/search_result_graph_type.py +2 -2
- entryscape-1.4.0/entryscape/models/search_result_resource_type.py +37 -0
- entryscape-1.4.0/entryscape/models/search_sort_order_parameter.py +35 -0
- entryscape-1.4.0/entryscape/models/terminology_import_mode.py +35 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/validation_profile.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/validation_response.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/validation_result.py +2 -2
- entryscape-1.4.0/entryscape/models/validation_severity.py +36 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/validation_summary.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/models/whoami_response.py +2 -2
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/rest.py +2 -2
- entryscape-1.4.0/entryscape.egg-info/PKG-INFO +422 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/pyproject.toml +1 -4
- entryscape-1.3.1/PKG-INFO +0 -465
- entryscape-1.3.1/README.md +0 -420
- entryscape-1.3.1/entryscape/models/app_token_status.py +0 -35
- entryscape-1.3.1/entryscape/models/job_status_value.py +0 -37
- entryscape-1.3.1/entryscape/models/job_type.py +0 -37
- entryscape-1.3.1/entryscape/models/list_catalogs_entry_type_parameter.py +0 -37
- entryscape-1.3.1/entryscape/models/list_catalogs_graph_type_parameter.py +0 -44
- entryscape-1.3.1/entryscape/models/list_catalogs_resource_type_parameter.py +0 -37
- entryscape-1.3.1/entryscape/models/metadata_format.py +0 -38
- entryscape-1.3.1/entryscape/models/search_request_filters_graph_type.py +0 -44
- entryscape-1.3.1/entryscape/models/search_request_filters_resource_type.py +0 -37
- entryscape-1.3.1/entryscape/models/search_request_sort.py +0 -38
- entryscape-1.3.1/entryscape/models/search_request_sort_order.py +0 -35
- entryscape-1.3.1/entryscape/models/search_result_resource_type.py +0 -37
- entryscape-1.3.1/entryscape/models/search_sort_order_parameter.py +0 -35
- entryscape-1.3.1/entryscape/models/terminology_import_mode.py +0 -35
- entryscape-1.3.1/entryscape/models/validation_severity.py +0 -36
- entryscape-1.3.1/entryscape.egg-info/PKG-INFO +0 -465
- {entryscape-1.3.1 → entryscape-1.4.0}/LICENSE.txt +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api/__init__.py +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/api_response.py +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape/py.typed +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape.egg-info/SOURCES.txt +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape.egg-info/dependency_links.txt +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape.egg-info/requires.txt +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/entryscape.egg-info/top_level.txt +0 -0
- {entryscape-1.3.1 → entryscape-1.4.0}/setup.cfg +0 -0
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: entryscape
|
|
3
|
+
Version: 1.4.0
|
|
4
|
+
Summary: EntryScape API client for Python - provides access to EntryScape data following DCAT-AP standards
|
|
5
|
+
Author-email: Metasolutions <contact@entryscape.com>
|
|
6
|
+
License-Expression: LGPL-3.0-or-later
|
|
7
|
+
Project-URL: Homepage, https://entryscape.com
|
|
8
|
+
Keywords: entryscape,dcat-ap,open-data,api-client,linked-data,rdf
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.9
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE.txt
|
|
24
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
25
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
26
|
+
Requires-Dist: aiohttp>=3.8.4
|
|
27
|
+
Requires-Dist: aiohttp-retry>=2.8.3
|
|
28
|
+
Requires-Dist: pydantic>=2
|
|
29
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
30
|
+
Provides-Extra: dev
|
|
31
|
+
Requires-Dist: pytest>=7.2.1; extra == "dev"
|
|
32
|
+
Requires-Dist: pytest-cov>=4.0; extra == "dev"
|
|
33
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == "dev"
|
|
34
|
+
Requires-Dist: mypy>=1.8; extra == "dev"
|
|
35
|
+
Requires-Dist: ruff>=0.2; extra == "dev"
|
|
36
|
+
Requires-Dist: responses>=0.25; extra == "dev"
|
|
37
|
+
Requires-Dist: types-python-dateutil>=2.8.19; extra == "dev"
|
|
38
|
+
Provides-Extra: rdf
|
|
39
|
+
Requires-Dist: rdflib>=7.0.0; extra == "rdf"
|
|
40
|
+
Requires-Dist: pyld>=2.0.4; extra == "rdf"
|
|
41
|
+
Dynamic: license-file
|
|
42
|
+
|
|
43
|
+
# entryscape
|
|
44
|
+
|
|
45
|
+
EntryScape API client for Python - provides access to EntryScape data following DCAT-AP standards
|
|
46
|
+
|
|
47
|
+
[](https://www.python.org/downloads/)
|
|
48
|
+
[](https://www.gnu.org/licenses/lgpl-3.0)
|
|
49
|
+
|
|
50
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
51
|
+
|
|
52
|
+
- API version: 1.4.0
|
|
53
|
+
- Package version: 1.4.0
|
|
54
|
+
- Generator version: 7.22.0
|
|
55
|
+
|
|
56
|
+
For more information, please visit [https://entryscape.com/en/contact-us/](https://entryscape.com/en/contact-us/)
|
|
57
|
+
|
|
58
|
+
## Requirements
|
|
59
|
+
|
|
60
|
+
- Python 3.10+
|
|
61
|
+
- Dependencies are managed via `pyproject.toml`
|
|
62
|
+
|
|
63
|
+
## Installation
|
|
64
|
+
|
|
65
|
+
### From PyPI (recommended)
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
pip install entryscape
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### From a download
|
|
72
|
+
|
|
73
|
+
Every release is also published as `python-sdk.tar.gz` at
|
|
74
|
+
<https://api.entryscape.com/sdk/latest/python-sdk.tar.gz>, for a build that cannot reach
|
|
75
|
+
PyPI or has to vendor its dependencies:
|
|
76
|
+
|
|
77
|
+
The archive has no top-level directory of its own, so unpack it into one:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
mkdir entryscape-python && tar -xzf python-sdk.tar.gz -C entryscape-python
|
|
81
|
+
pip install ./entryscape-python
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Quick Start
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
import entryscape
|
|
88
|
+
from entryscape import ApiException
|
|
89
|
+
|
|
90
|
+
# Configure the client
|
|
91
|
+
configuration = entryscape.Configuration(
|
|
92
|
+
host="http://localhost:8080" # API server URL
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
# Async usage
|
|
96
|
+
import asyncio
|
|
97
|
+
|
|
98
|
+
async def main():
|
|
99
|
+
async with entryscape.ApiClient(configuration) as api_client:
|
|
100
|
+
api = entryscape.CatalogApi(api_client)
|
|
101
|
+
|
|
102
|
+
try:
|
|
103
|
+
# List catalogs from an EntryStore instance
|
|
104
|
+
catalogs = await api.list_catalogs(
|
|
105
|
+
entrystore_host="dev.entryscape.com/store/"
|
|
106
|
+
)
|
|
107
|
+
print(f"Found {catalogs.results} catalogs")
|
|
108
|
+
|
|
109
|
+
for item in catalogs.items or []:
|
|
110
|
+
print(f" - {item.uri}")
|
|
111
|
+
except ApiException as e:
|
|
112
|
+
print(f"API error: {e}")
|
|
113
|
+
|
|
114
|
+
asyncio.run(main())
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## EntryStore Hosts
|
|
118
|
+
|
|
119
|
+
Pass a host string permitted by the API deployment's effective EntryStore allowlist.
|
|
120
|
+
Omit it to use the deployment's configured default. A bare hostname uses `/store/`;
|
|
121
|
+
a host with a base path selects that path. Do not include a URL scheme.
|
|
122
|
+
|
|
123
|
+
```python
|
|
124
|
+
entrystore_host = "dev.entryscape.com/store/"
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Getting Started
|
|
128
|
+
|
|
129
|
+
Please follow the [installation procedure](#installation) and then run the following:
|
|
130
|
+
|
|
131
|
+
```python
|
|
132
|
+
import asyncio
|
|
133
|
+
import os
|
|
134
|
+
|
|
135
|
+
import entryscape
|
|
136
|
+
from entryscape import ApiException
|
|
137
|
+
from pprint import pprint
|
|
138
|
+
|
|
139
|
+
# Defining the host is optional and defaults to https://api.entryscape.com
|
|
140
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
141
|
+
configuration = entryscape.Configuration(
|
|
142
|
+
host = "https://api.entryscape.com"
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
# The client must configure the authentication and authorization parameters
|
|
146
|
+
# in accordance with the API server security policy.
|
|
147
|
+
# Examples for each auth method are provided below, use the example that
|
|
148
|
+
# satisfies your auth use case.
|
|
149
|
+
|
|
150
|
+
# Configure API key authorization: auth_token
|
|
151
|
+
configuration.api_key['auth_token'] = os.environ["API_KEY"]
|
|
152
|
+
|
|
153
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
154
|
+
# configuration.api_key_prefix['auth_token'] = 'Bearer'
|
|
155
|
+
|
|
156
|
+
# Configure API key authorization: auth_header
|
|
157
|
+
configuration.api_key['auth_header'] = os.environ["API_KEY"]
|
|
158
|
+
|
|
159
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
160
|
+
# configuration.api_key_prefix['auth_header'] = 'Bearer'
|
|
161
|
+
|
|
162
|
+
# Configure API key authorization: app_token_header
|
|
163
|
+
configuration.api_key['app_token_header'] = os.environ["API_KEY"]
|
|
164
|
+
|
|
165
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
166
|
+
# configuration.api_key_prefix['app_token_header'] = 'Bearer'
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
async def main():
|
|
170
|
+
# Enter a context with an instance of the API client
|
|
171
|
+
async with entryscape.ApiClient(configuration) as api_client:
|
|
172
|
+
# Create an instance of the API class
|
|
173
|
+
api_instance = entryscape.AppTokenApi(api_client)
|
|
174
|
+
app_token_create_request = {"name":"my-data-app","email":"owner@example.com"} # AppTokenCreateRequest |
|
|
175
|
+
|
|
176
|
+
try:
|
|
177
|
+
# Create app token
|
|
178
|
+
api_response = await api_instance.create_app_token(app_token_create_request)
|
|
179
|
+
print("The response of AppTokenApi->create_app_token:\n")
|
|
180
|
+
pprint(api_response)
|
|
181
|
+
except ApiException as e:
|
|
182
|
+
print("Exception when calling AppTokenApi->create_app_token: %s\n" % e)
|
|
183
|
+
|
|
184
|
+
asyncio.run(main())
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## Documentation for API Endpoints
|
|
189
|
+
|
|
190
|
+
All URIs are relative to *https://api.entryscape.com*. Every endpoint is documented, with request and
|
|
191
|
+
response examples, in the [API reference](https://entryscape.org/api/).
|
|
192
|
+
|
|
193
|
+
Class | Method | HTTP request | Description
|
|
194
|
+
------------ | ------------- | ------------- | -------------
|
|
195
|
+
*AppTokenApi* | **create_app_token** | **POST** /app-token | Create app token
|
|
196
|
+
*AppTokenApi* | **get_app_token** | **GET** /app-token/{app_token_id} | Get app token details
|
|
197
|
+
*AppTokenApi* | **verify_app_token** | **POST** /app-token/verify | Verify app token
|
|
198
|
+
*AuthApi* | **login** | **POST** /auth/login | Log in (start a user session)
|
|
199
|
+
*AuthApi* | **logout** | **POST** /auth/logout | Log out (end the user session)
|
|
200
|
+
*AuthApi* | **whoami** | **GET** /auth/whoami | Current user for the session
|
|
201
|
+
*CatalogApi* | **create_catalog** | **POST** /catalog | Create catalog
|
|
202
|
+
*CatalogApi* | **delete_catalog** | **DELETE** /catalog/{context_id}/{entry_id} | Delete catalog
|
|
203
|
+
*CatalogApi* | **get_catalog** | **GET** /catalog/{context_id}/{entry_id} | Get catalog
|
|
204
|
+
*CatalogApi* | **get_catalog_metadata** | **GET** /catalog/{context_id}/{entry_id}/metadata | Get catalog metadata
|
|
205
|
+
*CatalogApi* | **list_catalog_dataservices** | **GET** /catalog/{context_id}/{entry_id}/dataservices | List data services in catalog
|
|
206
|
+
*CatalogApi* | **list_catalog_datasets** | **GET** /catalog/{context_id}/{entry_id}/datasets | List datasets in catalog
|
|
207
|
+
*CatalogApi* | **list_catalogs** | **GET** /catalog | List catalogs
|
|
208
|
+
*CatalogApi* | **update_catalog_metadata** | **PUT** /catalog/{context_id}/{entry_id}/metadata | Update catalog metadata
|
|
209
|
+
*CatalogApi* | **validate_catalog** | **GET** /catalog/{context_id}/{entry_id}/validate | Validate catalog metadata
|
|
210
|
+
*ContactApi* | **create_contact** | **POST** /contact | Create contact
|
|
211
|
+
*ContactApi* | **delete_contact** | **DELETE** /contact/{context_id}/{entry_id} | Delete contact
|
|
212
|
+
*ContactApi* | **get_contact** | **GET** /contact/{context_id}/{entry_id} | Get contact
|
|
213
|
+
*ContactApi* | **get_contact_metadata** | **GET** /contact/{context_id}/{entry_id}/metadata | Get contact metadata
|
|
214
|
+
*ContactApi* | **list_contacts** | **GET** /contact | List contacts
|
|
215
|
+
*ContactApi* | **update_contact_metadata** | **PUT** /contact/{context_id}/{entry_id}/metadata | Update contact metadata
|
|
216
|
+
*ContactApi* | **validate_contact** | **GET** /contact/{context_id}/{entry_id}/validate | Validate contact metadata
|
|
217
|
+
*DataserviceApi* | **create_data_service** | **POST** /dataservice | Create data service
|
|
218
|
+
*DataserviceApi* | **delete_data_service** | **DELETE** /dataservice/{context_id}/{entry_id} | Delete data service
|
|
219
|
+
*DataserviceApi* | **get_data_service** | **GET** /dataservice/{context_id}/{entry_id} | Get data service
|
|
220
|
+
*DataserviceApi* | **get_data_service_metadata** | **GET** /dataservice/{context_id}/{entry_id}/metadata | Get data service metadata
|
|
221
|
+
*DataserviceApi* | **list_data_services** | **GET** /dataservice | List data services
|
|
222
|
+
*DataserviceApi* | **update_data_service_metadata** | **PUT** /dataservice/{context_id}/{entry_id}/metadata | Update data service metadata
|
|
223
|
+
*DataserviceApi* | **validate_data_service** | **GET** /dataservice/{context_id}/{entry_id}/validate | Validate data service metadata
|
|
224
|
+
*DatasetApi* | **create_dataset** | **POST** /dataset | Create dataset
|
|
225
|
+
*DatasetApi* | **delete_dataset** | **DELETE** /dataset/{context_id}/{entry_id} | Delete dataset
|
|
226
|
+
*DatasetApi* | **get_dataset** | **GET** /dataset/{context_id}/{entry_id} | Get dataset
|
|
227
|
+
*DatasetApi* | **get_dataset_metadata** | **GET** /dataset/{context_id}/{entry_id}/metadata | Get dataset metadata
|
|
228
|
+
*DatasetApi* | **list_dataset_distributions** | **GET** /dataset/{context_id}/{entry_id}/distributions | List distributions for dataset
|
|
229
|
+
*DatasetApi* | **list_datasets** | **GET** /dataset | List datasets
|
|
230
|
+
*DatasetApi* | **update_dataset_metadata** | **PUT** /dataset/{context_id}/{entry_id}/metadata | Update dataset metadata
|
|
231
|
+
*DatasetApi* | **validate_dataset** | **GET** /dataset/{context_id}/{entry_id}/validate | Validate dataset metadata
|
|
232
|
+
*DistributionApi* | **create_distribution** | **POST** /distribution | Create distribution
|
|
233
|
+
*DistributionApi* | **delete_distribution** | **DELETE** /distribution/{context_id}/{entry_id} | Delete distribution
|
|
234
|
+
*DistributionApi* | **get_distribution** | **GET** /distribution/{context_id}/{entry_id} | Get distribution
|
|
235
|
+
*DistributionApi* | **get_distribution_metadata** | **GET** /distribution/{context_id}/{entry_id}/metadata | Get distribution metadata
|
|
236
|
+
*DistributionApi* | **list_distributions** | **GET** /distribution | List distributions
|
|
237
|
+
*DistributionApi* | **update_distribution_metadata** | **PUT** /distribution/{context_id}/{entry_id}/metadata | Update distribution metadata
|
|
238
|
+
*DistributionApi* | **validate_distribution** | **GET** /distribution/{context_id}/{entry_id}/validate | Validate distribution metadata
|
|
239
|
+
*DocumentApi* | **create_document** | **POST** /document | Create document
|
|
240
|
+
*DocumentApi* | **delete_document** | **DELETE** /document/{context_id}/{entry_id} | Delete document
|
|
241
|
+
*DocumentApi* | **get_document** | **GET** /document/{context_id}/{entry_id} | Get document
|
|
242
|
+
*DocumentApi* | **get_document_metadata** | **GET** /document/{context_id}/{entry_id}/metadata | Get document metadata
|
|
243
|
+
*DocumentApi* | **list_documents** | **GET** /document | List documents
|
|
244
|
+
*DocumentApi* | **update_document_metadata** | **PUT** /document/{context_id}/{entry_id}/metadata | Update document metadata
|
|
245
|
+
*IdeaApi* | **create_idea** | **POST** /idea | Create idea
|
|
246
|
+
*IdeaApi* | **delete_idea** | **DELETE** /idea/{context_id}/{entry_id} | Delete idea
|
|
247
|
+
*IdeaApi* | **get_idea** | **GET** /idea/{context_id}/{entry_id} | Get idea
|
|
248
|
+
*IdeaApi* | **get_idea_metadata** | **GET** /idea/{context_id}/{entry_id}/metadata | Get idea metadata
|
|
249
|
+
*IdeaApi* | **list_ideas** | **GET** /idea | List ideas
|
|
250
|
+
*IdeaApi* | **update_idea_metadata** | **PUT** /idea/{context_id}/{entry_id}/metadata | Update idea metadata
|
|
251
|
+
*JobApi* | **get_job_status** | **GET** /job/{job_id} | Get job status
|
|
252
|
+
*ModelApi* | **create_model** | **POST** /model | Create model
|
|
253
|
+
*ModelApi* | **delete_model** | **DELETE** /model/{context_id} | Delete model
|
|
254
|
+
*ModelApi* | **get_model** | **GET** /model/{context_id} | Get model
|
|
255
|
+
*ModelApi* | **get_model_metadata** | **GET** /model/{context_id}/metadata | Get model metadata
|
|
256
|
+
*ModelApi* | **list_models** | **GET** /model | List models
|
|
257
|
+
*ModelApi* | **update_model_metadata** | **PUT** /model/{context_id}/metadata | Update model metadata
|
|
258
|
+
*ModelClassApi* | **create_model_class** | **POST** /model/{context_id}/classes | Create model class
|
|
259
|
+
*ModelClassApi* | **delete_model_class** | **DELETE** /model/{context_id}/classes/{entry_id} | Delete model class
|
|
260
|
+
*ModelClassApi* | **get_model_class** | **GET** /model/{context_id}/classes/{entry_id} | Get model class
|
|
261
|
+
*ModelClassApi* | **get_model_class_metadata** | **GET** /model/{context_id}/classes/{entry_id}/metadata | Get model class metadata
|
|
262
|
+
*ModelClassApi* | **list_model_classes** | **GET** /model/{context_id}/classes | List model classes
|
|
263
|
+
*ModelClassApi* | **update_model_class_metadata** | **PUT** /model/{context_id}/classes/{entry_id}/metadata | Update model class metadata
|
|
264
|
+
*ModelDiagramApi* | **create_model_diagram** | **POST** /model/{context_id}/diagrams | Create model diagram
|
|
265
|
+
*ModelDiagramApi* | **delete_model_diagram** | **DELETE** /model/{context_id}/diagrams/{entry_id} | Delete model diagram
|
|
266
|
+
*ModelDiagramApi* | **get_model_diagram** | **GET** /model/{context_id}/diagrams/{entry_id} | Get model diagram
|
|
267
|
+
*ModelDiagramApi* | **get_model_diagram_metadata** | **GET** /model/{context_id}/diagrams/{entry_id}/metadata | Get model diagram metadata
|
|
268
|
+
*ModelDiagramApi* | **list_model_diagrams** | **GET** /model/{context_id}/diagrams | List model diagrams
|
|
269
|
+
*ModelDiagramApi* | **update_model_diagram_metadata** | **PUT** /model/{context_id}/diagrams/{entry_id}/metadata | Update model diagram metadata
|
|
270
|
+
*ModelFieldApi* | **create_model_field** | **POST** /model/{context_id}/fields | Create model field
|
|
271
|
+
*ModelFieldApi* | **delete_model_field** | **DELETE** /model/{context_id}/fields/{entry_id} | Delete model field
|
|
272
|
+
*ModelFieldApi* | **get_model_field** | **GET** /model/{context_id}/fields/{entry_id} | Get model field
|
|
273
|
+
*ModelFieldApi* | **get_model_field_metadata** | **GET** /model/{context_id}/fields/{entry_id}/metadata | Get model field metadata
|
|
274
|
+
*ModelFieldApi* | **list_model_fields** | **GET** /model/{context_id}/fields | List model fields
|
|
275
|
+
*ModelFieldApi* | **update_model_field_metadata** | **PUT** /model/{context_id}/fields/{entry_id}/metadata | Update model field metadata
|
|
276
|
+
*ModelFormApi* | **create_model_form** | **POST** /model/{context_id}/forms | Create model form
|
|
277
|
+
*ModelFormApi* | **delete_model_form** | **DELETE** /model/{context_id}/forms/{entry_id} | Delete model form
|
|
278
|
+
*ModelFormApi* | **get_model_form** | **GET** /model/{context_id}/forms/{entry_id} | Get model form
|
|
279
|
+
*ModelFormApi* | **get_model_form_metadata** | **GET** /model/{context_id}/forms/{entry_id}/metadata | Get model form metadata
|
|
280
|
+
*ModelFormApi* | **list_model_forms** | **GET** /model/{context_id}/forms | List model forms
|
|
281
|
+
*ModelFormApi* | **update_model_form_metadata** | **PUT** /model/{context_id}/forms/{entry_id}/metadata | Update model form metadata
|
|
282
|
+
*ModelNamespaceApi* | **create_model_namespace** | **POST** /model/{context_id}/namespaces | Create model namespace
|
|
283
|
+
*ModelNamespaceApi* | **delete_model_namespace** | **DELETE** /model/{context_id}/namespaces/{entry_id} | Delete model namespace
|
|
284
|
+
*ModelNamespaceApi* | **get_model_namespace** | **GET** /model/{context_id}/namespaces/{entry_id} | Get model namespace
|
|
285
|
+
*ModelNamespaceApi* | **get_model_namespace_metadata** | **GET** /model/{context_id}/namespaces/{entry_id}/metadata | Get model namespace metadata
|
|
286
|
+
*ModelNamespaceApi* | **list_model_namespaces** | **GET** /model/{context_id}/namespaces | List model namespaces
|
|
287
|
+
*ModelNamespaceApi* | **update_model_namespace_metadata** | **PUT** /model/{context_id}/namespaces/{entry_id}/metadata | Update model namespace metadata
|
|
288
|
+
*ModelPropertyApi* | **create_model_property** | **POST** /model/{context_id}/properties | Create model property
|
|
289
|
+
*ModelPropertyApi* | **delete_model_property** | **DELETE** /model/{context_id}/properties/{entry_id} | Delete model property
|
|
290
|
+
*ModelPropertyApi* | **get_model_property** | **GET** /model/{context_id}/properties/{entry_id} | Get model property
|
|
291
|
+
*ModelPropertyApi* | **get_model_property_metadata** | **GET** /model/{context_id}/properties/{entry_id}/metadata | Get model property metadata
|
|
292
|
+
*ModelPropertyApi* | **list_model_properties** | **GET** /model/{context_id}/properties | List model properties
|
|
293
|
+
*ModelPropertyApi* | **update_model_property_metadata** | **PUT** /model/{context_id}/properties/{entry_id}/metadata | Update model property metadata
|
|
294
|
+
*OrganizationApi* | **create_organization** | **POST** /organization | Create organization
|
|
295
|
+
*OrganizationApi* | **delete_organization** | **DELETE** /organization/{context_id}/{entry_id} | Delete organization
|
|
296
|
+
*OrganizationApi* | **get_organization** | **GET** /organization/{context_id}/{entry_id} | Get organization
|
|
297
|
+
*OrganizationApi* | **get_organization_metadata** | **GET** /organization/{context_id}/{entry_id}/metadata | Get organization metadata
|
|
298
|
+
*OrganizationApi* | **list_organizations** | **GET** /organization | List organizations
|
|
299
|
+
*OrganizationApi* | **update_organization_metadata** | **PUT** /organization/{context_id}/{entry_id}/metadata | Update organization metadata
|
|
300
|
+
*OrganizationApi* | **validate_organization** | **GET** /organization/{context_id}/{entry_id}/validate | Validate organization metadata
|
|
301
|
+
*SearchApi* | **advanced_search** | **POST** /search | Advanced search
|
|
302
|
+
*SearchApi* | **get_search_facets** | **GET** /search/facets | Get available facet fields
|
|
303
|
+
*SearchApi* | **search** | **GET** /search | Search entries
|
|
304
|
+
*ShowcaseApi* | **create_showcase** | **POST** /showcase | Create showcase
|
|
305
|
+
*ShowcaseApi* | **delete_showcase** | **DELETE** /showcase/{context_id}/{entry_id} | Delete showcase
|
|
306
|
+
*ShowcaseApi* | **get_showcase** | **GET** /showcase/{context_id}/{entry_id} | Get showcase
|
|
307
|
+
*ShowcaseApi* | **get_showcase_metadata** | **GET** /showcase/{context_id}/{entry_id}/metadata | Get showcase metadata
|
|
308
|
+
*ShowcaseApi* | **list_showcases** | **GET** /showcase | List showcases
|
|
309
|
+
*ShowcaseApi* | **update_showcase_metadata** | **PUT** /showcase/{context_id}/{entry_id}/metadata | Update showcase metadata
|
|
310
|
+
*SuggestionApi* | **create_suggestion** | **POST** /suggestion | Create suggestion
|
|
311
|
+
*SuggestionApi* | **delete_suggestion** | **DELETE** /suggestion/{context_id}/{entry_id} | Delete suggestion
|
|
312
|
+
*SuggestionApi* | **get_suggestion** | **GET** /suggestion/{context_id}/{entry_id} | Get suggestion
|
|
313
|
+
*SuggestionApi* | **get_suggestion_metadata** | **GET** /suggestion/{context_id}/{entry_id}/metadata | Get suggestion metadata
|
|
314
|
+
*SuggestionApi* | **list_suggestions** | **GET** /suggestion | List suggestions
|
|
315
|
+
*SuggestionApi* | **update_suggestion_metadata** | **PUT** /suggestion/{context_id}/{entry_id}/metadata | Update suggestion metadata
|
|
316
|
+
*TerminologyApi* | **delete_terminology** | **DELETE** /terminology/{context_id} | Delete terminology
|
|
317
|
+
*TerminologyApi* | **get_terminology** | **GET** /terminology/{context_id} | Get terminology
|
|
318
|
+
*TerminologyApi* | **import_terminology** | **POST** /terminology/import | Import SKOS terminology
|
|
319
|
+
*TerminologyApi* | **list_terminologies** | **GET** /terminology | List terminologies
|
|
320
|
+
*UploadApi* | **add_file_to_distribution** | **POST** /distribution/addFile | Add file to distribution
|
|
321
|
+
*UploadApi* | **replace_file_in_distribution** | **POST** /distribution/replaceFile | Replace file in distribution
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
## Documentation For Models
|
|
325
|
+
|
|
326
|
+
- `AppToken`
|
|
327
|
+
- `AppTokenCreateRequest`
|
|
328
|
+
- `AppTokenCreateResponse`
|
|
329
|
+
- `AppTokenStatus`
|
|
330
|
+
- `AppTokenVerifyRequest`
|
|
331
|
+
- `EntityListItem`
|
|
332
|
+
- `EntityListResponse`
|
|
333
|
+
- `EntityReference`
|
|
334
|
+
- `EntityType`
|
|
335
|
+
- `Error`
|
|
336
|
+
- `FacetField`
|
|
337
|
+
- `FacetFieldValuesInner`
|
|
338
|
+
- `FacetList`
|
|
339
|
+
- `FacetListAvailableInner`
|
|
340
|
+
- `JobResponse`
|
|
341
|
+
- `JobStatus`
|
|
342
|
+
- `JobStatusProgress`
|
|
343
|
+
- `JobStatusValue`
|
|
344
|
+
- `JobType`
|
|
345
|
+
- `ListCatalogsEntryTypeParameter`
|
|
346
|
+
- `ListCatalogsGraphTypeParameter`
|
|
347
|
+
- `ListCatalogsResourceTypeParameter`
|
|
348
|
+
- `LoginRequest`
|
|
349
|
+
- `LoginResponse`
|
|
350
|
+
- `MetadataFormat`
|
|
351
|
+
- `MetadataRequest`
|
|
352
|
+
- `ParentReference`
|
|
353
|
+
- `SearchRequest`
|
|
354
|
+
- `SearchRequestFilters`
|
|
355
|
+
- `SearchRequestFiltersGraphType`
|
|
356
|
+
- `SearchRequestFiltersResourceType`
|
|
357
|
+
- `SearchRequestSort`
|
|
358
|
+
- `SearchRequestSortOrder`
|
|
359
|
+
- `SearchResponse`
|
|
360
|
+
- `SearchResult`
|
|
361
|
+
- `SearchResultGraphType`
|
|
362
|
+
- `SearchResultResourceType`
|
|
363
|
+
- `SearchSortOrderParameter`
|
|
364
|
+
- `TerminologyImportMode`
|
|
365
|
+
- `ValidationProfile`
|
|
366
|
+
- `ValidationResponse`
|
|
367
|
+
- `ValidationResult`
|
|
368
|
+
- `ValidationSeverity`
|
|
369
|
+
- `ValidationSummary`
|
|
370
|
+
- `WhoamiResponse`
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
<a id="documentation-for-authorization"></a>
|
|
374
|
+
## Documentation For Authorization
|
|
375
|
+
|
|
376
|
+
Authentication schemes defined for the API:
|
|
377
|
+
<a id="auth_token"></a>
|
|
378
|
+
### auth_token
|
|
379
|
+
|
|
380
|
+
- **Type**: API key
|
|
381
|
+
- **API key parameter name**: auth_token
|
|
382
|
+
- **Location**: Cookie
|
|
383
|
+
|
|
384
|
+
<a id="auth_header"></a>
|
|
385
|
+
### auth_header
|
|
386
|
+
|
|
387
|
+
- **Type**: API key
|
|
388
|
+
- **API key parameter name**: X-Auth-Token
|
|
389
|
+
- **Location**: HTTP header
|
|
390
|
+
|
|
391
|
+
<a id="app_token_header"></a>
|
|
392
|
+
### app_token_header
|
|
393
|
+
|
|
394
|
+
- **Type**: API key
|
|
395
|
+
- **API key parameter name**: X-App-Token
|
|
396
|
+
- **Location**: HTTP header
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
## Author
|
|
400
|
+
|
|
401
|
+
contact@entryscape.com
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
## Examples
|
|
405
|
+
|
|
406
|
+
Complete runnable examples are under `examples/` in the
|
|
407
|
+
[download](https://api.entryscape.com/sdk/latest/python-sdk.tar.gz) described above:
|
|
408
|
+
|
|
409
|
+
| Example | Description |
|
|
410
|
+
|---------|-------------|
|
|
411
|
+
| `quickstart` | Minimal hello-world — configure SDK, list catalogs |
|
|
412
|
+
| `browse-catalog` | Navigate DCAT-AP hierarchy: catalogs → datasets → distributions |
|
|
413
|
+
| `search` | Simple search, advanced search, and faceted search |
|
|
414
|
+
| `file-upload` | Upload/replace files with async job tracking |
|
|
415
|
+
| `explore-entities` | Browse organizations, contacts, ideas, suggestions, showcases, documents |
|
|
416
|
+
|
|
417
|
+
See also: [Generated API docs](https://entryscape.org/api-wip) — per-endpoint documentation with inline code samples
|
|
418
|
+
|
|
419
|
+
## License
|
|
420
|
+
|
|
421
|
+
This project is licensed under the GNU Lesser General Public License v3.0 or later - see
|
|
422
|
+
LICENSE.txt for details.
|