Class
OpenCloudService
NotCreatableServiceNotReplicatedDeprecated
Deprecated. Do not use for new work; prefer HttpService for
in-experience HTTP requests.
Deprecated. This class is deprecated and should not be used for new work. Use
HttpService instead and see the
In-experience HTTP requests guide.
Deprecated. Do not use for new work; prefer HttpService for
in-experience HTTP requests. See the
In-experience HTTP requests guide.
Methods 2#
| GetApiV1 | Returns an OpenCloudApiV1 object. Always raises an error.Deprecated |
| InvokeAsync | Deprecated. Dispatches a named Open Cloud call and returns its result.DeprecatedYields |
GetApiV1(): OpenCloudApiV1#
DeprecatedDeprecated
Deprecated. This method is deprecated. Do not use it for new work.
Deprecated. Always raises an error with the message
"API is not enabled".
Returns
InvokeAsync(version: string, methodName: string, arguments: Dictionary, headers: Dictionary = nil): Dictionary#
YieldsDeprecatedDeprecated
Deprecated. This method is deprecated. Do not use it for new work.
Deprecated. Do not use for new work.
Dispatches a server-side Open Cloud call identified by version and
methodName with the given arguments and optional headers, and
returns the response dictionary.
| Name | Type | Default | Description |
|---|---|---|---|
version | string | API version string identifying the call surface. | |
methodName | string | Name of the Open Cloud method to invoke. | |
arguments | Dictionary | A dictionary of arguments forwarded with the call. | |
headers | Dictionary | nil | Optional request headers dictionary. |
Returns
Dictionary— A dictionary containing the response.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild