Protocols/AOL/Midas/Megaphone: Difference between revisions

From NINA Wiki
Jump to navigation Jump to search
m (Rewording the 2nd sentence in "Backend Language")
(Added info about the responses of the categories POST request)
Line 15: Line 15:
Response:
Response:
A list of categories.
A list of categories.
{| class="wikitable"
|-
! Response Name !! Response Description
|-
| id || UUID (identifier) of the category
|-
| name || Name of the category
|-
| locale || The language of the category
|-
| adult || Is this category an adult category?
|-
| createdAt || Created at time in milliseconds
|-
| displayName || Display name
|-
| isCreatedByAolMember || Is this category created by an AOL member? (See adult if so)
|-
| isPrivate || Is this category private?
|}

Revision as of 20:13, 4 December 2020

Megaphone is the API and system developed in-house by AOL to be used exclusively with the chat system for AOL Desktop Gold.

Backend Language

Megaphone is completely coded in JS or Javascript. When a user accesses AOL Desktop Gold and goes to access the chat system, Megaphone is what powers it. Megaphone is loaded in the client as a minified version of itself, this is so the file size will be smaller.

POST Requests

api/v1/categories

This allows to get the chat categories available.


Request parameters: “locale”: The language that you would like results to be displayed in.

Response: A list of categories.

Response Name Response Description
id UUID (identifier) of the category
name Name of the category
locale The language of the category
adult Is this category an adult category?
createdAt Created at time in milliseconds
displayName Display name
isCreatedByAolMember Is this category created by an AOL member? (See adult if so)
isPrivate Is this category private?