Mengambil daftar prosesor konsumsi yang sesuai dengan parameter yang ditentukan.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /consumeprocessors HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
test-project |
| processorName |
string |
No |
Identitas prosesor konsumsi. |
consume-processor-1 |
| displayName |
string |
No |
Nama tampilan prosesor konsumsi. |
filter-get-request |
| offset |
string |
No |
Offset kueri. Nilai default: 0. |
0 |
| size |
string |
No |
Jumlah entri yang akan dikembalikan. Nilai default: 200. |
100 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| total |
integer |
The total number of consume processors that meet the query conditions. |
20 |
| count |
integer |
The number of consume processors returned in the current response. |
10 |
| processors |
array |
The list of consume processors. |
|
| ConsumeProcessor |
The information about the consume processor. |
Contoh
Respons sukses
JSONformat
{
"total": 20,
"count": 10,
"processors": [
{
"processorName": "consume-processor-1",
"displayName": "字段过滤处理",
"description": "过滤content字段",
"configuration": {
"spl": "* | project content"
},
"createTime": 1717171200,
"updateTime": 1717171200
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.