News Reader Basis

This commit is contained in:
2025-01-26 02:12:03 +08:00
parent a355e3bf90
commit 963e538ae5
20 changed files with 1251 additions and 69 deletions

View File

@ -0,0 +1,11 @@
meta {
name: List News Sources
type: http
seq: 3
}
get {
url: {{endpoint}}/cgi/re/well-known/sources
body: none
auth: none
}

17
api/Reader/List News.bru Normal file
View File

@ -0,0 +1,17 @@
meta {
name: List News
type: http
seq: 2
}
get {
url: {{endpoint}}/cgi/re/news?take=10&offset=0&source=taiwan-pts
body: none
auth: none
}
params:query {
take: 10
offset: 0
source: taiwan-pts
}

View File

@ -0,0 +1,17 @@
meta {
name: Trigger Scan News
type: http
seq: 1
}
post {
url: {{endpoint}}/cgi/re/admin/scan
body: json
auth: inherit
}
body:json {
{
"eager": true
}
}