TwoRavens

Datamart Endpoint

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.

URL Patterns

All acceptable url patterns (in regex) are presented below:

where ‘?’ denotes optional extra pattern, please refer to corresponding section for detailed information.


Pattern: api/datamart-info

      Return a JSON string that contains detailed information of current status of connected datamart server.

alt text


Pattern: api/get-metadata

      Return a JSON string that contains the metadata of the requested dataset.

N/A


Pattern: api/scrape

      Return a JSON string that contains the datamart scrape form of the requested dataset.

N/A


Pattern: api/index

      Return a JSON string that contains the datamart index form of the requested dataset.

N/A


Pattern: api/search

      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

N/A


Pattern: api/search_by_dataset

      Return a JSON string that contains the search result of the requested dataset.

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.

N/A


Pattern: api/augment

      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.

N/A