Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 2.17 KB

File metadata and controls

63 lines (43 loc) · 2.17 KB

swagger_client.ViewListApi

All URIs are relative to https://localhost

Method HTTP request Description
folder_database_api_data_collections_get GET /{folder}/{database}/api/data/collections Gets a list of views and folders in a database.

folder_database_api_data_collections_get

ViewListResponse folder_database_api_data_collections_get(folder, database)

Gets a list of views and folders in a database.

Example

from __future__ import print_function
import time
import dda
from dda.rest import ApiException
from pprint import pprint

# Configure HTTP basic authorization: basic
configuration = dda.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = dda.ViewListApi(dda.ApiClient(configuration))
folder = 'folder_example'  # str | Database folder name relative to the Domino data directory.  If the database is not in a folder, use `.` to specify the data directory itself. 
database = 'database_example'  # str | Database file name.

try:
    # Gets a list of views and folders in a database. 
    api_response = api_instance.folder_database_api_data_collections_get(folder, database)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ViewListApi->folder_database_api_data_collections_get: %s\n" % e)

Parameters

Name Type Description Notes
folder str Database folder name relative to the Domino data directory. If the database is not in a folder, use `.` to specify the data directory itself.
database str Database file name.

Return type

ViewListResponse

Authorization

basic

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]