From 0b6706adf3908612f57852fbbceb772e67c46b9e Mon Sep 17 00:00:00 2001 From: max Date: Fri, 16 Sep 2022 02:52:41 +0300 Subject: [PATCH] fixes --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4801345..38c09f6 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ codes (200, 400, 403, 502) ### Обновление исходных записей -endpoint: api/(matcher?|source?)/update&token=XXXXXXXXXXX +endpoint: api/(matcher?|source?)/update?token=XXXXXXXXXXX REQUEST ```json @@ -91,9 +91,19 @@ REQUEST ``` +RESPONSE: +codes: 201, 400, 403, 502 +```json +{ + "code": "http_code_duplicate", + "message" : "" +} +``` + + ### Запуск сбора данных -endpoint api/matcher/start&token=XXXXXXXXXXX +endpoint api/matcher/start?token=XXXXXXXXXXX REQUEST: ```json @@ -115,7 +125,7 @@ CODES: 201, 400, 403, 502 ### Остановка сбора данных -endpoint api/matcher/stop&token=XXXXXXXXXXX +endpoint api/matcher/stop?token=XXXXXXXXXXX REQUEST: ```json { @@ -127,6 +137,7 @@ CODES: 201, 400, 403, 502 ```json { + "code": "http_code_duplicate", "message": "" } ``` @@ -169,7 +180,7 @@ RESPONSE: ### Получение данных -endpoint: api/matcher/export&token=XXXXXXXXXXX +endpoint: api/matcher/export?token=XXXXXXXXXXX REQUEST: ```json