Discover Packages
github.com/NoobD0gg/gosip-sandbox
samples
directory
Version:
v0.0.0-...-8ec3e8a
Opens a new window with list of versions in this module.
Published: Aug 10, 2022
License: MIT
Opens a new window with license information.
README
README
¶
Gosip use cases and samples
Have a use case but no idea how to implement? Ask in issues section and we'll reach you with suggestions or sample to start with.
Have a noticeable example to share with the community? Reach us with a contribution suggestion. PRs are welcome!
Have no particular code to share but a description of how you use the library or a blog post? Please let us know, we're happy to post a reference.
Samples list
Sample
Description
Dynamic authentication
Shows a simple way of importing potentially demanded strategies and selecting one in runtime based on logic, CLI flags in the case of the sample.
Consumption with PowerShell
Shows how to retrieve auth tokens to use in a PowerShell script (is relevant for Edge auth scenarios).
Dev API Proxy
Shows how to expose SharePoint API as an anonymous endpoint for a dev server.
Files upload (sync)
Is a synchronization sample which provides a single time assets upload or/and local file system watch mode. Provides in times faster upload when any other known alternative.
Unmarshaling API responses
Basic unmarshaling sample.
Expand ▾
Collapse ▴
Directories
¶
Modern Sites Creation: https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest
Modern Sites Creation: https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest
go run ./samples/spsync/ -localFolder ./samples/spsync/watched
go run ./samples/spsync/ -localFolder ./samples/spsync/watched
go run ./samples/spupload/ -localFolder ./samples/spupload/upload -concurrency 10
go run ./samples/spupload/ -localFolder ./samples/spupload/upload -concurrency 10
Click to show internal directories.
Click to hide internal directories.