Create Session
documentedCreate a new session (short-lived credentials) under an activity provider.
POST /api/organizations/{org_id}/activity-providers/{activity_provider_id}/sessionsCredentialsno 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/{{$activity_provider_id}}/sessions" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
-d "scope={{$scope}}&expire_seconds={{$expire_seconds}}"