当前位置:网站首页>Chapter 20 Source Code File REST API Reference (2)
Chapter 20 Source Code File REST API Reference (2)
2022-08-08 16:49:00 【yaoxin521123】
文章目录
第二十章 源代码文件 REST API 参考(二)
GetMetaData
This method returns the named database METADATA.zip
文件的二进制内容. Atelier
Use this file to store indexing information,in order to preserve this information for future sessions.
URL
GET http://server:port/api/atelier/v1/%25SYS/metadata/database
注意:因为 %
是 URL
特殊字符,So specify text %
,must be followed by 25
(Hexadecimal code for the percent character).因此,必须使用 %25SYS
to specify text %SYS
.
HTTP 返回码
HTTP 200
如果正常.- If the source code file does not exist,则返回
HTTP 404
. HTTP 500
If an unexpected error occurs(Details will be in the status error array).
GetCSPApps
This method returns the definitions defined on the server or for the specified namespace on the server Web
应用程序列表.
URL
GET http://server:port/api/atelier/v1/%25SYS/cspapps
GET http://server:port/api/atelier/v1/%25SYS/cspapps/namespace
其中:
namespace
Specifies the name of the namespace.如果未指定命名空间,then this method returns all namespaces Web
应用程序.
注意:因为 %
是 URL
特殊字符,So specify text %
,must be followed by 25
(Hexadecimal code for the percent character).因此,必须使用 %25SYS
to specify text %SYS
.
URL Parameters
可以传递 URL
参数 ?detail=1
to return an array containing objects describing the application in more detail.
JSON Messages
What is returned below is a list of already defined Web
An array of applications:
{
"status": {
"errors": [],
"summary": ""
},
"console": [],
"result": {
"content": [
"/csp/broker",
"/csp/documatic",
"/csp/sys",
"/csp/sys/exp",
"/csp/sys/mgr",
"/csp/sys/op",
"/csp/sys/sec",
"/isc/studio/rules",
"/isc/studio/templates",
"/isc/studio/usertemplates",
"/csp/user"
]
}
}
以下是 detail=1
the same return content:
{
"status": {
"errors": [],
"summary": ""
},
"console": [],
"result": {
"content": [
{
"name": "/csp/broker",
"default": false
},
{
"name": "/csp/documatic",
"default": false
},
{
"name": "/csp/sys",
"default": true
},
{
"name": "/csp/sys/exp",
"default": false
},
{
"name": "/csp/sys/mgr",
"default": false
},
{
"name": "/csp/sys/op",
"default": false
},
{
"name": "/csp/sys/sec",
"default": false
},
{
"name": "/isc/studio/rules",
"default": false
},
{
"name": "/isc/studio/templates",
"default": false
},
{
"name": "/isc/studio/usertemplates",
"default": false
},
{
"name": "/csp/user",
"default": true
}
]
}
}
HTTP 返回码
HTTP 200
如果正常.HTTP 500
If an unexpected error occurs(Details will be in the status error array).
GetNamespace
This method returns information about a specific namespace.
URL
GET http://server:port/api/atelier/v1/namespace
JSON Messages
Following are the namespacesUSER
return content information:
{
"status": {
"errors": [],
"summary": ""
},
"console": [],
"result": {
"content": {
"name": "USER",
"db": [
{
"name": "USER",
"crhash": "3A1A0E8B6C8",
"default": true,
"dbsys": false
},
{
"name": "IRISLIB",
"crhash": "A56AAA8D5418",
"default": false,
"dbsys": true
},
{
"name": "IRISLOCALDATA",
"crhash": "3A1A0551876",
"default": false,
"dbsys": false
},
{
"name": "IRISSYS",
"crhash": "3A19FFD2EF0",
"default": false,
"dbsys": true
}
],
"features": [
{
"name": "ENSEMBLE",
"enabled": false
}
]
}
}
}
HTTP 返回码
HTTP 200
如果正常.HTTP 500
If an unexpected error occurs(Details will be in the status error array).
边栏推荐
- Obtain - 64 [chances] : the soldier, subtlety also - 5 - read sun tzu - melee meter
- bzoj1097 [POI2007]旅游景点atr
- MySQL中常见的内些...啥
- bzoj5063 旅游
- Patience sorting - specializing in quickly solving the longest increasing subarray
- 【数学模型】TOPSIS
- [深入研究4G/5G/6G专题-54]: L3信令控制-3-软件功能与流程的切分-CU-UP网元的信令
- D. Non-zero Segments
- ESP8266-Arduino编程实例-ADXL345三轴加速计驱动
- 题目:有序队列
猜你喜欢
ctfshow七夕杯复现
【LeetCode】Exam Summary: Depth-First Search (DFS)
Patience sorting - specializing in quickly solving the longest increasing subarray
linux安装部署redis&配置远程连接
五、jmeter脚本的基本构成&断言
它们不一样!透析【观察者模式】和【发布订阅模式】
二、pytest+selenium+allure实现web ui自动化
leetcode:296.最佳的碰头地点
【20210923】选择感兴趣的研究方向?
用完华为云会议解决方案,我直接卸载了之前的会议软件【华为云至简致远】
随机推荐
看到这个应用上下线方式,不禁感叹:优雅,太优雅了!
基于华为云ModelArts的水表读数识别开发实践【华为云至简致远】
MVCC,主要是为了做什么?
ERROR Failed to compile with 1 error
linux安装部署redis&配置远程连接
leetcode:296.最佳的碰头地点
3 个开源项目,让你感受程序员的浪漫!
使用 PyGame 的冒泡排序可视化工具
【uniapp小程序】视图容器cover-view
【入门PCB】立创eda的学习
永续合约交易所系统开发逻辑详情
使用 Pygame 构建和可视化数独游戏
laravel数据库: 查询构造器
谈谈怎么可以得到显著性图 特征图 featuremap
智能指针学习笔记
Patience sorting - specializing in quickly solving the longest increasing subarray
[机缘参悟-64]:《兵者,诡道也》-5-孙子兵法解读-混战计
redis设计与实现 笔记(一)
leetcode 155. Min Stack最小栈(中等)
GHOST工具访问数据库