Create Activity Provider
documentedCreate a new activity provider (credentials set).
POST /api/organizations/{org_id}/activity-providersCredentialsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://watershedlrs.com/api/organizations/{{$org_id}}/activity-providers" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "key": "{{$key}}", "secret": "{{$secret}}", "active": {{$active}}, "lrsAccess": "{{$lrsAccess}}", "watershedApiAccess": "{{$watershedApiAccess}}"}'
# Sources: turn0search0 turn0search2