アプリケーションプログラミングインターフェースガイド> REST API> TDVサーバーREST API> Resource
 
Resource(リソース)API
リソースで実行できるREST APIオペレーションは次のとおりです。
GET /children
GET /custom_functions
GET /columns
GET /children
このAPIは、リソースの子を取得するために使用されます。
パラメータ:
名前
説明
パラメータータイプ
データタイプ
path
リソースパス
query
string
type
リソースタイプ
query
string
metadataVersion
リソースバージョン
query
long
beginy
子リストの開始インデックス
query
integer
count
子供の数
query
integer
component
コンポーネント名(現在は「cbs」のみをサポートしています)。
query
string
リソース「/shared/examples」の子を取得する例
curl -X GET -u admin:admin "http://localhost:9400/rest/resource/v1/children?path=/shared/examples&type=CONTAINER"
ページごとにリソース「/shared/examples」の子を取得する例
curl -X GET -u admin:admin "http://localhost:9400/rest/resource/v1/children?path=/shared/examples&type=CONTAINER&metadataVersion=&start=0&cound=10"
GET /custom_functions
このAPIは、すべてのカスタム関数を取得するために使用されます。
パラメータ:
なし
すべてのカスタム関数を取得する例
curl -X GET -u admin:admin "http://localhost:9400/rest/resource/v1/custom_functions"
GET /columns
このAPIは、テーブル/ビューの列を取得するために使用されます。
パラメータ:
名前
説明
パラメータータイプ
データタイプ
path
テーブルパス
query
string
metadataVersion
テーブルバージョン
query
long
beginy
子リストの開始インデックス
query
integer
count
子供の数
query
integer
ビュー「/shared/examples/ViewOrder」列を取得する例
curl -X GET -u admin:admin "http://localhost:9400/rest/resource/v1/table/columns?path=/shared/examples/ViewOrder"
 
ページごとにビュー「/shared/examples/ViewOrder」列を取得する例
curl -X GET -u admin:admin "http://localhost:9400/rest/resource/v1/table/columns?path=/shared/examples/ViewOrder&metadataVersion=&start=0&cound=10"