웹사이트

GET https://makeron.today/api/websites/
curl --request GET \
--url 'https://makeron.today/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
매개변수 세부사항 설명
page 선택 사항 정수 원하는 페이지 번호입니다. 기본값은 1입니다.
results_per_page 선택 사항 정수 페이지당 원하는 결과 수는 얼마입니까? 허용되는 값은: 10 , 25 , 50 , 100 , 250 , 500 , 1000. 기본값은 25입니다.
{ "data": [ { "id": 1, "pixel_key": "1234567890123456", "name": "Localhost", "scheme": "https://", "host": "example.com", "path": "/", "tracking_type": "normal", "excluded_ips": "", "events_children_is_enabled": false, "sessions_replays_is_enabled": false, "email_reports_is_enabled": false, "email_reports_last_date": "2020-06-23 19:01:22", "is_enabled": true, "date": "2019-11-01 12:00:30" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://makeron.today/api/websites?&page=1", "last": "https://makeron.today/api/websites?&page=1", "next": null, "prev": null, "self": "https://makeron.today/api/websites?&page=1" } }
GET https://makeron.today/api/websites/{website_id}
curl --request GET \
--url 'https://makeron.today/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "pixel_key": "1234567890123456", "name": "Localhost", "scheme": "https://", "host": "example.com", "path": "/", "tracking_type": "normal", "excluded_ips": "", "events_children_is_enabled": false, "sessions_replays_is_enabled": false, "email_reports_is_enabled": false, "email_reports_last_date": "2020-06-23 19:01:22", "is_enabled": true, "date": "2019-11-01 12:00:30" } }
POST https://makeron.today/api/websites
매개변수 세부사항 설명
name 필수 문자열 -
scheme 선택 사항 문자열 허용된 값: http://, https://
host 필수 문자열 웹사이트 호스트 및 경로. 예: https://example.com/path.
tracking_type 선택 사항 문자열 허용된 값: lightweight, normal
excluded_ips 선택 사항 문자열 추적에서 IP를 제외하세요. 쉼표로 구분된 값을 입력하세요.
events_children_is_enabled 선택 사항 부울 방문자 이벤트(마우스 클릭, 크기 조정, 스크롤, 양식 제출)를 추적합니다. 허용되는 값은 0 또는 1입니다. normal 추적 유형에서만 사용할 수 있습니다.
sessions_replays_is_enabled 선택 사항 부울 세션 재생. 허용되는 값은 0 또는 1입니다. normal 추적 유형에만 사용할 수 있습니다.
email_reports_is_enabled 선택 사항 부울 이메일 보고서. 허용되는 값은: 0 또는 1입니다.
curl --request POST \
--url 'https://makeron.today/api/websites' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=website.com' \
--form 'name=Example' \
{ "data": { "id": 1 } }
POST https://makeron.today/api/websites/{website_id}
매개변수 세부사항 설명
name 선택 사항 문자열 -
scheme 선택 사항 문자열 허용된 값: http://, https://
host 선택 사항 문자열 웹사이트 호스트 및 경로. 예: https://example.com/path.
excluded_ips 선택 사항 문자열 추적에서 IP를 제외하세요. 쉼표로 구분된 값을 입력하세요.
events_children_is_enabled 선택 사항 부울 방문자 이벤트(마우스 클릭, 크기 조정, 스크롤, 양식 제출)를 추적합니다. 허용되는 값은 0 또는 1입니다. normal 추적 유형에서만 사용할 수 있습니다.
sessions_replays_is_enabled 선택 사항 부울 세션 재생. 허용되는 값은 0 또는 1입니다. normal 추적 유형에만 사용할 수 있습니다.
email_reports_is_enabled 선택 사항 부울 이메일 보고서. 허용되는 값은: 0 또는 1입니다.
is_enabled 선택 사항 부울 웹사이트 추적 상태. 허용되는 값은: 0 또는 1입니다.
curl --request POST \
--url 'https://makeron.today/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'is_enabled=0' \
{ "data": { "id": 1 } }
DELETE https://makeron.today/api/websites/{website_id}
curl --request DELETE \
--url 'https://makeron.today/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \