Actual Server Version: 1.0

DOMAINS JSON:

Project:
/1.0/project/all- Receive All Active Projects
/1.0/project/id?id=[id] - Receive a json project, if exist and stay active
/1.0/project/id/[id] - Receive a json project, if exist and stay active
/1.0/project/flush?id=[id] - Reset a project cached data


Customer:
/1.0/customer/all?p=[project_id]- project_id: Project Id *required - Receive All Active Customers
/1.0/customer/id?id=[customer_id] - Receive a json customer, if exist and stay active
/1.0/customer/id/[customer_id] - Receive a json customer, if exist and stay active
/1.0/customer/flush?id=[customer_id] - Reset a customer cached data


Campaign:
/1.0/campaign/all?p=[project_id]&c=[customer_id]- project_id: Project Id *required - customer_id: Customer Id (optional) - Receive All Active Campaing
/1.0/campaign/id?id=[id] - Receive a json campaign, if exist and stay active
/1.0/campaign/old?p=[project_id]&id=[old_campaign_id] - Receive a json campaign, if exist and stay active
/1.0/campaign/flush?id=[id] - Reset a campaign cached data


Screen:
/1.0/screen/all?p=[project_id]- project_id: Project Id *required - Receive All Active Screens


Local | Site:
/1.0//site/id?id=[site_old_id]&p=[project_id]- project_id: Project Id *required - Receive All Active Screens


Other Reports:
/1.0/flushall - Reset all cached data


Edge Cheking:
/1.0/app/checking/groups - GET { bearer authorization } : receive a list of project to participe
/1.0/app/checking/campaign?g=[group_id] - GET { bearer authorization } + group_id *required : receive a list of project to participe
/1.0/app/checking/locais?g=[group_id]&c=[campaign_id] - GET { bearer authorization } + group_id *required + campaign_id ( optional ) : receive a list of locals with have campaigns
/1.0/app/checking/billboards?g=[group_id]&c=[campaign_id] - GET { bearer authorization } + group_id *required : receive a list of billboards to participe
/1.0/app/checking/screen?g=[group_id]&l=[local_id]&c=[campaign_id] - GET { bearer authorization } + group_id *required + local_id *required + campaign_id *optional : receive a list of screen to local


/1.0/app/checking/user - POST { ip authorization } : add a user into a group -
/1.0/app/checking/user - DELETE { ip authorization } : delete a user into a group -


Report Campaign json Commands:
/1.0/report/campaign/auth?start_date=[date]&end_date=[date] - Report all campaigns between two dates ( Authentication by basic authentication using project login and password)
/1.0/report/campaign/all?start_date=[date]&end_date=[date]&p=[project_id] - Report all campaigns between two dates
/1.0/report/campaign?c=[campaign_id] - Report all data about a campaing
/1.0/report/campaign/[campaign_id] - Report all data about a campaing


Led Burn Monitoring System:
/1.0/statusled ( POST ) - no autenthication ( por enquanto)