同步操作将从 好雨科技/appstore-sdk-python 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Resource for managing app-server
This Python package is automatically generated by the OpenAPI Generator project:
Python 2.7 and 3.4+
If the python package is hosted on a repository, you can install directly using:
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:
import openapi_client
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import openapi_client
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://127.0.0.1:8080
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
host = "http://127.0.0.1:8080"
)
# 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 API key authorization: api_key
configuration = openapi_client.Configuration(
host = "http://127.0.0.1:8080",
api_key = {
'Authorization': 'YOUR_API_KEY'
}
)
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = openapi_client.MarketOpenapiApi(api_client)
try:
# 可绑定的商店列表
api_response = api_instance.bindable_markets()
pprint(api_response)
except ApiException as e:
print("Exception when calling MarketOpenapiApi->bindable_markets: %s\n" % e)
All URIs are relative to http://127.0.0.1:8080
Class | Method | HTTP request | Description |
---|---|---|---|
MarketOpenapiApi | bindable_markets | GET /app-server/openapi/bindablemarkets | 可绑定的商店列表 |
MarketOpenapiApi | create_app | POST /app-server/openapi/apps | create an app model |
MarketOpenapiApi | create_app_version | POST /app-server/openapi/apps/{appID}/versions | post an app version |
MarketOpenapiApi | get_app_hub_info | GET /app-server/openapi/apps/{appID}/apphubinfo | get app image save info |
MarketOpenapiApi | get_market_info | GET /app-server/openapi/info | get mrket info |
MarketOpenapiApi | get_user_app_detail | GET /app-server/openapi/apps/{appID} | Query the specified application details |
MarketOpenapiApi | get_user_app_list | GET /app-server/openapi/apps | A list of installable applications |
MarketOpenapiApi | get_user_app_version_detail | GET /app-server/openapi/apps/{appID}/versions/{version} | Query the specified version details of the specified application |
MarketOpenapiApi | get_user_app_versions | GET /app-server/openapi/apps/{appID}/versions | Query the specified application version list |
MarketOpenapiApi | update_app | PUT /app-server/openapi/apps/{appID} | update app model base info |
RegistryApiApi | do_auth | GET /app-server/v1/registry/auth | image registry auth server |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。