Obtaining the Subscription Status
Function
Obtain the subscription status of the management console service.
URI
GET /koodrive/ose/v1/service
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Authorization |
Yes |
String |
Access token. Token authentication is used to call KooDrive APIs. A token indicates the permission. When an API is called, the token is added to the request header to obtain the operation permission. For details about how to obtain an access token, see the corresponding developer guide. The format is Bearer+{access_token}. |
language |
No |
String |
Language code, which complies with the internationalization specifications. For example, en-US indicates English (United States). English (United States) is used by default. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
code |
String |
Response code. |
msg |
String |
Response message. |
data |
ServiceStatus object |
Cloud service subscription status. |
Parameter |
Type |
Description |
---|---|---|
status |
Integer |
Service status.
|
spaceCapacity |
Integer |
Space quota. |
userCount |
Integer |
OrgID user quota. |
groupSpaceSize |
Integer |
Default size of the team space. 0 indicates that no space is enabled. |
personalSpaceSize |
Integer |
Default size of the individual space. 0 indicates that no space is enabled. |
organizationName |
String |
Organization name. |
organizationId |
String |
Organization ID. |
rootDeptCode |
String |
Root department code generated after the organization is created in OrgID. |
tenantId |
String |
Tenant ID. |
departmentSpaceSize |
String |
Default size of the department space. 0 indicates that no space is enabled. |
aiAvailable |
String |
Whether AI is enabled. |
wpsAvailable |
String |
Whether WPS is enabled. |
productType |
String |
Product type. |
Example Requests
Request for obtaining the subscription status of the management console service.
GET /koodrive/ose/v1/service Authorization:Bearer+10f88d***************4791e9ff
Example Responses
Status code: 200
Service status.
{ "data": { "tenantId": "40086000004871666", "status": 0, "spaceCapacity": 10000, "userCount": 7000, "personalSpaceSize": 0, "groupSpaceSize": 10, "organizationName": "KooDrive", "organizationId": "9190086000001210958", "rootDeptCode": "aed8a3763f9b4177beb2dd8bce1a3885", "departmentSpaceSize":0 "productType":"2" "wpsAvailable":true "aiAvailable": true }, "code": 0, "msg": "Successful" }
Status Codes
Status Code |
Description |
---|---|
200 |
Service status. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot