Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Using Rest API calls how would I call a lineage call with multiple entityids specified in the url

SOLVED Go to solution
Highlighted

Using Rest API calls how would I call a lineage call with multiple entityids specified in the url

New Contributor

 I'm connecting to Navigator and attempting to make rest api calls.

I keep getting

 

{
  "message" : "Invalid id : 4500 5267"
}

when trying to make a lineage call with multiple entityids. 

The url i'm using is below

http://vm-cloudera-59:7187/api/v10/lineage3/?entityIds=4500%205267

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Using Rest API calls how would I call a lineage call with multiple entityids specified in the ur

New Contributor

Thanks!. Looks like your suggested call successfully returned.

2 REPLIES 2

Re: Using Rest API calls how would I call a lineage call with multiple entityids specified in the ur

Champion
Do either of those ids work with only one listed? That will rule out bad entity ids.

Based on one of the other calls you could try the below URL.

http://vm-cloudera-59:7187/api/v10/lineage3/?entityIds=4500&entityIds=5267

Re: Using Rest API calls how would I call a lineage call with multiple entityids specified in the ur

New Contributor

Thanks!. Looks like your suggested call successfully returned.