Skip to content

SharePointTransport (NEW — Microsoft Graph) #4

Description

@llbbl

The transport TeamWiki needs. Publish .docx to a SharePoint document library via Microsoft Graph.

Tasks

  • App-only auth (client credentials), Sites.Selected least privilege.
  • PUT /sites/{site-id}/drives/{drive-id}/root:/{path}/{name}.docx:/content; create-or-update by path; return the driveItem id.
  • Store/return the id so republish updates the SAME file (preserves SharePoint version history).
  • Tests with the Graph client mocked; scope + upload path asserted.

Acceptance: uploads/updates a .docx in a SharePoint library (mocked in tests); TeamWiki can consume it via the transport interface.

Depends on: "Transport interface + LocalFileTransport"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    transportPluggable transports

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions