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 View Page History

« Previous Version 2 Next »

Component View



Database Schema

Content

Content
{
	document: {
    	"_id": "string", // content id
    	"previewUrl": "string",
    	"keywords": "string[]",
    	"subject": "string",
	    "channel": "string",
    	"downloadUrl": "string",
        ... // Complete content metadata
	},
	index: {
		
	}
}


Telemetry

Each telemetry event is stored as one document on telemetry database there will be no change in the event object.


configuration
{
  "type": "string", // framework, channel, form, resource bundle
  "_id": "string",
  "data": "object"
}

Configuration


App config
PORT=9000
API_BASE_URL="https://sunbird.org/api"
CHANNEL=sunbird
COUCHDB_URL=http://admin:password@127.0.0.1:5984
TELEMETRY_SYNC_URL=data/v1/telemetry
TELEMETRY_SYNC_INTERVAL=10
DEVICE_REGISTRY_URL=/api/api-manager/v1/consumer/mobile_device/credential/register


Plugin config
DATA_PATH=<path to data>



Data Setup



Download



Import/Export

Content

Telemetry

  • No labels