Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

 

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
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
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
Namespace
The namespace of a script makes the name of a userscript unique.
1.0
Version
The semantic version of the userscript.
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 resource defines the following path parameters.

Namespace

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

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.

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.

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.

  • No labels