사진 디스플레이 보고
이미지가 표시되는 횟수는 뮤직스토리에 전달되어야 합니다.
카운터는 고객 측에서 수행되며 목록 또는 썸네일을 통한 최종 표시를 제외한 이미지가 표시된 횟수에 해당합니다.
신고는 최소 하루에 한 번만 이루어져야 합니다.
사용할 엔드포인트는 다음과 같습니다 " https://api.v2.music-story.com/report/picture/usage "
테스트 목적으로 이 토큰을 사용하세요: KUiKPN4ukFMZ8u0ppxrdh8SHoHjvo63HWtU3jr1n2es
요청 본문에서 전달할 객체는 다 음과 같습니다:
Field | Type | Comment |
---|---|---|
id_transaction | int | customer id transaction. Used to avoid double counting in the event of a retry. |
assets[].id_picture | int | Identifier of picture. (from API of dataflow metadata). |
assets[].count | int | image display counter |
예
curl -X 'POST' \
'https://api.v2.music-story.com/report/picture/usage' \
-H 'accept: */*' \
-H 'Authorization: Bearer XXXXX' \
-H 'Content-Type: application/json' \
-d '{
"id_transaction": 1713343643,
"assets": [
{
"id_picture": 4615,
"count": 124
},
{
"id_picture": 6976,
"count": 54
}
]
}'