Purview API - Extracting all server guids from collections? - azure-purview

I'm currently building a pipeline using the purview atlas API to extract server guids, and from there, extract database guids, and so on and so forth until the column level. But don't see any API endpoints that allows me to extract all possible server guids from a collection? Is this possible?

This is not possible at this moment.
Could you please check this document to get list of guids:- Discovery - Query - REST API (Azure Purview) | Microsoft Docs

I am not sure if this could solve your problem, but here is what I do:
In my case, I need to extract the dictionary from Purview. To do that, i do the following:
pv glossary read
from that, i get a json with all the guid. Then,
pv glossary readDetailed --glossaryGuid= <<guids have found>>
I will just leve it here as a response just in case you can get anythig from this.
Thank you

Related

AzureDevops - extract test steps to powerbi with odata query

I need to extract a table with test steps that correspond to each test case, from AzureDevops to PowerBI.
I was able to retrieve a list of tables that I can extract with odata, but none of them contains test steps. I’m attaching the metadata request and an extract of its results. extract
I’ve read that another possibility would be you to use an api query, but I’m not sure which one.
Does anyone know a possible solution?
Thank you.
According to the note in this documentation,
You can’t add fields with a data type of Plain Text (long text) or HTML (rich-text). These fields aren’t available from Analytics for the purposes of reporting.
And the type of the Steps field is Text (multiple lines), so they cannot be extract with odata.
You can try to use this REST API to get the detail of the testcase which will contain the Steps detail. Please refer the screenshot:

Docusign REST API call: Using logical operators for search_text

I’m trying to use a REST API call to find all envelopes with subjects that are either {{cSubject_1}} OR {{cSubject_2}}.
I’m using "search_text" for filtering but I’m not sure how I should use the logical operator for “OR” for this purpose.
I would appreciate if you could help me with this.
Thanks,
Kathy
There's currently no support for this type of complex query in the search_text for The Envelopes:listStatusChanges endpoint.
The search_text allows you to have a single text item that is search across the board (recipients, subject, etc.) and is not limited to a specific meta-data. You can use other filters to filter by other means.
I would recommend storing envelope's meta-data in your application storage (or database) and using your own code to query this information if possible.

Import Possible Answer Units into Watson Discovery

I have a follow up question off of the question here:
How to get exact answers instead of the whole document using Watson Discovery?
One of the answers mentioned using the Document Conversion Service to create Possible Answer Units (PAUs) within my document. When I do this and upload this large JSON file that contains all of the PAUs, Discovery still returns the entire document that contains all of the PAUs, which I guess is expected.
To complete the solution, I assume I would have to break down each individual PAU into its own document. Does Discovery have a built in tool to do this, or do I need to write my own script?
(Ideally the script would contain some reference to the original file name/metadata and maintain the hierarchical structure that the Document Conversion Service created from my Header definitions)
Watson Discovery doesn't provide the service of giving some section of document as an answer to your query.
If you have such things in your mind, I would suggest you to use Retrieve and Rank service, which basically helps you to train watson and to get expected answer section from your provided documents.
Note: R&R service uses Document Conversion service internally
Now you can use the new passage retrieval feature to do that. It is available as "Include matching passages" in the WDS tooling or in the API reference
Passages query boolean A boolean that specifies whether the service returns a set of the most relevant passages from the documents returned by a query. The default is false.
Note: The passages parameter works only on private collections. It does not work in the Watson Discovery News collection. "

Is it possible to list object in Google Cloud Storage using the meta?

I am reading this article https://cloud.google.com/storage/docs/json_api/v1/objects/list, and I didn't find it.
I have a bucket with thousands of objects (files). I want to list only object that have specific metadata.
Do you know how to achieve that?
There's no API support for server-side filter of listing results by metadata values. You would need to list all the objects and then filter at the client side. Another option, if it's possible to rename your objects, would be to construct your object names such that the metadata values on which you want to filter are built into the beginning of the object names. You could then use a prefix filter on the listing request.

Naming resources prior to creation using Neo4j Restful API

This is for people with knowledge on REST and Neo4j.
Is it possible to name a node before creating it in Neo4j ?
Typical Restful thing, you create a URI "XXX/db/data/node/mynode" and you want to create a node with this identifier if it is not existent in the moment.
For all that I have been researching (and testing) to the present moment, the answer is : "no it is not possible, neo4j will just always automatically give ids to the created nodes and the attempt to do create a URI and use POST to cause its creation will result in 405"
Thanks in advance.
That's correct, you can't set the id of a node. What you can do is to add some other kind of id as a property, see create node with properties. Just make sure it's indexed automatically and then you can query that index for exact matches.