Provide access to a single userscript file by its coordinates. Even anonymous users have access to this service.

Path
/repo/{namespace}/{name}/{version}.js
HTTP Method
Type
User Roles
Since
1.0
Output Representation Types

userscript file is identified by the coordinates

Name Short Description Since
The name of a userscript is unique within its namespace.
1.0
The namespace of a script makes the name of a userscript unique.
1.0
The semantic version of the userscript.
1.0

When the activation record activates a userscript, then this service allows to download the userscripts code.

Path Parameters

The web service defines the following path parameters.

Namespace

The namespace of a script makes the name of a userscript unique.

ID
script-namespace
Data Type
Since
1.0

The namespace parameter encodes the namespace of a userscript to configure the macro. It is part of the userscript identifier to uniquely address a userscript instance.

Name

The name of a userscript is unique within its namespace.

ID
script-name
Data Type
Since
1.0

The name the name of a userscript to configure the macro. It is part of the userscript identifier to uniquely address a userscript instance.

Per convention name parts are separated by dashes ('-').

Version

The semantic version of the userscript.

ID
version
Data Type
Since
1.0

The version parameter encodes the version of a userscript in the context of the HTTP protocol. It is part of the userscript identifier to uniquely address a userscript instance.

Details

Note that this service can be used by anyone.

Resources

Related REST service.

Userscripts Context Service
Provide access to userscript files for a given context. Even anonymous users have access to this service.