Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3949

Relationship search API, add parameter to get classification attributes in search results

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.2.0
    • Component/s: atlas-intg
    • Labels:
      None

      Description

      Improvement: Adding boolean parameter 'includeClassificationAttributes' in Relationship search Api to get all attributes of the classification associated to the entity.

      Example Request api: /api/atlas/v2/search/relationship?guid={guid}&relation=tables&limit=10&includeClassificationAttributes=true

      Example Response api: 

      {
         "queryType":"RELATIONSHIP",
         "entities":[
            {
               "typeName":"hive_table",
               "attributes":{
                  "createTime":1600626600000,
                  "qualifiedName":"table@db1",
                  "name":"table1"
               },
               "guid":"9893504f-095d-47e3-abf8-fd79069252f7",
               "status":"ACTIVE",
               "displayText":"table1",
               "classificationNames":[
                  "Dimension"
               ],
               "classifications":[
                  {
                     "typeName":"Dimension",
                     "entityGuid":"9893504f-095d-47e3-abf8-fd79069252f7",
                     "entityStatus":"ACTIVE",
                     "propagate":true,
                     "validityPeriods":[
                        
                     ],
                     "removePropagationsOnEntityDelete":false
                  }
               ],
               "meaningNames":[
                  
               ],
               "meanings":[
                  
               ],
               "isIncomplete":false,
               "labels":[
                  
               ]
            }
         ],
         "approximateCount":-1
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinal.shah Pinal
                Reporter:
                pinal.shah Pinal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: