superset-interface

栏目: 数据库 · 发布时间: 8年前

内容简介:superset-interface

目录

主要接口

    • 作用:
      • 添加数据库(最终存到元数据库的dbs表中)
    • 请求方法:
      • POST
    • 请求头:
      • Content-Type:multipart/form-data; boundary=${boundary}
    • 请求体:
------WebKitFormBoundary73C6tZ1Q2MKABmmn
Content-Disposition: form-data; name="csrf_token"

IjliYjdlMGExOTU4YjFlMTAzNjFlNTc0ZDI4Yzc5ZmZiNGM0NjQ2MmIi.DCT5dg.7NKxs3LNYgGERwhQEY49jysHew0  
------WebKitFormBoundary73C6tZ1Q2MKABmmn
Content-Disposition: form-data; name="database_name"

111  
------WebKitFormBoundary73C6tZ1Q2MKABmmn
Content-Disposition: form-data; name="sqlalchemy_uri"

222  
------WebKitFormBoundary73C6tZ1Q2MKABmmn
Content-Disposition: form-data; name="cache_timeout"


------WebKitFormBoundary73C6tZ1Q2MKABmmn
Content-Disposition: form-data; name="extra"

{
    "metadata_params": {},
    "engine_params": {}
}

------WebKitFormBoundary73C6tZ1Q2MKABmmn
Content-Disposition: form-data; name="allow_run_sync"

y  
------WebKitFormBoundary73C6tZ1Q2MKABmmn
Content-Disposition: form-data; name="force_ctas_schema"


------WebKitFormBoundary73C6tZ1Q2MKABmmn--
    • 作用:
      • 添加数据表
    • 说明
      • 添加的数据表最终会被保存到元数据的tables表中
      • 添加表的时候,会将表中的
    • 请求方法:
      • POST
    • 请求头:
      • Content-Type:multipart/form-data; boundary=${boundary}
    • 请求体:
------WebKitFormBoundaryxn4rY9tP6eWTGuSG
Content-Disposition: form-data; name="csrf_token"

IjliYjdlMGExOTU4YjFlMTAzNjFlNTc0ZDI4Yzc5ZmZiNGM0NjQ2MmIi.DCT7GQ.1ZlICARvju4I2aQCk97uBVz4Lio  
------WebKitFormBoundaryxn4rY9tP6eWTGuSG
Content-Disposition: form-data; name="database"

1  
------WebKitFormBoundaryxn4rY9tP6eWTGuSG
Content-Disposition: form-data; name="schema"


------WebKitFormBoundaryxn4rY9tP6eWTGuSG
Content-Disposition: form-data; name="table_name"

ab_role  
------WebKitFormBoundaryxn4rY9tP6eWTGuSG--

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Invisible Users

Invisible Users

Jenna Burrell / The MIT Press / 2012-5-4 / USD 36.00

The urban youth frequenting the Internet cafes of Accra, Ghana, who are decidedly not members of their country's elite, use the Internet largely as a way to orchestrate encounters across distance and ......一起来看看 《Invisible Users》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具