Page tree

 

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

NameShort DescriptionSince
Name
The name of a userscript is unique within its namespace.
1.0
Namespace
The namespace of a script makes the name of a userscript unique.
1.0
Version
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
namespace
Data Type
Since
1.0

The namespace parameter encodes the namespace of a userscript in the context of the HTTP protocol. 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
name
Data Type
Since
1.0

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

A HTTP name parameter should not contain dots ('.'). Per convention name parts are separated by dashes ('-').

Version

The semantic version of the userscript.

ID
script-version
Data Type
Since
1.0

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

Details

Note that this service can be used by anyone.