Skip to content

Icon card group related apis

v1.7.* version is supported

Query Project Information by Unique Identifier

URL

/openapi/v1/itemGroup/getInfo

Request Content

Parameter Description

Parameter NameExample ValueParameter TypeRequiredParameter Description
itemGroupID1IntegerEither itemGroupID or onlyName must be filled, if both are filled, itemGroupID will be usedGroup ID
onlyNametest_baiduStringEither itemGroupID or onlyName must be filled, if both are filled, itemGroupID will be usedUnique identifier
Content Example
json
{
    "onlyName": "group1"
}

Successful Response

Parameter Description

Parameter NameExample ValueParameter TypeParameter Description
itemGroupID1IntegerGroup ID
titleBaiduStringTitle
onlyNametest_baiduStringUnique identifier
Content Example
javascript
{
	"code": 0,
	"data": {
		"onlyName": "group1",
		"itemGroupID": 45,
		"title": "Group 1"
	},
	"msg": "OK"
}

Error Response

Possible error code: 1203, for specific meanings of error codes, click here

Content Example
javascript
{
    "code": 1203,
    "msg": "..."
}

Get All Groups (List)

URL

/openapi/v1/itemGroup/getList

Request Content

- No request parameters required -

Successful Response

Parameter Description

Parameter NameExample ValueParameter TypeParameter Description
count3IntegerNumber of list items
list-ArrayList items
list.itemGroupID1IntegerGroup ID
list.titleGroup 1StringTitle
list.onlyNamegroup1StringUnique identifier
Content Example
javascript
{
	"code": 0,
	"data": {
		"count": 3,
		"list": [
			{
				"onlyName": "group1",
				"itemGroupID": 45,
				"title": "Group 1"
			},
			{
				"onlyName": "666",
				"itemGroupID": 43,
				"title": "test"
			},
			{
				"onlyName": "sun-app",
				"itemGroupID": 38,
				"title": "APP"
			}
		]
	},
	"msg": "OK"
}

Error Response

Click here to view

Released under the MIT License.