Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

harn-box-connector

Pure-Harn Box connector for file artifact workflows.

The surface is deliberately connector-shaped, not document-renderer shaped:

  • Normalize signed Box V2 webhook deliveries into Harn connector events.
  • Poll the Box Events API from Harn-managed stream_position state.
  • Dispatch common Box file, folder, event, representation, upload, and webhook APIs through allowlisted egress descriptors.
  • Build deterministic request descriptors for artifact export/import flows.

Document rendering and manifest vocabulary stay in harn-documents; this package owns the external Box boundary.

Install

Install the tagged package:

harn add github.com/burin-labs/harn-box-connector@v0.1.0

For local multi-repository development, use a path dependency:

[dependencies]
harn-box-connector = { path = "../harn-box-connector" }

Use the Harn CLI version pinned in .harn-version to run this checkout.

Configure

  • Provider id: box
  • API hosts: api.box.com, upload.box.com
  • Required secrets: box/access-token, box/webhook-primary-key
  • Required OAuth scopes: root_readwrite, item_readwrite, item_upload, manage_webhook

Start browser-based setup with harn connect box. Check its status with harn connect status --connector box --json.

Useful methods

  • files.get
  • files.content
  • files.representations
  • folders.items
  • events.get
  • files.upload
  • webhooks.create
  • webhooks.delete
  • webhooks.list
  • artifact.export_request
  • artifact.import_request

Provider references

Validate

harn connector test . --provider box

The smoke tests use Harn HTTP mocks and do not call Box APIs.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors