Difference between revisions of "NATS5 REST API Maintenance GET admin-actions"
From TMM Wiki
Jump to navigationJump to searchLine 76: | Line 76: | ||
** optional | ** optional | ||
+ | == '''Example Request''' == | ||
+ | Method: '''GET'''<br/> | ||
+ | URL: <nowiki>http://domain/api/maintenance/admin-actions</nowiki><br/> | ||
+ | |||
+ | Response: | ||
+ | <pre> | ||
+ | { | ||
+ | "total_count": 105838, | ||
+ | "actions": [ | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684704, | ||
+ | "page": "\/api\/service", | ||
+ | "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\/overview", | ||
+ | "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": "49746", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "", | ||
+ | "REQUEST_URI": "\/api\/service\/timezone", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/service\/timezone", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/service\/timezone", | ||
+ | "PHP_SELF": "\/api\/service\/timezone", | ||
+ | "REQUEST_TIME_FLOAT": "1555684704.83", | ||
+ | "REQUEST_TIME": "1555684704" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "timezone", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "service" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "view": "timezone", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "timezone", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "service" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "timezone", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:24", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684704, | ||
+ | "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_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\/overview", | ||
+ | "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": "49738", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "", | ||
+ | "REQUEST_URI": "\/api\/report\/widgets", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/report\/widgets", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/widgets", | ||
+ | "PHP_SELF": "\/api\/report\/widgets", | ||
+ | "REQUEST_TIME_FLOAT": "1555684704.881", | ||
+ | "REQUEST_TIME": "1555684704" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "widgets", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "report" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "view": "widgets", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "widgets", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "report" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "widgets", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:24", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684704, | ||
+ | "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\/overview", | ||
+ | "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": "49740", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "", | ||
+ | "REQUEST_URI": "\/api\/affiliate\/current", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/affiliate\/current", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/current", | ||
+ | "PHP_SELF": "\/api\/affiliate\/current", | ||
+ | "REQUEST_TIME_FLOAT": "1555684704.892", | ||
+ | "REQUEST_TIME": "1555684704" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "current", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "affiliate" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "view": "current", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "current", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "affiliate" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "current", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:24", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684704, | ||
+ | "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_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\/overview", | ||
+ | "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": "49742", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "", | ||
+ | "REQUEST_URI": "\/api\/report\/groups", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/report\/groups", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/groups", | ||
+ | "PHP_SELF": "\/api\/report\/groups", | ||
+ | "REQUEST_TIME_FLOAT": "1555684704.887", | ||
+ | "REQUEST_TIME": "1555684704" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "groups", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "report" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "view": "groups", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "groups", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "report" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "groups", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:24", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49744", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "", | ||
+ | "REQUEST_URI": "\/api\/report\/widget-info", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/report\/widget-info", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/widget-info", | ||
+ | "PHP_SELF": "\/api\/report\/widget-info", | ||
+ | "REQUEST_TIME_FLOAT": "1555684704.88", | ||
+ | "REQUEST_TIME": "1555684704" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "widget-info", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "report" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "view": "widget-info", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "widget-info", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "report" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "widget-info", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "page": "\/api\/service", | ||
+ | "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\/overview", | ||
+ | "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": "49746", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "", | ||
+ | "REQUEST_URI": "\/api\/service\/project", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/service\/project", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/service\/project", | ||
+ | "PHP_SELF": "\/api\/service\/project", | ||
+ | "REQUEST_TIME_FLOAT": "1555684704.95", | ||
+ | "REQUEST_TIME": "1555684704" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "project", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "service" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "view": "project", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "project", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "service" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "project", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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\/overview", | ||
+ | "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": "49748", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "", | ||
+ | "REQUEST_URI": "\/api\/affiliate\/current-permissions", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/affiliate\/current-permissions", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/current-permissions", | ||
+ | "PHP_SELF": "\/api\/affiliate\/current-permissions", | ||
+ | "REQUEST_TIME_FLOAT": "1555684704.83", | ||
+ | "REQUEST_TIME": "1555684704" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "current-permissions", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "affiliate" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "view": "current-permissions", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "current-permissions", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "affiliate" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "current-permissions", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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\/overview", | ||
+ | "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": "49740", | ||
+ | "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": "1555684705.009", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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\/overview", | ||
+ | "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": "49738", | ||
+ | "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": "1555684705.01", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49742", | ||
+ | "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": "1555684705.076", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49748", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "report=profit_loss&report_widget=overview", | ||
+ | "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=overview", | ||
+ | "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": "1555684705.095", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "report-widget", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "report" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "report": "profit_loss", | ||
+ | "report_widget": "overview", | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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\/overview", | ||
+ | "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": "49746", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "as_array=1&loginid=1", | ||
+ | "REQUEST_URI": "\/api\/affiliate\/search?as_array=1&loginid=1", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/affiliate\/search", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/search", | ||
+ | "PHP_SELF": "\/api\/affiliate\/search", | ||
+ | "REQUEST_TIME_FLOAT": "1555684705.063", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "search", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "affiliate" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "as_array": "1", | ||
+ | "loginid": "1", | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49738", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "start=Sat,%2006%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2012%20Apr%202019%2023:59:59", | ||
+ | "REQUEST_URI": "\/api\/report\/profit-loss?start=Sat,%2006%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2012%20Apr%202019%2023:59:59", | ||
+ | "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": "1555684705.135", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "profit-loss", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "report" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "start": "Sat, 06 Apr 2019 00:00:00", | ||
+ | "widget": "overview", | ||
+ | "view": "profit-loss", | ||
+ | "period": "8", | ||
+ | "end": "Fri, 12 Apr 2019 23:59:59", | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49740", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "start=Sat,%2013%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2019%20Apr%202019%2023:59:59", | ||
+ | "REQUEST_URI": "\/api\/report\/profit-loss?start=Sat,%2013%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2019%20Apr%202019%2023:59:59", | ||
+ | "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": "1555684705.112", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "profit-loss", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "report" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "start": "Sat, 13 Apr 2019 00:00:00", | ||
+ | "widget": "overview", | ||
+ | "view": "profit-loss", | ||
+ | "period": "8", | ||
+ | "end": "Fri, 19 Apr 2019 23:59:59", | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49742", | ||
+ | "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": "1555684705.204", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49748", | ||
+ | "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": "1555684705.199", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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\/overview", | ||
+ | "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": "49744", | ||
+ | "GATEWAY_INTERFACE": "CGI\/1.1", | ||
+ | "SERVER_PROTOCOL": "HTTP\/1.1", | ||
+ | "REQUEST_METHOD": "GET", | ||
+ | "QUERY_STRING": "loginid=1&set_group=15", | ||
+ | "REQUEST_URI": "\/api\/affiliate\/settings?loginid=1&set_group=15", | ||
+ | "SCRIPT_NAME": "\/api", | ||
+ | "PATH_INFO": "\/affiliate\/settings", | ||
+ | "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/settings", | ||
+ | "PHP_SELF": "\/api\/affiliate\/settings", | ||
+ | "REQUEST_TIME_FLOAT": "1555684705.045", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "API": { | ||
+ | "affiliate_loginid": "1", | ||
+ | "method": "GET", | ||
+ | "resource": "settings", | ||
+ | "version": 1, | ||
+ | "source": "UI", | ||
+ | "collection": "affiliate" | ||
+ | }, | ||
+ | "GET": { | ||
+ | "loginid": "1", | ||
+ | "set_group": "15", | ||
+ | "view": "settings", | ||
+ | "api_affiliate_loginid": "1", | ||
+ | "api_method": "GET", | ||
+ | "api_resource": "settings", | ||
+ | "api_version": 1, | ||
+ | "api_source": "UI", | ||
+ | "api_collection": "affiliate" | ||
+ | }, | ||
+ | "action": false, | ||
+ | "view": "settings", | ||
+ | "ip": "75.99.182.234", | ||
+ | "date": "2019-04-19 10:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49746", | ||
+ | "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": "1555684705.237", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | }, | ||
+ | { | ||
+ | "loginid": "1", | ||
+ | "time": 1555684705, | ||
+ | "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_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\/overview", | ||
+ | "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": "49748", | ||
+ | "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": "1555684705.322", | ||
+ | "REQUEST_TIME": "1555684705" | ||
+ | }, | ||
+ | "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:38:25", | ||
+ | "username": "productsupport" | ||
+ | } | ||
+ | ], | ||
+ | "success": true | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | |||
== '''Example Code''' == | == '''Example Code''' == | ||
Line 135: | Line 1,470: | ||
[[Category:NATS4_REST_maintenance_Collection]] | [[Category:NATS4_REST_maintenance_Collection]] | ||
[[Category:Autogenerated_Wiki_Article]]<!-- Remove this tag when customizing a wiki article. The article will no longer be automatically updated --> | [[Category:Autogenerated_Wiki_Article]]<!-- Remove this tag when customizing a wiki article. The article will no longer be automatically updated --> | ||
+ | [[Category:Autogenerated_Rest_Sample]]<!-- This article has a generated REST API Sample from our unit testing system. Also remove if customizing the wiki article --> |
Revision as of 13:27, 7 June 2019
GET /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
- optional
- has_view
- type: boolean_digit
- 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
Response:
{ "total_count": 105838, "actions": [ { "loginid": "1", "time": 1555684704, "page": "\/api\/service", "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\/overview", "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": "49746", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/service\/timezone", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/service\/timezone", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/service\/timezone", "PHP_SELF": "\/api\/service\/timezone", "REQUEST_TIME_FLOAT": "1555684704.83", "REQUEST_TIME": "1555684704" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "timezone", "version": 1, "source": "UI", "collection": "service" }, "GET": { "view": "timezone", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "timezone", "api_version": 1, "api_source": "UI", "api_collection": "service" }, "action": false, "view": "timezone", "ip": "75.99.182.234", "date": "2019-04-19 10:38:24", "username": "productsupport" }, { "loginid": "1", "time": 1555684704, "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_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\/overview", "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": "49738", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/report\/widgets", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/widgets", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/widgets", "PHP_SELF": "\/api\/report\/widgets", "REQUEST_TIME_FLOAT": "1555684704.881", "REQUEST_TIME": "1555684704" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "widgets", "version": 1, "source": "UI", "collection": "report" }, "GET": { "view": "widgets", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "widgets", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "widgets", "ip": "75.99.182.234", "date": "2019-04-19 10:38:24", "username": "productsupport" }, { "loginid": "1", "time": 1555684704, "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\/overview", "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": "49740", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/affiliate\/current", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/current", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/current", "PHP_SELF": "\/api\/affiliate\/current", "REQUEST_TIME_FLOAT": "1555684704.892", "REQUEST_TIME": "1555684704" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "current", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "view": "current", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "current", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "current", "ip": "75.99.182.234", "date": "2019-04-19 10:38:24", "username": "productsupport" }, { "loginid": "1", "time": 1555684704, "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_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\/overview", "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": "49742", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/report\/groups", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/groups", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/groups", "PHP_SELF": "\/api\/report\/groups", "REQUEST_TIME_FLOAT": "1555684704.887", "REQUEST_TIME": "1555684704" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "groups", "version": 1, "source": "UI", "collection": "report" }, "GET": { "view": "groups", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "groups", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "groups", "ip": "75.99.182.234", "date": "2019-04-19 10:38:24", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49744", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/report\/widget-info", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/report\/widget-info", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/report\/widget-info", "PHP_SELF": "\/api\/report\/widget-info", "REQUEST_TIME_FLOAT": "1555684704.88", "REQUEST_TIME": "1555684704" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "widget-info", "version": 1, "source": "UI", "collection": "report" }, "GET": { "view": "widget-info", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "widget-info", "api_version": 1, "api_source": "UI", "api_collection": "report" }, "action": false, "view": "widget-info", "ip": "75.99.182.234", "date": "2019-04-19 10:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "page": "\/api\/service", "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\/overview", "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": "49746", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/service\/project", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/service\/project", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/service\/project", "PHP_SELF": "\/api\/service\/project", "REQUEST_TIME_FLOAT": "1555684704.95", "REQUEST_TIME": "1555684704" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "project", "version": 1, "source": "UI", "collection": "service" }, "GET": { "view": "project", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "project", "api_version": 1, "api_source": "UI", "api_collection": "service" }, "action": false, "view": "project", "ip": "75.99.182.234", "date": "2019-04-19 10:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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\/overview", "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": "49748", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "", "REQUEST_URI": "\/api\/affiliate\/current-permissions", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/current-permissions", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/current-permissions", "PHP_SELF": "\/api\/affiliate\/current-permissions", "REQUEST_TIME_FLOAT": "1555684704.83", "REQUEST_TIME": "1555684704" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "current-permissions", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "view": "current-permissions", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "current-permissions", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "current-permissions", "ip": "75.99.182.234", "date": "2019-04-19 10:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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\/overview", "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": "49740", "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": "1555684705.009", "REQUEST_TIME": "1555684705" }, "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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\/overview", "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": "49738", "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": "1555684705.01", "REQUEST_TIME": "1555684705" }, "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49742", "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": "1555684705.076", "REQUEST_TIME": "1555684705" }, "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49748", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "report=profit_loss&report_widget=overview", "REQUEST_URI": "\/api\/report\/report-widget?report=profit_loss&report_widget=overview", "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": "1555684705.095", "REQUEST_TIME": "1555684705" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "report-widget", "version": 1, "source": "UI", "collection": "report" }, "GET": { "report": "profit_loss", "report_widget": "overview", "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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\/overview", "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": "49746", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "as_array=1&loginid=1", "REQUEST_URI": "\/api\/affiliate\/search?as_array=1&loginid=1", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/search", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/search", "PHP_SELF": "\/api\/affiliate\/search", "REQUEST_TIME_FLOAT": "1555684705.063", "REQUEST_TIME": "1555684705" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "search", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "as_array": "1", "loginid": "1", "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49738", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "start=Sat,%2006%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2012%20Apr%202019%2023:59:59", "REQUEST_URI": "\/api\/report\/profit-loss?start=Sat,%2006%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2012%20Apr%202019%2023:59:59", "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": "1555684705.135", "REQUEST_TIME": "1555684705" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "profit-loss", "version": 1, "source": "UI", "collection": "report" }, "GET": { "start": "Sat, 06 Apr 2019 00:00:00", "widget": "overview", "view": "profit-loss", "period": "8", "end": "Fri, 12 Apr 2019 23:59:59", "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49740", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "start=Sat,%2013%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2019%20Apr%202019%2023:59:59", "REQUEST_URI": "\/api\/report\/profit-loss?start=Sat,%2013%20Apr%202019%2000:00:00&widget=overview&view=date&period=8&end=Fri,%2019%20Apr%202019%2023:59:59", "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": "1555684705.112", "REQUEST_TIME": "1555684705" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "profit-loss", "version": 1, "source": "UI", "collection": "report" }, "GET": { "start": "Sat, 13 Apr 2019 00:00:00", "widget": "overview", "view": "profit-loss", "period": "8", "end": "Fri, 19 Apr 2019 23:59:59", "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49742", "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": "1555684705.204", "REQUEST_TIME": "1555684705" }, "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49748", "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": "1555684705.199", "REQUEST_TIME": "1555684705" }, "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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\/overview", "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": "49744", "GATEWAY_INTERFACE": "CGI\/1.1", "SERVER_PROTOCOL": "HTTP\/1.1", "REQUEST_METHOD": "GET", "QUERY_STRING": "loginid=1&set_group=15", "REQUEST_URI": "\/api\/affiliate\/settings?loginid=1&set_group=15", "SCRIPT_NAME": "\/api", "PATH_INFO": "\/affiliate\/settings", "PATH_TRANSLATED": "\/home\/itai\/nats5\/www\/affiliate\/settings", "PHP_SELF": "\/api\/affiliate\/settings", "REQUEST_TIME_FLOAT": "1555684705.045", "REQUEST_TIME": "1555684705" }, "API": { "affiliate_loginid": "1", "method": "GET", "resource": "settings", "version": 1, "source": "UI", "collection": "affiliate" }, "GET": { "loginid": "1", "set_group": "15", "view": "settings", "api_affiliate_loginid": "1", "api_method": "GET", "api_resource": "settings", "api_version": 1, "api_source": "UI", "api_collection": "affiliate" }, "action": false, "view": "settings", "ip": "75.99.182.234", "date": "2019-04-19 10:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49746", "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": "1555684705.237", "REQUEST_TIME": "1555684705" }, "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:38:25", "username": "productsupport" }, { "loginid": "1", "time": 1555684705, "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_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\/overview", "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": "49748", "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": "1555684705.322", "REQUEST_TIME": "1555684705" }, "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:38:25", "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( // Add API parameters here ); $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); ?>