Hi everyone,
I’m a RT noob so my apoplogies for possible mistakes and I’m using RT 5.0.7 with mysql.
I’m trying to use the REST2 API to retrieve the articles collection via API but I obtain an empty collection. I’m using basic auth with root credentials.
curl -si -u "root:mypwd" "https://myrt.com/REST/2.0/articles"
{
"page" : 1,
"pages" : 0,
"per_page" : 20,
"total" : 0,
"count" : 0,
"items" : []
}
The strange things is that if i try to access to single article by Id I get the article:
curl -si -u "root:mypwd" "https://myrt.com/REST/2.0/article/1"
{
"LastUpdated" : "2025-01-16T23:58:53Z",
"Name" : "faq coda 1",
"Parent" : "0",
"SortOrder" : "0",
"Created" : "2025-01-16T16:30:26Z",
...
Maybe a bug?
Thanks in advance for any help.