← Research API
PublisherSites
Singular: PublisherSite — Base URL: https://research.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"payload": {
"_id": "6a6af3f39ff424f91def18b1",
"domain": "20min.ch",
"name": "20 Minuten",
"group": "TX Group",
"region": "de",
"category": "news",
"reachRank": 1,
"active": true,
"source": "seed-100-curated-2026-07",
"crawlProfile": {
"visitsPerDay": 2,
"geos": [
"CH"
],
"depth": 2,
"isDraft": true
},
"isDraft": true,
"createdBy": "5a76d07e2d8b3270ff6df587",
"createdAt": "2026-07-30T06:49:23.680Z",
"updatedAt": "2026-09-10T18:00:00.046Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://research.ayoune.app/publishersites/6a6af3f39ff424f91def18b1",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6aa386ef5463155bbfda3a10",
"errors": [],
"actions": [],
"version": {
"host": "2026.15.0",
"core": "2026.333.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2478",
"reset": "1789105407",
"resetDate": "Fri Sep 11 2026"
},
"responseTime": 103.315368,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /publishersites |
List with filters/pagination | research.publishersites.view |
| GET | /publishersites/:id |
Single record | research.publishersites.view |
| POST | /publishersites |
Create new record | research.publishersites.new |
| PUT | /publishersites |
Update record | research.publishersites.edit |
| DELETE | /publishersites/:id |
Delete record | research.publishersites.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.research.publisherSites.find().limit(10).exec();
// Single record
const one = await ay.research.publisherSites.findById('OBJECT_ID').exec();
// Create
const created = await ay.research.publisherSites.create({ name: 'Foo' });