Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15167

The parameter type is not included in the docs for the Realm Admin API section Logs

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Realm
    • Labels:
      None
    • 2

      Hello team,

      In the documentation for Logs in the Admin API for Realm, there is no mention of the parameter type which can hold different values in relation to what type of logs we want to retrieve.

      Some of the values could be the following, but there is more

      AUTH_TRIGGER,DB_TRIGGER,SCHEDULED_TRIGGER,GRAPHQL,SYNC_CONNECTION_START,SYNC_CONNECTION_END,SYNC_SESSION_START,SYNC_SESSION_END,SYNC_CLIENT_WRITE,SYNC_ERROR,SYNC_OT

      Also the parameter type error_only it specified to be a boolean but the response will not depend on the boolean value but on the mere presence of this parameter in the query. So, if you don't want the errors to be returned in the response you need to remove error_only altogether instead of assigning a value of false. I think this is confusing and not accurate with the description of this parameter in the docs.

      Thanks!

       

            Assignee:
            nathan.contino@mongodb.com Nathan Contino (Inactive)
            Reporter:
            josman.perez@mongodb.com Josman Perez Exposito
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 5 weeks, 4 days ago