adex-platform
adex-platform copied to clipboard
(tracking) AIP#61: AdEx V5: Market integration inside Platform
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~ AnAdSlotwill be passed directly by the source code on the publisher website. However, the rest of the values returned by the Market'sgetWebsitesInfoby 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>, // <---
}