This application is a core component of our D3M interface. Namely, it handles the communication between remote Datamart server and process the response It will generate url based on your operation and pass it to the View component. After that, View will execute corresponding logic code based on the input urls.
All acceptable url patterns (in regex) are presented below:
where ‘?’ denotes optional extra pattern, please refer to corresponding section for detailed information.
Return a JSON string that contains detailed information of current status of connected datamart server.
api_datamart_info (request)
Return a JSON string that contains the metadata of the requested dataset.
api_get_metadata (request)
N/A
Return a JSON string that contains the datamart scrape form of the requested dataset.
api_scrape (request)
N/A
Return a JSON string that contains the datamart index form of the requested dataset.
api_index (request)
N/A
Return a JSON string that contains the search result of the requested dataset. Search the datamart with a JSON request. The ‘source’ will determine which datamart to search
api_search (request)
N/A
Pattern: api/search_by_dataset
Return a JSON string that contains the search result of the requested dataset.
api_search_by_dataset (request)
N/A
Pattern: api/materialize-async
Return a JSON string that contains the result of running async materialize with ISI, which is asked by this request.
api_materialize_async (request)
N/A
Return a JSON string that contains the result of running steps of augment (such as create new dataset folder structure, etc), which is asked by this request.
api_augment_async (request)
N/A