adex-platform icon indicating copy to clipboard operation
adex-platform copied to clipboard

(tracking) AIP#61: AdEx V5: Market integration inside Platform

Open elpiel opened this issue 3 years ago • 0 comments

Validator's units-for-slot

These are the routes that need to be moved to the platform in order to move the GET /units-for-slot in the adex-validator (rust):

  • /websites
  • /units
  • /units/:ipfs
  • ~/slot~ An AdSlot will be passed directly by the source code on the publisher website. However, the rest of the values returned by the Market's getWebsitesInfo by passing an AdSlot, should also be accessible, as they are used in /units-for-slot:
pub struct AdSlotResponse {
    pub slot: AdSlot,
    pub accepted_referrers: Vec<Url>, // <---
    pub categories: Vec<String>, // <---
    pub alexa_rank: Option<f64>, // <---
}

elpiel avatar Feb 04 '22 12:02 elpiel