Skip to content

GetDeviceType Example Issue #6

@wenboo

Description

@wenboo

https://github.com/artikcloud/artikcloud-js/blob/master/docs/DeviceTypesApi.md#getdevicetype

1, For the GetDeviceType example, the last api variable cannot be recognized. When I change it to "apiInstance" and then it's OK.

2, In the callback,

console.log('API` called successfully. Returned data: ' + data);

The JSON data cannot be shown normally. It just like "[object Object]", When I change it to

console.log('API` called successfully. Returned data: ' + JSON.stringify(data));

and then it's OK.

May have your attention pls. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions