Records a dataset view added to the run's notebook session after it
started (the session's "Add data"), as the input folder named. The
run's callback token may then read that view through views-service's
run routes, which serve only the run's views: its viewVersion data
sources and the views recorded here. The caller must be the run's
creator with their own bearer token: a callback token is refused
(401) whether it comes as X-Callback-Token or as the Authorization
header, since its reach is what this route widens. The view must
be theirs (checked with views-service), and the run must be an
active notebook session. A view of a workspace's data is added only
to a session in that workspace, and its datasets must be ones the
caller can read there (403 otherwise); they are recorded on the
source so the run's callback token reads them, as a reader.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
201The source as recorded (name, viewId, viewVersion, addedAt).
400Bad request
401Not a signed-in user (a callback token can't add sources)
403Not the run's creator
404The run, or the view (not found or not the caller's)
409The run isn't an active notebook session
502views-service couldn't be asked