수집된 이벤트의 매핑 문제 조회
curl --request GET \
--url https://meterengine.com/v1/event-issues/search \
--header 'Authorization: Bearer <token>'const url = 'https://meterengine.com/v1/event-issues/search';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"cutoff_at": "2023-11-07T05:31:56Z",
"issues": [
{
"action_hint": "<string>",
"billable_metric_code": "<string>",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_name": "<string>",
"negative_quantity": true,
"occurred_at": "2023-11-07T05:31:56Z",
"reason": "<string>",
"received_at": "2023-11-07T05:31:56Z",
"target_property": "<string>",
"transaction_id": "<string>",
"type": "<string>"
}
],
"month": "<string>",
"page": 123,
"size": 123,
"summary": {
"invalid_target_property": 123,
"unknown_event_type": 123,
"unpriced_usage": 123
},
"total": 123,
"warnings": {
"future_event_count": 123,
"negative_event_metric_count": 123,
"scope": "<string>"
}
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}이벤트 매핑 진단
수집된 이벤트의 매핑 문제 조회
현재 월 정의와 단가로 cutoff 이전 원본을 진단한다. total과 summary는 고객/검색/사유 필터 전체의 문제 행 수이며 한 이벤트에 여러 미터 문제가 있을 수 있다. warnings는 조직/월 전체다. 고객을 찾지 못해 수집이 거절된 이벤트는 저장되지 않아 포함하지 않는다. 원본 properties는 반환하지 않는다. 페이지는 0부터 시작한다. 모르는 조회 조건은 400 validation_error로 거절한다.
GET
/
v1
/
event-issues
/
search
수집된 이벤트의 매핑 문제 조회
curl --request GET \
--url https://meterengine.com/v1/event-issues/search \
--header 'Authorization: Bearer <token>'const url = 'https://meterengine.com/v1/event-issues/search';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"cutoff_at": "2023-11-07T05:31:56Z",
"issues": [
{
"action_hint": "<string>",
"billable_metric_code": "<string>",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_name": "<string>",
"negative_quantity": true,
"occurred_at": "2023-11-07T05:31:56Z",
"reason": "<string>",
"received_at": "2023-11-07T05:31:56Z",
"target_property": "<string>",
"transaction_id": "<string>",
"type": "<string>"
}
],
"month": "<string>",
"page": 123,
"size": 123,
"summary": {
"invalid_target_property": 123,
"unknown_event_type": 123,
"unpriced_usage": 123
},
"total": 123,
"warnings": {
"future_event_count": 123,
"negative_event_metric_count": 123,
"scope": "<string>"
}
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}{
"code": "validation_error",
"message": "서버 내부 오류입니다",
"errors": [
{
"field": "event_type",
"message": "공백일 수 없습니다"
}
]
}인증
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
쿼리 매개변수
Pattern:
unknown_event_type|invalid_target_property|unpriced_usageMaximum string length:
255필수 범위:
x >= 0필수 범위:
1 <= x <= 100