[ 
https://issues.apache.org/jira/browse/ATLAS-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101284#comment-16101284
 ] 

Madhan Neethiraj commented on ATLAS-1988:
-----------------------------------------

Sample URLs:
- Get list of hive_table entities in the given hive_db guid:
  
api/atlas/v2/search/relationship?guid=d00fcba2-9228-4e6e-886f-cf9d22698377&relation=__hive_table.db

- Get list of hive_column entities in the given hive_table guid:
  
api/atlas/v2/search/relationship?guid=892c3e01-476f-4f5a-9733-e3a99a13cf2d&relation=__hive_table.columns

- Get the hive_table entity given guid of hive_column:
  
api/atlas/v2/search/relationship?guid=3d7f82a6-9638-409d-838d-9bb122e9dd73&relation=table




> Implement REST API to search for related entities 
> --------------------------------------------------
>
>                 Key: ATLAS-1988
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1988
>             Project: Atlas
>          Issue Type: Sub-task
>          Components:  atlas-core, atlas-intg
>    Affects Versions: 0.8.1-incubating
>            Reporter: Sarath Subramanian
>            Assignee: Sarath Subramanian
>             Fix For: 0.8.1-incubating
>
>         Attachments: ATLAS-1988.1.patch, ATLAS-1988.2.patch
>
>
> Add a new endpoint (v2/search/relationship) in DiscoveryREST to search for 
> related entities.
> Parameters:
> * guid
> * relation
> * sortBy
> * sortOrder
> * limit
> * offset



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to