统一身份认证
  1. 2.服务管理
统一身份认证
3.0
  • 3.0
  • 公开接口
    • 3.0接口说明
    • OpenAPI
      • 概述
        THRIFT
      • 1.人员管理
        • 批量获取人员数据
        • 获取单个人员数据
        • 添加单个人员数据
        • 修改单个人员数据
        • 删除单个人员数据
        • 批量获取人员照片
        • 获取单个人员照片
        • 基本代码
        • 人员类型代码
        • 组织机构代码
      • 2.服务管理
        • 获取服务列表数据
          GET
        • 批量删除服务数据
          DELETE
        • 获取单个服务数据
          GET
        • 添加单个服务数据
          POST
        • 修改单个服务数据
          PUT
        • 删除单个服务数据
          DELETE
        • 获取服务列表数据(LDAP)
          GET
        • 批量删除服务数据(LDAP)
          DELETE
        • 获取单个服务数据(LDAP)
          GET
        • 添加单个服务数据(LDAP)
          POST
        • 修改单个服务数据(LDAP)
          PUT
        • 删除单个服务数据(LDAP)
          DELETE
        • 返回属性代码
          GET
        • 黑白名单标签代码
          GET
      • 3.资源管理
        • 图像资源
      • 获取TOKEN
        GET
      • DEMO
        GET
    • 登录过程接口
      • CAS协议-登录接口
      • CAS协议-票据验证接口
      • 登出接口
      • 用户身份切换
      • SAML1.1协议-登录接口
      • SAML1.1协议-票据验证接口
      • 单点登出接口
    • RestfulApi
      • 第一步 获取tickets
      • 第二步 获取ST
      • 第三部获取用户信息
  1. 2.服务管理

获取服务列表数据

GET
/openapi/v3/services/load

请求参数

Authorization
在 header 添加参数
token
示例:
token: ********************

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://m1.apifoxmock.com/m1/5513456-0-default/openapi/v3/services/load' \
--header 'token: <api-key>'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "data": [
        {
            "id": 0,
            "name": "string",
            "service_id": "string",
            "service_type": "string",
            "order": 0,
            "enabled": true,
            "enabled_sso": true,
            "multifactor_status": "string",
            "multifactor_method": "string",
            "multifactor_tags": "string",
            "expiration_date": "string",
            "description": "string",
            "allowed_attributes": [
                "string"
            ],
            "authorized_torelease_proxy_granting_ticket": true,
            "proxy_policy": "string",
            "proxy_policy_pattern": "string",
            "restfuls": [
                "string"
            ],
            "contacts": [
                {
                    "name": "string",
                    "schoolid": "string",
                    "phone": "string",
                    "email": "string",
                    "department": "string"
                }
            ],
            "white_tags": [
                {
                    "tagid": 0,
                    "valid_until": true,
                    "start_date": "string",
                    "end_date": "string"
                }
            ],
            "black_tags": [
                {
                    "tagid": 0,
                    "valid_until": true,
                    "start_date": "string",
                    "end_date": "string"
                }
            ],
            "appid": "string",
            "appsecert": "string",
            "created_by": "string",
            "created_date": "string",
            "last_modified_by": "string",
            "last_modified_date": "string"
        }
    ],
    "description": "string"
}
修改于 2024-11-27 02:59:54
上一页
组织机构代码
下一页
批量删除服务数据
Built with