My rest api returns 404 :(

I enabled it to listen on all interfaces, restarted ST. Am I using it the wrong way? I want to get the status of the folder

v1.27.3, Windows (64-bit Intel/AMD)

curl -X GET -H "X-API-Key: $API_KEY" "http://192.168.1.100:8384/rest/db/status/FOLDER_ID"

404 page not found

The folder id is a query parameter, not a path parameter. Try something like this:

http://192.168.1.100:8384/rest/db/status?folder=FOLDER_ID
1 Like

Epic find, thank you. That was ChatGPT :frowning:

1 Like