My api is only tracking the usage of applications that i deployed and not able to see the applications deployed by others

This code is taken from github . I have created API and declared in the below code
I run the code and it is working perfectly.

Basically the requirement is actually, it should track all user activity. But the issue, The application is only tracking the apps that I have deployed in RStudio connect server and if I access other applications deployed by others, i am unable to track it. Any specific reason.? Wanted to check if we can see the track of all applications.

Let me know if I have to paste the entire code below :slight_smile:

```{r preflight_check, results='asis', include=TRUE}
if (
  nchar(Sys.getenv("RSTUDIO_CONNECT_SERVER")) == 0 ||
  nchar(Sys.getenv("RSTUDIO_CONNECT_API_KEY")) == 0
) {
  print(htmltools::h4("ERROR: Variables Not Defined"))

1 Like

According to the API reference you have access only to the content you own as a publisher. Moreover, you have access to all content if you are an admin.


Thanks for the response :slight_smile:

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.