Document for C# client library of Visual Studio Team Service - azure-devops

I was looking at the c# .NET client for Team Services API
at https://www.visualstudio.com/en-us/docs/integrate/get-started/client-libraries/samples
Where could I find a detailed document for this client library beside samples found in the above URL?

There are two types of API in the page you refer to: Rest API & SOAP API.
For SOAP-based client, the document can be found here: Extending Team Foundation, and you can refer to this blog for how to use them: TFS API Index Parts 1 To 37.
For REST-based HTTP client, I cannot find any detailed document for them. But you can get some more information from "Visual Studio\View\Object Browser" and this API is the same as VSTS Rest API, so you can also get some more information from that page.

Related

qliksense rest api connection to get data out of qliksense

I want to get list of documents available in Qlik sense using rest api. I am trying to use the api url https://url/api/v1/apps/docs to get the list of documents
But this is not working. Is the url correct in getting the documents in qliksense?
Where can I find the details on the url for getting the docs? I have checked the Qlik website for rest documentation but could not get the details what I am looking for.
Thanks
Not sure what your use case is but will recommend using Qlik Repository Service API to get list of the apps. The url in your question looks like an Engine REST API endpoints but its non-existing in the endpoints list.
Repositository API is a wrapper around the internal PostgreSQL database, which contains all the metadata (list of apps, streams, extensions etc).
List with all Repository API methods can be found at Qlik QRS API reference page.
The Repository API supports few authentication methods
certificates (when using in server-to-server communication. aka backend)
JWT
Header
Session cookie (from the browser)
Have a look at the examples how to test the responses with Postman (few other examples are available there - Powershell, Node.JS, cURL etc.)

Is there a complete list of sharepoint online rest api from official docs?

As title said, Is there a complete list of sharepoint online rest api from official docs?
I've done some research. However from the MS docs I can only find Complete basic operations using SharePoint REST endpoints and Get to know the SharePoint REST service.
Or maybe there just isn't one for the current Sharepoint Online implementation from official docs which have REST api reference and samples.
I was consider using MS graph as well, however it seems at the moment, the operations exposed by the Graph for SharePoint are very limited when compared to the native SharePoint REST API.
If there is a list, please share.
REST APIs of SharePoint are conformed to the specification of OData, we can use it like we use other OData APIs.
Here you go:
REST API reference and samples
More information about OData, we can refer to: OData - the best way to REST
If you have been authenticated (e.g. have an access token) and you can use the SharePoint API, then you can get a list of available endpoints for GET requests:
https://[tenant].sharepoint.com/[site]/_api/Web
The first part of the response provides a list of endpoints that you can explore further. [site] can be requested at any level (there can be many subsites below).
For example:
https://[tenant].sharepoint.com/[site]/_api/Web/SiteUsers
will allow you to display a list of users on a site and other possible endpoints, and
https://[tenant].sharepoint.com/[site]/[subsite]/_api/Web/Lists
will display all the lists that belong to the given subsite.
Unfortunately, I was not able to get a list of endpoints for POST requests such as: _api/web/lists/getByTitle('Documents')/breakroleinheritance(copyRoleAssignments=false, clearSubscopes=true)

Get SharePoint Hub Site associated Sites CSOM

How do we get or retrieve the associated sites in a SharePoint hub site using CSOM or REST API? I don't find API methods for this. Please suggest me a solution.
Thank you.
You can use the REST API below to get information about all hub sites that the current user can access.
/_api/HubSites
Refer to: https://learn.microsoft.com/en-us/sharepoint/dev/features/hub-site/rest-hubsites-method
More information:
Hub site REST API
Mikael Svenson has a blog post - you can use the SharePoint Search REST API, querying on the managed property called DepartmentId.
More information available here: https://www.techmikael.com/2018/04/working-with-hub-sites-and-search-api.html
An example of a REST call that returns all sites that are joined to a specific hub site (NOT including the hub site itself):
https://<hostname>/_api/search/query?querytext='contentclass%3dsts_site AND NOT siteid:<hubsite-id> AND departmentid%3d{<hubsite-id>}'&refinementfilters='departmentid:string("{*"%2clinguistics%3doff)'&trimduplicates=false
And an example of the same REST call but this time including the hub site itself:
https://<hostname>/_api/search/query?querytext='contentclass%3dsts_site AND departmentid%3d{<hubsite-id>}'&refinementfilters='departmentid:string("{*"%2clinguistics%3doff)'&trimduplicates=false
<hostname> = host to your sharepoint web app, like contoso.sharepoint.com
<hubsite-id> = id (GUID) of the hub site

What is the new endpoint for

I am using the evaluate REST API from the Academic Knowledge API from Microsoft Cognitive service using the REST endpoint:
https://api.projectoxford.ai/academic/v1.0/evaluate?
In the suscription page at Microsoft Cognitive Service it says:
Important Notice: starting on 1/17, our API endpoints will be changing.
If your API is currently using "api.projectoxford.ai" endpoint, you will need to switch to the new API endpoint (see our API reference for that) or you may experience latency. The old API endpoints will be deprecated 90 days following this change.
I'm trying to find the new REST endpoint and how to use it but I could not figure out. Could you please point me to the documentation?
For most users, the endpoints for Microsoft Cognitive Services are moving to https://westus.api.cognitive.microsoft.com. The rest of the path is unchanged.

Is the WER (winqual) web service API documented anywhere

I can find a few examples of accessing WER data through a SOAP API such as this: http://blogs.msdn.com/b/wer/archive/2010/05/14/winqual-web-services-with-windows-powershell.aspx
Is the API they're calling documented anywhere?
There is a CodePlex project... http://wer.codeplex.com/releases/view/12825 that has sample code and a whitepaper available.