Get Subscription for ISV Application

Last Updated on : 2023-06-21 07:12:54

Get to know which projects or stores of the current user account have subscribed to a specified ISV application. That is, the status is installed, enabled, and the project or store is visible to the current account.

API address

GET: /v1.0/iot-02/paas/appstore/isv/subscribers

Request parameter

Parameter nameTypeINRequiredDescription
page_requestAppSubscribePageRequestqueryfalseThe request body.

Description of page_request

Parameter nameTypeINRequiredDescription
page_sizeInteger falseThe number of items returned on each page. Default value: 100. Maximum value: 200.
page_noInteger falseThe current page number. Default value: 1.

Return parameter

Parameter nameTypeDescription
resultPageResultThe returned result. Valid values:

Description of result

Parameter nameTypeDescription
totalLongThe total number of returned entries.
dataListA collection of data.
has_moreBooleanSpecifies whether to return the next page.

Description of data

Parameter nameTypeDescription
subscriber_idStringThe ID of a specified subscriber.
subscriber_nameStringThe name of a specified subscriber.

Request example

GET: /v1.0/iot-02/paas/appstore/isv/subscribers

Return example

{
    "code": "200",
    "result": {
        "data": [
            {
                "subscriber_id": "xxx",
                "subscriber_name": "xxx"
            }
        ],
        "total": 2,
        "has_more": false
    },
    "success": "true"
}

Error code

For more information, see error code.