forked from jupyter-server/jupyter_server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use different naming convention & add test for it
Experiments here informed the schema naming recommendations in jupyter/telemetry#11
- Loading branch information
Showing
5 changed files
with
61 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
jupyter_server/event-schemas/contentsmanager-actions/v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"$id": "eventlogging.jupyter.org/notebook/contentsmanager-actions", | ||
"version": 1, | ||
"title": "Contents Manager activities", | ||
"description": "Notebook Server emits this event whenever a contentsmanager action happens", | ||
"type": "object", | ||
"required": ["action", "path"], | ||
"properties": { | ||
"action": { | ||
"enum": [ | ||
"get", | ||
"create", | ||
"save", | ||
"upload", | ||
"rename", | ||
"create", | ||
"copy" | ||
], | ||
"description": "Action performed by contents manager" | ||
}, | ||
"path": { | ||
"type": "string", | ||
"description": "Logical path the action was performed in" | ||
}, | ||
"source_path": { | ||
"type": "string", | ||
"description": "If action is 'copy', this specifies the source path" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters