A resource service to create, upload, delete, and access userscripts.

User Roles
Path
/userscripts
HTTP Methods
Type
Since
1.0

A userscript provides metadata and a reference to executable JavaScript code, the userscript. It is therefore a descriptor and not the userscript itself, which is simply just the JavaScript code. For simplicity in conversations, the userscript in this domain is the the descriptor plus the referenced JavaScript file.

This resource provides access to userscripts.

Operations

Name Short Description Path / Method
Creates a new userscript.
/userscripts
POST
Deletes a userscript uniquely identified by its namespace, name, and version.
/userscripts/{namespace}/{name}/{version}
DELETE
Provides access to the list of userscripts that are currently stored in the userscripts repository.
/userscripts
GET
Provides access to a unique userscript by its namespace, name, and version.
/userscripts/{namespace}/{name}/{version}
GET
Updates an existing userscript.
/userscripts
PUT