Object Model
This section describes the API and backend service object models.
- Operation Type indicates the operation that can be performed on a field.
C: create; U: update; R: read
- Mandatory indicates whether a field with the Operation Type of C is mandatory.
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
API ID |
R |
- |
name |
String |
API name |
CRU |
Yes |
group_id |
String |
ID of the API group to which the API belongs |
CR |
Yes |
type |
Integer |
Type of the API, which can be:
|
CRU |
Yes |
status |
Integer |
Status of the API, which can be:
Default value: 1 This parameter is not used currently. |
R |
- |
version |
String |
Version of the API |
CRU |
No |
req_protocol |
String |
Request protocol, which can be:
Default value: HTTPS |
CRU |
No |
req_method |
String |
Request method, which can be:
|
CRU |
Yes |
req_uri |
String |
Access address (URI) of the API, excluding the domain name, port number, and request protocol |
CRU |
Yes |
auth_type |
String |
Security authentication mode, which can be:
|
CRU |
Yes |
authorizer_id |
String |
ID of the frontend custom authorizer |
CRU |
No |
match_mode |
String |
Route matching mode, which can be:
|
CRU |
Yes |
arrange_necessary |
Integer |
Indicates whether orchestration is required. The value can be:
Default value: 2 |
R |
- |
backend_type |
String |
Backend type, which can be:
|
CRU |
Yes |
register_time |
Timestamp |
Time when the API was created |
R |
- |
update_time |
Timestamp |
Time when the API was last modified |
R |
- |
remark |
String |
Description of the API |
CRU |
No |
tag |
String |
API tag |
CRU |
No |
cors |
String |
Indicates whether cross-origin resource sharing (CORS) is supported
Default value: FALSE |
CRU |
No |
response_id |
String |
ID of the custom response |
CRU |
No |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Web backend ID |
R |
- |
status |
Integer |
Status of the web backend, which can be:
Default value: 1 This parameter is not used currently. |
R |
- |
version |
String |
Version of the web backend |
CRU |
No |
url_domain |
String |
Backend endpoint |
CRU |
Yes |
req_protocol |
String |
Request protocol, which can be:
|
CRU |
Yes |
req_method |
String |
Request method, which can be:
|
CRU |
Yes |
req_uri |
String |
Access address (URI) of the web backend |
CRU |
Yes |
timeout |
Integer |
Timeout duration in milliseconds. Range: 1–60,000. |
CRU |
Yes |
front_api_id |
String |
API ID |
R |
- |
register_time |
Timestamp |
Creation time |
R |
- |
update_time |
Timestamp |
Time when the web backend was last modified |
R |
- |
remark |
String |
Description of the web backend |
CRU |
No |
vpc_status |
Integer |
Indicates whether to use a VPC channel. The value can be:
|
CRU |
No. No VPC channel is used by default. |
vpc_info |
String |
VPC channel information |
CRU |
No This parameter is required only when vpc_status is set to 1. |
authorizer_id |
String |
ID of the backend custom authorizer |
CRU |
No |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Mock backend ID |
R |
- |
front_api_id |
String |
API ID |
R |
- |
status |
Integer |
Status of the Mock backend, which can be:
Default value: 1 This parameter is not used currently. |
R |
- |
version |
String |
Version of the Mock backend |
CRU |
No |
result_content |
String |
Mock response |
CRU |
No |
register_time |
Timestamp |
Creation time |
R |
- |
update_time |
Timestamp |
Time when the Mock backend was last modified |
R |
- |
remark |
String |
Description of the Mock backend |
CRU |
No |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Function ID |
R |
- |
front_api_id |
String |
API ID |
R |
- |
status |
Integer |
Status of the function, which can be:
Default value: 1 This parameter is not used currently. |
R |
- |
version |
String |
Function version |
CRU |
No |
function_urn |
String |
Function URN |
CRU |
Yes |
invocation_type |
String |
Invocation mode, which can be async or sync |
CRU |
Yes |
timeout |
Integer |
Timeout duration in milliseconds. Range: 1–60,000. |
CRU |
Yes |
register_time |
Date |
Creation time |
R |
- |
update_time |
Date |
Time when the function was last modified |
R |
- |
remark |
String |
Description of the function |
CRU |
No |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Parameter ID |
R |
- |
front_api_id |
String |
API ID |
R |
- |
name |
String |
Parameter name |
CRU |
Yes |
type |
String |
Parameter type, which can be:
|
CRU |
Yes |
location |
String |
Parameter location, which can be:
|
CRU |
Yes |
default_value |
String |
Default value |
CRU |
No |
sample_value |
String |
Example value |
CRU |
No |
required |
Integer |
Whether the parameter is mandatory
|
CRU |
Yes |
valid_enable |
Integer |
Whether validity check is enabled
|
CRU |
Yes |
remark |
String |
Parameter description |
CRU |
No |
enumerations |
String |
Enumerated value |
CRU |
No |
min_num |
String |
Minimum value |
CRU |
No |
max_num |
String |
Maximum value |
CRU |
No |
min_size |
Integer |
Minimum length |
CRU |
No |
max_size |
Integer |
Maximum length |
CRU |
No |
regular |
String |
Regular verification rule (currently not supported) |
CRU |
No |
json_schema |
String |
JSON verification rule (currently not supported) |
CRU |
No |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Parameter ID |
R |
- |
front_api_id |
String |
API ID |
R |
- |
req_param_id |
String |
ID of the request parameter to which the backend parameter is mapped |
R |
- |
name |
String |
Parameter name |
CRU |
Yes |
location |
String |
Parameter location, which can be:
|
CRU |
Yes |
origin |
String |
Parameter type, which can be:
|
CRU |
Yes |
value |
String |
Parameter value
|
CRU |
No |
remark |
String |
Parameter description |
CRU |
No |
policy_id |
String |
ID of the associated policy condition |
CRU |
No |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Backend ID |
R |
- |
front_api_id |
String |
API ID |
R |
- |
name |
String |
Backend name |
CRU |
Yes |
url_domain |
String |
Backend endpoint |
CRU |
Yes |
req_protocol |
String |
Request protocol, which can be:
|
CRU |
Yes |
req_method |
String |
Request method, which can be:
|
CRU |
Yes |
req_uri |
String |
Access address (URI) of the web backend |
CRU |
Yes |
timeout |
Integer |
Timeout duration in milliseconds. Range: 1–60,000. |
CRU |
No |
vpc_status |
Integer |
Indicates whether to use a VPC channel. The value can be:
|
CRU |
No. No VPC channel is used by default. |
vpc_info |
String |
VPC channel information |
CRU |
No This parameter is required only when vpc_status is set to 1. |
effect_mode |
String |
Effective mode of the backend policy
|
CRU |
Yes |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Backend ID |
R |
- |
front_api_id |
String |
API ID |
R |
- |
name |
String |
Backend name |
CRU |
Yes |
result_content |
String |
Mock response |
CRU |
No |
effect_mode |
String |
Effective mode of the backend policy
|
CRU |
Yes |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Backend ID |
R |
- |
front_api_id |
String |
API ID |
R |
- |
name |
String |
Backend name |
CRU |
Yes |
version |
String |
Function version |
CRU |
No |
function_urn |
String |
Function URN |
CRU |
Yes |
invocation_type |
String |
Invocation mode, which can be async or sync |
CRU |
Yes |
timeout |
Integer |
Timeout duration in milliseconds. Range: 1–60,000. |
CRU |
Yes |
effect_mode |
String |
Effective mode of the backend policy
|
CRU |
Yes |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
id |
String |
Backend policy condition ID |
R |
- |
condition_type |
String |
Condition type. Options:
|
CRU |
No |
condition_value |
String |
Condition value |
CRU |
Yes |
condition_origin |
String |
Condition source. Options:
|
CRU |
Yes |
req_param_id |
String |
Input parameter ID |
R |
- |
policy_backend_id |
String |
Backend policy ID |
CRU |
Yes |
Parameter |
Type |
Description |
Operation Type |
Mandatory |
---|---|---|---|---|
app_code_auth_type |
String |
Indicates whether AppCode authentication is enabled. This parameter is valid only when auth_type is set to App. The default value is DISABLE.
|
CRU |
- |
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