8000 GitHub - foreza/ad-client-latency-test: App to quickly record latency values
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

foreza/ad-client-latency-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distort

MVP Backend server for recording latency. (copied from Distort Provision)

Problem:

We don't have any feasible solution to record latency beyond manual measurement. We need to record client latencies for ad requests for iOS, Android, and Windows clients.

Solution:

Backend server/DB to store all latency related data, be able to sort by platform and calculate an average latency.

TODO

  • WIP
  • WIP
  • WIP

API DOCUMENTATION

[PUBLIC] Add a new session

URL : /api/session Method : POST Content : User will be provided a list of the sessions.

{
    "TODO": 123
}

Working example All fields must be sent.

{
    "broadcastUID": "123456"
}

[PUBLIC] Show all recorded sessions (in raw JSON format)

URL : /api/session Method : GET Data constraints : {}

Success Responses

Condition : No sessions in the DB / sessions unavailable. Code : 200 OK Content : {[]}

OR

Condition : User can see 1 or more latency sessions. Code : 200 OK Content : User will be provided a list of the sessions.

{
    "TODO": 123
}

Success Responses

Condition : No issue. Code : 200 OK Content : {[]}

[PUBLIC] Get a specific distort session information by ID (if present)

URL : /api/session Method : GET Data constraints : Provide the UID of the specific session to be retrieved.

{
    "broadcastUID": "[]"
}

Working example All fields must be sent.

{
    "broadcastUID": "123456"
}

Success Responses

Condition : No matching session found. Code : 200 OK Content : {[]}

OR

Condition : Matching session was found. Code : 200 OK Content : User will be provided with the information of that session.

{
    "TODO": 123
}

TODO: Update a new distort session URL : /api/distort Method : PUT

TODO: Delete a distort session URL : /api/distort Method : DELETE

TODO: Delete all distort sessions URL : /api/distort Method : DELETE

About

App to quickly record latency values

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0