[backend] accept articles from crawler

This commit is contained in:
2025-10-07 00:15:38 +02:00
parent 327ba5179d
commit 449718cdf2
397 changed files with 1490 additions and 3063 deletions
@@ -0,0 +1,32 @@
meta {
name: add-article
type: http
seq: 1
}
post {
url: {{baseUrl}}/aggregator/articles?token=dev
body: json
auth: inherit
}
params:query {
token: dev
}
body:json {
{
"title": "test",
"body": "hello world",
"link": "https://devscast.tech",
"categories": ["a", "b"],
"source": "radiookapi.net",
"timestamp": 12,
"metadata": {
"title": "test",
"description": "some description",
"image": "https://devscast.tech/logo.svg",
"locale": "fr"
}
}
}