# datameta-client-lib
DataMeta
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 0.12.0
- Package version: 0.10.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
## Requirements.
Python >= 3.6
## Installation & Usage
### pip install
If the python package is hosted on a repository, you can install directly using:
```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
Then import the package:
```python
import datameta_client_lib
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import datameta_client_lib
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
import time
import datameta_client_lib
from pprint import pprint
from datameta_client_lib.api import authentication_and_users_api
from datameta_client_lib.model.api_key_list import ApiKeyList
from datameta_client_lib.model.create_token_request import CreateTokenRequest
from datameta_client_lib.model.error_model import ErrorModel
from datameta_client_lib.model.password_change import PasswordChange
from datameta_client_lib.model.user_session import UserSession
from datameta_client_lib.model.user_update_request import UserUpdateRequest
# Defining the host is optional and defaults to https://raw.githubusercontent.com/api/v0
# See configuration.py for a list of all supported configuration parameters.
configuration = datameta_client_lib.Configuration(
host = "https://raw.githubusercontent.com/api/v0"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: bearerAuth
configuration = datameta_client_lib.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with datameta_client_lib.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentication_and_users_api.AuthenticationAndUsersApi(api_client)
create_token_request = CreateTokenRequest(
email="email_example",
password="password_example",
label="label_example",
expires="expires_example",
) # CreateTokenRequest | Credentials to use (optional when using cookie sessions), a label for the ApiKey to be created and the date it expires. (optional)
try:
# Create new API Key/Token
api_response = api_instance.create_api_key(create_token_request=create_token_request)
pprint(api_response)
except datameta_client_lib.ApiException as e:
print("Exception when calling AuthenticationAndUsersApi->create_api_key: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *https://raw.githubusercontent.com/api/v0*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AuthenticationAndUsersApi* | [**create_api_key**](docs/AuthenticationAndUsersApi.md#create_api_key) | **POST** /keys | Create new API Key/Token
*AuthenticationAndUsersApi* | [**delete_api_key**](docs/AuthenticationAndUsersApi.md#delete_api_key) | **DELETE** /keys/{id} | Delete ApiKey by label
*AuthenticationAndUsersApi* | [**get_user_api_keys**](docs/AuthenticationAndUsersApi.md#get_user_api_keys) | **GET** /users/{id}/keys | All API keys for a user
*AuthenticationAndUsersApi* | [**set_user_password**](docs/AuthenticationAndUsersApi.md#set_user_password) | **PUT** /users/{id}/password | Update a user's password
*AuthenticationAndUsersApi* | [**user_update_request**](docs/AuthenticationAndUsersApi.md#user_update_request) | **PUT** /users/{id} | Update a user's credentials and status
*FilesApi* | [**create_file**](docs/FilesApi.md#create_file) | **POST** /files | Create a New File
*FilesApi* | [**delete_file**](docs/FilesApi.md#delete_file) | **DELETE** /files/{id} | Delete Not-Submitted File
*FilesApi* | [**get_file**](docs/FilesApi.md#get_file) | **GET** /files/{id} | Get Details for A File
*FilesApi* | [**update_file**](docs/FilesApi.md#update_file) | **PUT** /files/{id} | Update File Details
*GroupsApi* | [**change_group_name**](docs/GroupsApi.md#change_group_name) | **PUT** /groups/{id} | Change the name of a group.
*GroupsApi* | [**get_group_submissions**](docs/GroupsApi.md#get_group_submissions) | **GET** /groups/{id}/submissions | Get A List of All Submissions of A Group.
*MetadataApi* | [**create_meta_data_set**](docs/MetadataApi.md#create_meta_data_set) | **POST** /metadatasets | Create a New MetaDataSet
*MetadataApi* | [**create_meta_datum**](docs/MetadataApi.md#create_meta_datum) | **POST** /metadata | Create a New MetaDatum
*MetadataApi* | [**delete_metadata_set**](docs/MetadataApi.md#delete_metadata_set) | **DELETE** /metadatasets/{id} | Delete Not-Submitted Metadataset
*MetadataApi* | [**get_meta_data**](docs/MetadataApi.md#get_meta_data) | **GET** /metadata | Get metadata definitions
*MetadataApi* | [**get_meta_data_set**](docs/MetadataApi.md#get_meta_data_set) | **GET** /metadatasets/{id} | Get Details for a MetaDataSet
*MetadataApi* | [**update_meta_datum**](docs/MetadataApi.md#update_meta_datum) | **PUT** /metadata/{id} | Update a MetaDatum
*RemoteProcedureCallsApi* | [**bulk_delete_staged_files**](docs/RemoteProcedureCallsApi.md#bulk_delete_staged_files) | **POST** /rpc/delete-files | Bulk-delete Staged Files
*RemoteProcedureCallsApi* | [**bulk_delete_staged_meta_data_sets**](docs/RemoteProcedureCallsApi.md#bulk_delete_staged_meta_data_sets) | **POST** /rpc/delete-metadatasets | Bulk-delete Staged MetaDataSets
*RemoteProcedureCallsApi* | [**get_user_information**](docs/RemoteProcedureCallsApi.md#get_user_information) | **GET** /rpc/whoami | [Not RESTful]: Returns information about the authenticated user
*SettingsApi* | [**app_settings**](docs/SettingsApi.md#app_settings) | **GET** /appsettings | GET all AppSettings
*SettingsApi* | [**update_app_settings**](docs/SettingsApi.md#update_app_settings) | **PUT** /appsettings/{id} | Update a specific appsetting. This is an administrative Endpoint that is not accessible for regular users.
*SubmissionsApi* | [**create_submission**](docs/SubmissionsApi.md#create_submission) | **POST** /submissions | Create a New Submission
*SubmissionsApi* | [**get_group_submissions**](docs/SubmissionsApi.md#get_group_submissions) | **GET** /groups/{id}/submissions | Get A List of All Submissions of A Group.
*SubmissionsApi* | [**prevalidate_submission**](docs/SubmissionsApi.md#prevalidate_submission) | **POST** /presubvalidation | Pre-validate a submission
## Documentation For Models
- [ApiKeyList](docs/ApiKeyList.md)
- [AppSettingsResponse](docs/AppSettingsResponse.md)
- [AppSettingsUpdateRequest](docs/AppSettingsUpdateRequest.md)
- [CreateTokenRequest](docs/CreateTokenRequest.md)
- [Error](docs/Error.md)
- [ErrorModel](docs/ErrorModel.md)
- [FileAnnouncement](docs/FileAnnouncement.md)
- [FileResponse](docs/FileResponse.md)
- [FileUpdateRequest](docs/FileUpdateRequest.md)
- [FileUploadResponse](docs/FileUploadResponse.md)
- [GroupSubmissions](docs/GroupSubmissions.md)
- [GroupUpdateRequest](docs/GroupUpdateRequest.md)
- [Identifier](docs/Identifier.md)
- [MetaDataResponse](docs/MetaDataResponse.md)
- [MetaDataSet](docs/MetaDataSet.md)
- [MetaData
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
最新资源
- Call The Roll.zip
- java课程设计-基于SSM框架的酒店客房管理系统源码+数据库脚本
- 9013,8550等SPICE模型
- 基于大数据、人工智能的招聘大数据分析展示系统-前端可视化.zip
- 具有执行器饱和及故障的航天器姿态主动容错控制;容错控制;航天器姿态;执行器故障及饱和
- (2025)Microsoft.WorldLockingTools插件Unity版本v2.7.3完整版(包括四个包)
- comsol复合材料各向异性相场模型,采用固体力学、亥姆霍兹pde接口,各向异性断裂能,提供mph文件
- matlab仿真,级联h桥储能变流器,下垂控制离网运行仿真,vsg控制,同步发电机控制,离网模式并网模式下均可以运行,可以实现预同步,实现平滑并网
- Flink流批一体数据处理快速集成开发框架 不仅能够快速构建基于Java的Flink流批一体应用程序,实现异构数据库实时同步和ETL,还可以让Flink SQL变得极其简单,玩转Flink
- 复旦大数据学院课程作业人工智能,分布式系统,自然语言处理,高级大数据解析,计算机网络,数据可视化.zip
- 单极倍频载波移相调制matlab仿真,9级联,19电平
- (2025)Unity图像识别包 OpenCV for Unity 2.6.0
- 大数据分析屏01234.zip
- Openmetadata之1.6.1最新版本安装-yellowcong
- 基于非奇异终端滑模控制的二自由度机械臂系统 1理论说明文档:进行机械臂轨迹跟踪控制器理论设计说明 2NTSMC控制:是通过引入非线性辅助项,将滑模控制器的终端项从奇异点(可能导致系统决策和切问
- 大数据存储与管理 (华中科技大学计算机科学与技术学院).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈