samples/

directory
v0.0.0-...-8ec3e8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: MIT

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.

Directories

Path Synopsis
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL