Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 5 Next »

Generic flow before running the Ingestion API’s

Open the postman application and import the postman collection provided. To import the collection follow the below steps:

  • Download the postman collection provided

  • Select the import option in the postman and import the downloaded json file.

Ingestion of Data using CSV 

  • Select the csv_import folder in the postman collection.

Step 1: Open the specified request & add the details

  • API Endpoint: <domain_name>/ingestion/csv

  • HTTP Method: POST                

Step 2: Build the request body with reference to YAML file. The request body for the above api is attached in the below screenshot. Link for yaml: https://github.com/Sunbird-cQube/spec-ms/blob/dev/spec.yaml

Step 3: Provide the valid input details for the Parameters showed below

  • file : Attach the csv file for the importing 

  • ingestion_type : Specify the type of ingestion

  • ingestion_name : Name of the event

Step 4: Click on the send button for the request and if the request is successful the user should see a response message.

  1. Event Import API

  2. Dimension Import API

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.