User management

Endpoint

GET https://api.mediego.com/1.0/track/user/consent

Parameters

Name Description
engine Client ID (provided by Mediego)
consent Indicates if the user accepts that Mediego tracks its visits and use it to personalize the content that we provide

Response

Success

{
    "success": string // Description of the operation
}

Error

{
    "error": string // Description of the error    
}

Update preferences

Endpoint

PUT https://api.mediego.com/1.0/track/user/preferences

Parameters

Name Description
engine Client ID (provided by Mediego)
euid Client user ID
preferences List of preferred categories
debug (optional) Specify if the request is only for debug and thus should not be recorded

The parameters must be sent as a JSON object in the body of the request, as following:

{
  "engine": string,
  "debug": boolean,
  
  "euid": string,
  "preferences": string[]
}

Response

Success

{
    "success": string // Description of the operation
}

Error

{
    "error": string // Description of the error    
}