Querying Preprocessing Rules
Function
This API is used to query preprocessing rules.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/workspaces/{workspace_id}/soc/mappings/preprocess-rules/search
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Definition Project ID, which is used to specify the project that a resource belongs to. You can query the resources of a project by project ID. You can obtain the project ID from the API or console. Obtaining the Project ID Constraints N/A Range N/A Default Value N/A |
|
workspace_id |
Yes |
String |
Definition Workspace ID. Range N/A |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
Definition User token. You can obtain it by calling the IAM API for obtaining a user token. The user token is the value of X-Subject-Token in the response header. Obtaining a User Token Constraints N/A Range N/A Default Value N/A |
|
content-type |
Yes |
String |
Definition Content type.
Constraints N/A Range
Default Value N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
mapper_ids |
No |
Array of strings |
Mapping ID list. |
|
name |
Yes |
String |
Name. |
|
mapping_id |
No |
String |
The id, display only |
|
start_time |
No |
String |
Creation start time. |
|
end_time |
No |
String |
Creation end time. |
|
offset |
Yes |
Integer |
request offset, from 0 |
|
limit |
Yes |
Integer |
request limit size |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
String |
Definition Error code. Range N/A |
|
message |
String |
Definition Error description. Range N/A |
|
total |
Integer |
tatal count |
|
offset |
Integer |
request offset, from 0 |
|
limit |
Integer |
request limit size |
|
data |
Array of data objects |
list of informations of DPE |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
The id, display only |
|
name |
String |
The name, display only |
|
project_id |
String |
The id, display only |
|
workspace_id |
String |
The id, display only |
|
mapping_id |
String |
The id, display only |
|
mapper_id |
String |
The id, display only |
|
mapper_type_id |
String |
The id, display only |
|
action |
String |
Preprocessing option: drop. |
|
expression |
String |
Expression. |
|
create_time |
String |
Create time |
|
update_time |
String |
Update time |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
code |
String |
Definition Error code. Range N/A |
|
message |
String |
Definition Error description. Range N/A |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Response to the request for querying the preprocessing rule list |
|
400 |
Returned packet for abnormal requests. |
Error Codes
See Error Codes.
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