sharepy icon indicating copy to clipboard operation
sharepy copied to clipboard

Support for batch requests?

Open burrisca opened this issue 3 years ago • 1 comments

Is it possible sharepy will add support for batch requests in the future?

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/make-batch-requests-with-the-rest-apis

burrisca avatar Jul 27 '21 17:07 burrisca

SharePy provides only the authentication for your requests, and will support any REST interface exposed by SharePoint, within the limitations of the underlying Requests library. The implementation of your API calls is up to you, so in theory, you should be able to construct an OData batch request by manually specifying the required headers and body data. This may prove to be a tedious task and unfortunately it is beyond the scope of SharePy and Requests.

JonathanHolvey avatar Sep 06 '21 13:09 JonathanHolvey