ServiceApi
Provides a unified entry for managing Angus series application services and associated apis
Synchronize the swagger apis from AngusDiscovery specified service instance
Add the apis to service
POST
/api/v1/service/api
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
请求体
application/json
JSON
[
{
"serviceId": 1,
"name": "Add user api",
"code": "user:add",
"uri": "/api/v1/user",
"method": "POST",
"type": "API",
"description": "string",
"resourceName": "user",
"enabled": "true"
}
]
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Synchronize the all swagger apis from AngusDiscovery service instances
Query the list of service
Delete the apis of service
DELETE
/api/v1/service/{id}/api
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
id*
Service id
类型integer
必填format
"int64"
查询参数
ids*
类型array
必填maxItems
200
minItems
0
uniqueItems
true
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}