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

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)

Related

how do I call salesforce APEX From rest api

I find tons of articles explaining how to call rest apis from APEX - but I'm accessing salesforce from an integration system using the Salesforce REST API, and want to it the other way around.
ie -
I've found functionality (record merging) - that is not available from the rest API, but IS available from apex. Is there any way to run an apex statement or script from the rest API?
NOTE: I'm aware that the functionality also available from the SOAP api, but we really don't want to go near that for various reasons.
you want to REST API endpoints in APEX, so that you can call this endpoint from anywhere, Right? if so then you need to check this article.
After reading above article, you are able to create GET, POST, DELETE endpoint in your Salesforce Org and you can use this endpoints.

How can i get number of Sharepoint Pages or documents viewers using HTTP request through Power Automate?

How can i get number of Sharepoint Pages or documents viewers using HTTP request through Power Automate?
I can't seem to find a way or answer on how send an HTTP request to SharePoint using power automate to get the site usage
You could look into using the Graph API in Power Automate. There are SharePoint site usage methods available in the Graph API.
Probably these two methods are good to start with:
reportRoot: getSharePointSiteUsagePages
reportRoot: getSharePointSiteUsageDetail

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.)

Microsoft Access APIs?

I've been digging through Microsoft's API pages (both the REST APIs and the Graph APIs) - but I'm having a hard time finding out if there is any way to access Microsoft Access through an API.
I'd like to be able to make an API call to get like the list of rows in a particular table or query for the list of tables altogether - or, on the flip side, add a row to an existing table. (Edit: I'd like to do this via REST calls and allow users to connect accounts so that many different people could access these things on their own). Does anyone know if this is possible? I'd super appreciate any links to any API docs or examples y'all have ^.^
For reference, I've been looking primarily at these two places:
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
https://learn.microsoft.com/en-us/office/client-developer/access/access-home
Access doesn't provide any functionality to directly access the data from a HTTP endpoint (REST API). It can only function as a database(backend) in this scenario and you would need to look into other solutions to get the data from the database and provide it from a HTTP endpoint (REST API).
If you're looking to use Microsoft technologies for this solution, then you can look into ASP.NET Core to provide the Web API functionality.
You'll need the Access Data Provider to be able to access data in a MS Access database, which as far as I know runs only on a Windows OS.

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.