This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Rest
github-actions[bot] edited this page Aug 11, 2023
·
10 revisions
• new Rest(hue
)
Name | Type |
---|---|
hue |
Hue |
• Readonly
dispatcher: Agent
• Readonly
hue: Hue
• Readonly
limits: Collection
<string
, Limit
>
▸ _getLimit(route
): Limit
Name | Type |
---|---|
route |
string |
▸ _queue(route
, method
, data?
): Promise
<any
>
Name | Type |
---|---|
route |
string |
method |
RestRequestType |
data? |
Record <string , any > |
Promise
<any
>
▸ _sanitizeRoute(route
): string
Name | Type |
---|---|
route |
string |
string
▸ delete(route
): Promise
<any
>
Name | Type |
---|---|
route |
string |
Promise
<any
>
▸ get(route
): Promise
<any
>
Name | Type |
---|---|
route |
string |
Promise
<any
>
▸ post(route
, data
): Promise
<any
>
Name | Type |
---|---|
route |
string |
data |
Record <string , any > |
Promise
<any
>
▸ put(route
, data
): Promise
<any
>
Name | Type |
---|---|
route |
string |
data |
Record <string , any > |
Promise
<any
>