Page tree

 

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

NameShort DescriptionPath / Method
Create Userscript by JSON
Creates a new userscript.
/userscripts
POST
Delete Userscript
Deletes a userscript uniquely identified by its namespace, name, and version.
/userscripts/{namespace}/{name}/{version}
DELETE
Get all Userscripts
Provides access to the list of userscripts that are currently stored in the userscripts repository.
/userscripts
GET
Get Userscript
Provides access to a unique userscript by its namespace, name, and version.
/userscripts/{namespace}/{name}/{version}
GET
Update Userscript by JSON
Updates an existing userscript.
/userscripts
PUT