Card Interface List
- URL:
/GetApiList
- Method:
GET
Request Parameters
None
Request Example
shcurl -X GET -k $API_URL/GetApiList
Successful Response
Successful response code example:
json{
"Apis": [
{
"consume": 4,
"name": "Coco1_Global"
},
{
"consume": 5,
"name": "Coco2_Global"
}
]
}
💡 Note that when using this interface in conjunction with the Check Task Interface, only the characters before "_" are needed, i.e., "Coco2".
Error Response
None
Response Parameter Description
Attribute Name | Type | Description |
---|---|---|
Apis | []string | List of APIs |
consume | int | The points consumption of this API |
name | string | The name of this API and its country |