new Endpoint(name, version, action)
lib/Endpoint.js, line 14
Represents a single endpoint
Instances of this class are created internally for you. You don't need to use this constructor directly.
Name | Type | Description |
---|---|---|
name |
string | |
version |
number | |
action |
external:lift-it.Action |
Members
-
actionexternal:lift-it.Action
-
-
namestring
-
like 'user/create'
-
urlstring
-
like '/v1/user/create'
-
versionnumber
-
-
versionStrstring
-
like 'v6'