Hi,
If you use this API = /api/ca/v1/dataflows with no projectid or version id the response will show all the visual flows including the project id and version id.
This is an example from my system, in your example you are using the version name not the version id.
------------------------------
Regards
Keith Puzey
Client Services Consultant | Enterprise Software Division
Broadcom
------------------------------
Original Message:
Sent: 08-23-2019 11:54 AM
From: Gunesh Patil
Subject: Is there a way to extract model count based on a path in repository from TDM?
Hi Keith,
I did try this. But looks like versionId only accepts integers and I did not find any version configured in our project via GET /api/ca/v1/projects/{projectId}.
Original Message:
Sent: 08-23-2019 11:15 AM
From: Keith Puzey
Subject: Is there a way to extract model count based on a path in repository from TDM?
Hi,
I just tried this and your correct if you just use the project id all the models are returned, if you use the projectid and versionid you will see the filtered response. Can you try this on your environment?
Regards
Keith
------------------------------
Regards
Keith Puzey
Client Services Consultant | Enterprise Software Division
Broadcom
Original Message:
Sent: 08-23-2019 10:52 AM
From: Gunesh Patil
Subject: Is there a way to extract model count based on a path in repository from TDM?
hi Keith,
Thank you very much. You are a savior. I did try hitting a couple of them. I was able to login successfully but the filtering on /dataflows doesn't seem to be working. I get same response each time with different/ no query parameters
GET https://<<redacted server>>:8443/TDMDataFlowService/api/ca/v1/dataflows?projectId=68 HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer <<redacted token>>
Content-Length: 0
Host: <<redacted server>>:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_162).
Original Message:
Sent: 08-16-2019 05:43 AM
From: Keith Puzey
Subject: Is there a way to extract model count based on a path in repository from TDM?
Hi,
This is the list of API's that are available to interact with the ARD flows stored in a TDM Repository
------------------------------
Regards
Keith Puzey
Client Services Consultant | Enterprise Software Division
Broadcom
Original Message:
Sent: 02-27-2019 08:09 AM
From: Gunesh Patil
Subject: Is there a way to extract model count based on a path in repository from TDM?
We are currently using a crude query to get all models in repository. We need to get specific and extract models only in a specific folder. #tdmrepository#tdmrepository#modelattributes