NATS5 REST API Maintenance GET admin-actions
From TMM Wiki
(Redirected from NATS4 REST API Maintenance GET admin-actions)
Jump to navigationJump to searchGET /maintenance/admin-actions
Description
- Search admin actions
Resource URL
- http://domain/api/maintenance/admin-actions
- Replace domain with the nats domain
- GET
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- start
- type: digit
- optional
- count
- type: digit
- optional (default value: 20)
- loginid
- type: digit
- optional
- loginid_compare
- type: string
- optional (default value: =)
- affiliate
- type: string
- optional
- affiliate_compare
- type: string
- optional (default value: =)
- start_date
- type: string
- optional
- end_date
- type: string
- optional
- full
- type: string
- optional
- has_action
- type: boolean_digit (0 or 1)
- optional
- has_view
- type: boolean_digit (0 or 1)
- optional
- search_page
- type: string
- optional
- search_page_compare
- type: string
- optional (default value: =)
- search_action
- type: string
- optional
- search_action_compare
- type: string
- optional (default value: =)
- search_view
- type: string
- optional
- search_view_compare
- type: string
- optional (default value: =)
- text_search
- type: string
- optional
Example Request
Method: GET
URL: http://domain/api/maintenance/admin-actions
Query String: start=100&count=25&loginid=1&start_date=2018-06-10&end_date=2020-06-10&has_view=1
Response:
{ "total_count": 121913, "actions": [ { "loginid": "1", "time": 1555684877, "page": "\/api\/notification", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50831", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/notification\/count", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/notification\/count", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/notification\/count", "PHP_SELF": "\/api\/notification\/count", "REQUEST_TIME_FLOAT": "1555684877.228", "REQUEST_TIME": "1555684877" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "count", "version": 1, "source": "UI", "collection": "notification" }, "GET": { "view": "count", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "count", "api_version": 1, "api_source": "UI", "api_collection": "notification" }, "action": false, "view": "count", "ip": "75.99.182.234", "date": "2019-04-19 10:41:17", "username": "productsupport" }, { "loginid": "1", "time": 1555684877, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50831", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/report\/hit-totals", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/hit-totals", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/hit-totals", "PHP_SELF": "\/api\/report\/hit-totals", "REQUEST_TIME_FLOAT": "1555684877.458", "REQUEST_TIME": "1555684877" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "hit-totals", "version": 1, "source": "UI", "collection": "report" }, "GET": { "view": "hit-totals", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "hit-totals", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "hit-totals", "ip": "75.99.182.234", "date": "2019-04-19 10:41:17", "username": "productsupport" }, { "loginid": "1", "time": 1555684877, "page": "\/api\/affiliate", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50831", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "start=0&count=10&as_array=1&widget=1&orderby=join_date+desc", "REQUEST_URI": "\/api\/affiliate\/search?start=0&count=10&as_array=1&widget=1&orderby=join_date+desc", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/search", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/search", "PHP_SELF": "\/api\/affiliate\/search", "REQUEST_TIME_FLOAT": "1555684877.695", "REQUEST_TIME": "1555684877" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "search", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "start": "0", "count": "10", "as_array": "1", "widget": "1", "orderby": "join_date desc", "view": "search", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "search", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "search", "ip": "75.99.182.234", "date": "2019-04-19 10:41:17", "username": "productsupport" }, { "loginid": "1", "time": 1555684877, "page": "\/api\/member", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50831", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "start=0&count=10&as_array=1&widget=1&orderby=m.joined%20DESC", "REQUEST_URI": "\/api\/member\/search?start=0&count=10&as_array=1&widget=1&orderby=m.joined%20DESC", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/member\/search", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/member\/search", "PHP_SELF": "\/api\/member\/search", "REQUEST_TIME_FLOAT": "1555684877.863", "REQUEST_TIME": "1555684877" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "search", "version": 1, "source": "UI", "collection": "member" }, "GET": { "start": "0", "count": "10", "as_array": "1", "widget": "1", "orderby": "m.joined DESC", "view": "search", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "search", "api_version": 1, "api_source": "UI", "api_collection": "member" }, "action": false, "view": "search", "ip": "75.99.182.234", "date": "2019-04-19 10:41:17", "username": "productsupport" }, { "loginid": "1", "time": 1555684877, "page": "\/api\/affiliate", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50832", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/affiliate\/override", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/override", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/override", "PHP_SELF": "\/api\/affiliate\/override", "REQUEST_TIME_FLOAT": "1555684877.914", "REQUEST_TIME": "1555684877" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "override", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "view": "override", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "override", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "override", "ip": "75.99.182.234", "date": "2019-04-19 10:41:17", "username": "productsupport" }, { "loginid": "1", "time": 1555684878, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50832", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "report=profit_loss&report_widget=site_performance", "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=site_performance", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/report-widget", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/report-widget", "PHP_SELF": "\/api\/report\/report-widget", "REQUEST_TIME_FLOAT": "1555684878.093", "REQUEST_TIME": "1555684878" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "report-widget", "version": 1, "source": "UI", "collection": "report" }, "GET": { "report": "profit_loss", "report_widget": "site_performance", "view": "report-widget", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "report-widget", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "report-widget", "ip": "75.99.182.234", "date": "2019-04-19 10:41:18", "username": "productsupport" }, { "loginid": "1", "time": 1555684878, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50831", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "report=profit_loss&report_widget=program_performance", "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=program_performance", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/report-widget", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/report-widget", "PHP_SELF": "\/api\/report\/report-widget", "REQUEST_TIME_FLOAT": "1555684878.145", "REQUEST_TIME": "1555684878" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "report-widget", "version": 1, "source": "UI", "collection": "report" }, "GET": { "report": "profit_loss", "report_widget": "program_performance", "view": "report-widget", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "report-widget", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "report-widget", "ip": "75.99.182.234", "date": "2019-04-19 10:41:18", "username": "productsupport" }, { "loginid": "1", "time": 1555684878, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50832", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "count=10&widget=site_performance&view=site&period=0&order=join_hits&direction=1", "REQUEST_URI": "\/api\/report\/profit-loss?count=10&widget=site_performance&view=site&period=0&order=join_hits&direction=1", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/profit-loss", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/profit-loss", "PHP_SELF": "\/api\/report\/profit-loss", "REQUEST_TIME_FLOAT": "1555684878.16", "REQUEST_TIME": "1555684878" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "profit-loss", "version": 1, "source": "UI", "collection": "report" }, "GET": { "count": "10", "widget": "site_performance", "view": "profit-loss", "period": "0", "order": "join_hits", "direction": "1", "params_view": "site", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "profit-loss", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "profit-loss", "ip": "75.99.182.234", "date": "2019-04-19 10:41:18", "username": "productsupport" }, { "loginid": "1", "time": 1555684878, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50833", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "report=profit_loss&report_widget=affiliate_performance", "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=affiliate_performance", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/report-widget", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/report-widget", "PHP_SELF": "\/api\/report\/report-widget", "REQUEST_TIME_FLOAT": "1555684878.194", "REQUEST_TIME": "1555684878" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "report-widget", "version": 1, "source": "UI", "collection": "report" }, "GET": { "report": "profit_loss", "report_widget": "affiliate_performance", "view": "report-widget", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "report-widget", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "report-widget", "ip": "75.99.182.234", "date": "2019-04-19 10:41:18", "username": "productsupport" }, { "loginid": "1", "time": 1555684878, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50831", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "count=10&widget=program_performance&view=program&period=0&order=join_hits&direction=1", "REQUEST_URI": "\/api\/report\/profit-loss?count=10&widget=program_performance&view=program&period=0&order=join_hits&direction=1", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/profit-loss", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/profit-loss", "PHP_SELF": "\/api\/report\/profit-loss", "REQUEST_TIME_FLOAT": "1555684878.207", "REQUEST_TIME": "1555684878" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "profit-loss", "version": 1, "source": "UI", "collection": "report" }, "GET": { "count": "10", "widget": "program_performance", "view": "profit-loss", "period": "0", "order": "join_hits", "direction": "1", "params_view": "program", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "profit-loss", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "profit-loss", "ip": "75.99.182.234", "date": "2019-04-19 10:41:18", "username": "productsupport" }, { "loginid": "1", "time": 1555684878, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50833", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "count=10&widget=affiliate_performance&view=login&period=0&order=join_hits&direction=1", "REQUEST_URI": "\/api\/report\/profit-loss?count=10&widget=affiliate_performance&view=login&period=0&order=join_hits&direction=1", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/profit-loss", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/profit-loss", "PHP_SELF": "\/api\/report\/profit-loss", "REQUEST_TIME_FLOAT": "1555684878.264", "REQUEST_TIME": "1555684878" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "profit-loss", "version": 1, "source": "UI", "collection": "report" }, "GET": { "count": "10", "widget": "affiliate_performance", "view": "profit-loss", "period": "0", "order": "join_hits", "direction": "1", "params_view": "login", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "profit-loss", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "profit-loss", "ip": "75.99.182.234", "date": "2019-04-19 10:41:18", "username": "productsupport" }, { "loginid": "1", "time": 1555684884, "page": "\/api\/message", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_USER_AGENT": "Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.5", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/payments\/bulk_payments", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_X_XSRF_TOKEN": "OXHUNeXjCm4ufkWkzMCZ+CtzCefjhdb4", "HTTP_CONNECTION": "keep-alive", "HTTP_COOKIE": "PHPSESSID=3ies9b1djpajmr4vvsmih6oc35", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "49826", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/message\/count", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/message\/count", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/message\/count", "PHP_SELF": "\/api\/message\/count", "REQUEST_TIME_FLOAT": "1555684884.965", "REQUEST_TIME": "1555684884" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "count", "version": 1, "source": "UI", "collection": "message" }, "GET": { "view": "count", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "count", "api_version": 1, "api_source": "UI", "api_collection": "message" }, "action": false, "view": "count", "ip": "75.99.182.234", "date": "2019-04-19 10:41:24", "username": "productsupport" }, { "loginid": "1", "time": 1555684885, "page": "\/api\/notification", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_USER_AGENT": "Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.5", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/payments\/bulk_payments", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_X_XSRF_TOKEN": "OXHUNeXjCm4ufkWkzMCZ+CtzCefjhdb4", "HTTP_CONNECTION": "keep-alive", "HTTP_COOKIE": "PHPSESSID=3ies9b1djpajmr4vvsmih6oc35", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "49826", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/notification\/count", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/notification\/count", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/notification\/count", "PHP_SELF": "\/api\/notification\/count", "REQUEST_TIME_FLOAT": "1555684885.934", "REQUEST_TIME": "1555684885" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "count", "version": 1, "source": "UI", "collection": "notification" }, "GET": { "view": "count", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "count", "api_version": 1, "api_source": "UI", "api_collection": "notification" }, "action": false, "view": "count", "ip": "75.99.182.234", "date": "2019-04-19 10:41:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684886, "page": "\/api\/affiliate", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_USER_AGENT": "Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.5", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/payments\/bulk_payments", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_X_XSRF_TOKEN": "OXHUNeXjCm4ufkWkzMCZ+CtzCefjhdb4", "HTTP_CONNECTION": "keep-alive", "HTTP_COOKIE": "PHPSESSID=3ies9b1djpajmr4vvsmih6oc35", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "49826", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/affiliate\/override", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/override", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/override", "PHP_SELF": "\/api\/affiliate\/override", "REQUEST_TIME_FLOAT": "1555684886.937", "REQUEST_TIME": "1555684886" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "override", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "view": "override", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "override", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "override", "ip": "75.99.182.234", "date": "2019-04-19 10:41:26", "username": "productsupport" }, { "loginid": "1", "time": 1555684892, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50835", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/report\/hit-totals", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/hit-totals", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/hit-totals", "PHP_SELF": "\/api\/report\/hit-totals", "REQUEST_TIME_FLOAT": "1555684892.483", "REQUEST_TIME": "1555684892" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "hit-totals", "version": 1, "source": "UI", "collection": "report" }, "GET": { "view": "hit-totals", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "hit-totals", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "hit-totals", "ip": "75.99.182.234", "date": "2019-04-19 10:41:32", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50838", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "report=profit_loss&report_widget=engagement", "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=engagement", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/report-widget", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/report-widget", "PHP_SELF": "\/api\/report\/report-widget", "REQUEST_TIME_FLOAT": "1555684907.091", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "report-widget", "version": 1, "source": "UI", "collection": "report" }, "GET": { "report": "profit_loss", "report_widget": "engagement", "view": "report-widget", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "report-widget", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "report-widget", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50839", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "start=0&widget=engagement&view=date&total_only=1&period=15", "REQUEST_URI": "\/api\/report\/profit-loss?start=0&widget=engagement&view=date&total_only=1&period=15", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/profit-loss", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/profit-loss", "PHP_SELF": "\/api\/report\/profit-loss", "REQUEST_TIME_FLOAT": "1555684907.094", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "profit-loss", "version": 1, "source": "UI", "collection": "report" }, "GET": { "start": "0", "widget": "engagement", "view": "profit-loss", "total_only": "1", "period": "15", "params_view": "date", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "profit-loss", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "profit-loss", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/message", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50839", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/message\/count", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/message\/count", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/message\/count", "PHP_SELF": "\/api\/message\/count", "REQUEST_TIME_FLOAT": "1555684907.221", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "count", "version": 1, "source": "UI", "collection": "message" }, "GET": { "view": "count", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "count", "api_version": 1, "api_source": "UI", "api_collection": "message" }, "action": false, "view": "count", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/notification", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50838", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/notification\/count", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/notification\/count", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/notification\/count", "PHP_SELF": "\/api\/notification\/count", "REQUEST_TIME_FLOAT": "1555684907.221", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "count", "version": 1, "source": "UI", "collection": "notification" }, "GET": { "view": "count", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "count", "api_version": 1, "api_source": "UI", "api_collection": "notification" }, "action": false, "view": "count", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50838", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/report\/hit-totals", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/hit-totals", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/hit-totals", "PHP_SELF": "\/api\/report\/hit-totals", "REQUEST_TIME_FLOAT": "1555684907.458", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "hit-totals", "version": 1, "source": "UI", "collection": "report" }, "GET": { "view": "hit-totals", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "hit-totals", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "hit-totals", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/affiliate", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50838", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "start=0&count=10&as_array=1&widget=1&orderby=join_date+desc", "REQUEST_URI": "\/api\/affiliate\/search?start=0&count=10&as_array=1&widget=1&orderby=join_date+desc", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/search", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/search", "PHP_SELF": "\/api\/affiliate\/search", "REQUEST_TIME_FLOAT": "1555684907.695", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "search", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "start": "0", "count": "10", "as_array": "1", "widget": "1", "orderby": "join_date desc", "view": "search", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "search", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "search", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/member", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50838", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "start=0&count=10&as_array=1&widget=1&orderby=m.joined%20DESC", "REQUEST_URI": "\/api\/member\/search?start=0&count=10&as_array=1&widget=1&orderby=m.joined%20DESC", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/member\/search", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/member\/search", "PHP_SELF": "\/api\/member\/search", "REQUEST_TIME_FLOAT": "1555684907.87", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "search", "version": 1, "source": "UI", "collection": "member" }, "GET": { "start": "0", "count": "10", "as_array": "1", "widget": "1", "orderby": "m.joined DESC", "view": "search", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "search", "api_version": 1, "api_source": "UI", "api_collection": "member" }, "action": false, "view": "search", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684907, "page": "\/api\/affiliate", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50839", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/affiliate\/override", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/override", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/override", "PHP_SELF": "\/api\/affiliate\/override", "REQUEST_TIME_FLOAT": "1555684907.912", "REQUEST_TIME": "1555684907" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "override", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "view": "override", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "override", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "override", "ip": "75.99.182.234", "date": "2019-04-19 10:41:47", "username": "productsupport" }, { "loginid": "1", "time": 1555684908, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50839", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "report=profit_loss&report_widget=site_performance", "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=site_performance", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/report-widget", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/report-widget", "PHP_SELF": "\/api\/report\/report-widget", "REQUEST_TIME_FLOAT": "1555684908.284", "REQUEST_TIME": "1555684908" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "report-widget", "version": 1, "source": "UI", "collection": "report" }, "GET": { "report": "profit_loss", "report_widget": "site_performance", "view": "report-widget", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "report-widget", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "report-widget", "ip": "75.99.182.234", "date": "2019-04-19 10:41:48", "username": "productsupport" }, { "loginid": "1", "time": 1555684908, "page": "\/api\/report", "SERVER": { "GEOIP_ADDR": "75.99.182.234", "GEOIP_CONTINENT_CODE": "NA", "GEOIP_COUNTRY_CODE": "US", "GEOIP_COUNTRY_NAME": "United States", "HTTP_HOST": "nats5.itai.dev2.toomuchmedia.com", "HTTP_CONNECTION": "keep-alive", "HTTP_ACCEPT": "application\/json, text\/plain, *\/*", "HTTP_X_XSRF_TOKEN": "VacltCZP32S\/CBSzZTNlCNASlx+lsYxL", "HTTP_X_NATS_ENTITY_DECODE": "1", "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36", "HTTP_REFERER": "http:\/\/nats5.itai.dev2.toomuchmedia.com\/admin\/overview", "HTTP_ACCEPT_ENCODING": "gzip, deflate", "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9", "HTTP_COOKIE": "PHPSESSID=1nt8s9enuc5igqkc0f2lnhgvl0", "PATH": "\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nats5.itai.dev2.toomuchmedia.com Port 80<\/address>\n", "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)", "SERVER_NAME": "nats5.itai.dev2.toomuchmedia.com", "SERVER_ADDR": "10.50.0.15", "SERVER_PORT": "80", "REMOTE_ADDR": "75.99.182.234", "DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "REQUEST_SCHEME": "http", "CONTEXT_PREFIX": "", "CONTEXT_DOCUMENT_ROOT": "\/home\/itai\/nats5\/www", "SERVER_ADMIN": "development2.servers@toomuchmedia.com", "SCRIPT_FILENAME": "\/home\/itai\/nats5\/www\/api", "REMOTE_PORT": "50838", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "report=profit_loss&report_widget=program_performance", "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=program_performance", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/report-widget", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/report-widget", "PHP_SELF": "\/api\/report\/report-widget", "REQUEST_TIME_FLOAT": "1555684908.33", "REQUEST_TIME": "1555684908" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "report-widget", "version": 1, "source": "UI", "collection": "report" }, "GET": { "report": "profit_loss", "report_widget": "program_performance", "view": "report-widget", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "report-widget", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "report-widget", "ip": "75.99.182.234", "date": "2019-04-19 10:41:48", "username": "productsupport" } ], "success": true }
Example Code
PHP
<?php $headers = array( //set your username and API key here 'api-key: 44b5498dbcb481a0d00b404c0169af62', 'api-username: tmm1phrvezsbu' ); $url = 'http://yourdomain.com'; //set your NATS URL here $data = Array( 'start' => 100, 'count' => 25, 'loginid' => 1, 'start_date' => '2018-06-10', 'end_date' => '2020-06-10', 'has_view' => 1, ); $request = Array( 'method' => 'GET', 'path' => 'v1/maintenance/admin-actions', 'data' => $data ); /*code below is the same for (almost) every API call */ $curl = curl_init(); $url = $url.'/api/'.$request['path']; $query = http_build_query($request['data']); if($request['method'] == 'GET'){ //add query string parameters to the end of the url $url = $url.'?'.$query; }else{ //send parameters as POST fields curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $query); if($request['method'] != 'POST'){ $headers[] ='X-HTTP-Method: '.$request['method']; //send custom request method } } curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $resp = curl_exec($curl); //dumps an associative array representation of the json var_dump(json_decode($resp, true)); // Close request to clear up some resources curl_close($curl); ?>