I'm trying to access the page views using the documentation code found here:
https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-analytics/#api-wiki-rest-api-analytics-content-contentid-viewers-get
with intended output:
{"id":15,"count":53}
but when I run the code I get a 404 error
Is there a better way to do this?
parche en sí se deriva de un desarrollo en el lenguaje que mejor adecuen para sí <no de un dominio (404) El parque
Necesarios crear un aporte desde tu sitio de lenguaje de desarrollo con el nombre que desees usar y las características que necesitas evalúa sus accesorios (archivos) correspondientes a el uso de ese API
@comunidad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Craig J , welcome to the Atlassian Community!
Check in browser if the ID is correct, as a 404 error means the resource doesn’t exist.
If the user doesn’t have access, the API will return a 401 error. For content that is restricted, a 403 error will be thrown if the given user (not anonymous) lacks the necessary permissions.
My quick test:
On the left (green box) existing content, on the right not existing with id '1'.
Windows from top: owner of restricted document, other user, at the bottom anonymous user.
Note space is public, but that given page is private
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.