Browse Source

yamd_query_options.yml - Описание запросов к API. Тип запроса (GET/POST), тип содержимого запроса.

master
Sergey Kiselev 7 years ago
parent
commit
15e9e1d918
  1. 98
      yamd_query_options.yml

98
yamd_query_options.yml

@ -0,0 +1,98 @@
---
default_content_type: 'application/x-www-form-urlencoded'
deputy:
list:
query_type: 'GET'
add:
query_type: 'POST'
delete:
query_type: 'POST'
dkim:
status:
query_type: 'GET'
disable:
query_type: 'POST'
enable:
query_type: 'POST'
dns:
list:
query_type: 'GET'
add:
query_type: 'POST'
del:
query_type: 'POST'
edit:
query_type: 'POST'
domain:
details:
query_type: 'GET'
domains:
query_type: 'GET'
registration_status:
query_type: 'GET'
delete:
query_type: 'POST'
register:
query_type: 'POST'
logo:
check:
query_type: 'GET'
del:
query_type: 'POST'
set:
content_type: 'multipart/form-data'
query_type: 'POST'
settings:
set_country:
query_type: 'POST'
email:
counters:
query_type: 'GET'
list:
query_type: 'GET'
add:
query_type: 'POST'
del:
query_type: 'POST'
edit:
query_type: 'POST'
get_oauth_token:
query_type: 'POST'
ml:
list:
query_type: 'GET'
subscribers:
query_type: 'GET'
add:
query_type: 'POST'
del:
query_type: 'POST'
get_can_send_on_behalf:
query_type: 'POST'
set_can_send_on_behalf:
query_type: 'POST'
subscribe:
query_type: 'POST'
unsubscribe:
query_type: 'POST'
import:
check_imports:
query_type: 'GET'
check_settings:
query_type: 'GET'
start_import_file:
content_type: 'multipart/form-data'
query_type: 'POST'
start_one_import:
query_type: 'POST'
stop_all_imports:
query_type: 'POST'