Hello
Endpoint : GET https://api.equinix.com/ecx/v3/l2/seller/connections
I use it with profileId filter and i have many results.
I go from page to page to list the connection i have on one specific port.
I would like to reduce those calls using the filter "portName".
However the result is always empty :
- {"isFirstPage":true,"isLastPage":true,"totalCount":0,"pageSize":20,"content":[],"pageNumber":0}
Does somebody succeded to make it work ?
Best regards,
Hello
thx for the feedback.
There is some example :
- GET /ecx/v3/l2/seller/connections?profileId=9e17ad3e-66bb-459e-9373-5d9c0146512c
it returns some connections, example :
- 'uuid' → '91d0050d-903e-4f5c-881c-cdc7b748707c'
- zSidePortName' → 'OVH-PA3-PA4-ECX_PRI-21365958'
If i do :
- GET https://api.equinix.com/ecx/v3/l2/seller/connections?portName=OVH-PA3-PA4-ECX_PRI-21365958&profileId=9e17ad3e-66bb-459e-9373-5d9c0146512c
or
- GET /ecx/v3/l2/seller/connections?portName=OVH-PA3-PA4-ECX_PRI-21365958
result is empty :
{"isFirstPage":true,"isLastPage":true,"totalCount":0,"pageSize":20,"content":[],"pageNumber":0}
Hi
This is equinix developer responding. I have tried combinations of /ecx/v3/l2/seller/connections?pageSize=&pageNumber=&profileId=9e17ad3e-66bb-459e-9373-5d9c0146512c and the response is being populated with correct values in response with field names sellerServiceUUID(profileId) and zSidePortName(portname). I used the info of user that created the service profile to perform the test, as i dont have your user details.
Please can you create a ticket with equinix support so we can look into your user detail permissions for viewing the connections. Thanks.
this is the other url i tried /ecx/v3/l2/seller/connections?pageSize=&pageNumber=&portname=OVH-PA3-PA4-ECX_PRI-21365958&profileId=9e17ad3e-66bb-459e-9373-5d9c0146512c
regarding the portName search not working /ecx/v3/l2/seller/connections?pageSize=&pageNumber=&portName=OVH-PA3-PA4-ECX_PRI-21365958 I am looking into it and will respond soon. the earlier url with portName had a typo, please ignore that.
Out of curiosity, are you the seller (z side) in this scenario? If not, that may be part of the issue. You can try using the /ecx/v3/l2/buyer/connections endpoint (https://developer.equinix.com/docs?page=/dev-docs/fabric/api-reference/layer-2-buyer-apis-v3|get-layer-2-buyer-connections-v3) and using the buyerPortUUID query parameter - likely a little less error prone than using buyerPortName.
Hello,
Thx for the feedbacks !
Yes i'm the seller in this case.
For the seller api call (Endpoint : GET https://api.equinix.com/ecx/v3/l2/seller/connections ), the "portName" parameter filters the response based on the zsidePortName.
The search is case-sensitive.
If you believe you have a valid issue can you pls share the portName.