[ 
https://issues.apache.org/jira/browse/ATLAS-3949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pinal updated ATLAS-3949:
-------------------------
    Fix Version/s:     (was: 2.1.0)
                   2.2.0
                   3.0.0

> Relationship search API, add parameter to get classification attributes in 
> search results
> -----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-3949
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3949
>             Project: Atlas
>          Issue Type: Improvement
>          Components: atlas-intg
>            Reporter: Pinal
>            Assignee: Pinal
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0
>
>
> *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:* 
> {code:java}
> {
>    "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
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to