Skip to content

Instantly share code, notes, and snippets.

@dhruvpsaru
Created July 29, 2020 14:41
Show Gist options
  • Save dhruvpsaru/6aa70ae4dd9652b43274768979d55c1d to your computer and use it in GitHub Desktop.
Save dhruvpsaru/6aa70ae4dd9652b43274768979d55c1d to your computer and use it in GitHub Desktop.
{
  "displayName": "marvel",
  "indexName": "marvelindex",
  "description": "This is marvel index",
  "size_endpoint_url": "https://a75f9e677275.ngrok.io/size",
  "data_endpoint_url": "https://a75f9e677275.ngrok.io/data",
  "fieldList": [
    {
      "displayName": "Marvel id",
      "name": "f_id",
      "type": "ID"
    },
     {
      "displayName": "Marvel Name",
      "name": "f_name",
      "type": "STRING"
    },
     {
      "displayName": "Marvel Rank",
      "name": "f_rank",
      "type": "NUMBER"
    }
  ],
  "indexAssociationType": [
   ]
}
{
  "indexName": "marvel",
  "indexId":??,
  "orgId":396,
  "data": [
    {
      "f_id": 1,
      "f_name": "IronMan",
      "f_rank" : 101  
    },
  	{
      "f_id": 2,
      "f_name": "Captain",
      "f_rank" : 102  
    },
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment