File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -2962,6 +2962,25 @@ class DTableWebAPI {
29622962 return this . _sendPostRequest ( url , params , { headers : { 'Content-Type' : 'application/json' } } ) ;
29632963 }
29642964
2965+ listMultiBaseIndexRecords ( ) {
2966+ let url = this . server + '/api/v2.1/multi-base-index-records/' ;
2967+ return this . req . get ( url ) ;
2968+ }
2969+
2970+ createMultiBaseIndexRecord ( indexConfig ) {
2971+ let url = this . server + '/api/v2.1/multi-base-index-records/' ;
2972+ let form = new FormData ( ) ;
2973+ form . append ( 'index_config' , indexConfig ) ;
2974+ return this . req . post ( url , form ) ;
2975+ }
2976+
2977+ updateMultiBaseIndexRecord ( associateId , indexConfig ) {
2978+ let url = this . server + '/api/v2.1/multi-base-index-record/' + associateId + '/' ;
2979+ let form = new FormData ( ) ;
2980+ form . append ( 'index_config' , indexConfig ) ;
2981+ return this . req . put ( url , form ) ;
2982+ }
2983+
29652984 // org admin api
29662985 orgAdminUpdateOrgInfo ( newOrgName ) {
29672986 let url = this . server + '/api/v2.1/org/admin/info/' ;
You can’t perform that action at this time.
0 commit comments