Are the APIs active to the mirnet server?

I am not able to connect to the API server, can you confirm that it is still active?

if not active, can I contribute by making it active?

Error accessing API: HTTPConnectionPool(host='api.mirnet.ca', port=80): Max retries exceeded with url: /table/mir (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab284c6d00>: Failed to establish a new connection: [Errno 60] Operation timed out'))

The API server is offline due to hard disc failure. Will be fixed very soon

Hi nfos, I am working on it. I will give an update once it is done.

Hi, I’m experiencing a 404 as well. When I try to post a request using R. See below.

require("httr") #install.packages("httr")
require("jsonlite") #install.packages("jsonlite")

base <- "http://api.mirnet.ca"
endpoint <- "/table/mir"
call <- paste(base, endpoint, sep="")
query_input <- "hsa-mir-101-3p;hsa-mir-133b;hsa-mir-147a;hsa-mir-3140-3p;hsa-mir-361-5p;hsa-mir-510-5p"
query_results <- POST(call, 
                      body = list(org = "hsa", 
                                  idOpt = "mir_id", 
                                  selSource = "Kidney", 
                                  targetOpt = "gene",
                                  myList = query_input), encode = "json")
> query_results
Response [http://api.mirnet.ca/table/mir]
  Date: 2024-10-17 21:11
  Status: 404
  Content-Type: text/html
  Size: 162 B
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>