{
  "opencollection": "1.0.0",
  "info": {
    "name": "DocuSign Admin AccountBrands RequestLogs API",
    "version": "v2.1"
  },
  "items": [
    {
      "info": {
        "name": "RequestLogs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Docusign Gets the API request logging log files.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.docusign.net/Management/v2/diagnostics/request_logs",
            "params": [
              {
                "name": "encoding",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a list of log entries as a JSON or xml object or as a zip file containing the entries.\n\nIf the Accept header is set to application/zip, the response is a zip file containing individual text files, each representing an API request.\n\nIf the Accept header is set to `application/json` or `application/xml`, the response returns list of log entries in either JSON or XML. An example JSON response body is shown below. "
        },
        {
          "info": {
            "name": "Docusign Deletes the request log files.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.docusign.net/Management/v2/diagnostics/request_logs"
          },
          "docs": "Deletes the request log files."
        },
        {
          "info": {
            "name": "Docusign Gets a request logging log file.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.docusign.net/Management/v2/diagnostics/request_logs/:requestLogId",
            "params": [
              {
                "name": "requestLogId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves information for a single log entry.\n\n**Request**\nThe `requestLogfId` property can be retrieved by getting the list of log entries. The Content-Transfer-Encoding header can be set to base64 to retrieve the API request/response as base 64 string. Otherwise the bytes of the request/response are returned.\n\n**Response**\nIf the Content-Transfer-Encoding header was set to base64, the log is returned as a base64 string."
        },
        {
          "info": {
            "name": "Docusign Gets the API request logging settings.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.docusign.net/Management/v2/diagnostics/settings"
          },
          "docs": "Retrieves the current API request logging setting for the user and remaining log entries.\n\n**Response**\nThe response includes the current API request logging setting for the user, along with the maximum log entries and remaining log entries."
        },
        {
          "info": {
            "name": "Docusign Enables or disables API request logging for troubleshooting.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.docusign.net/Management/v2/diagnostics/settings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Enables or disables API request logging for troubleshooting.\n\nWhen enabled (`apiRequestLogging` is set to true), REST API requests and responses for the user are added to a log. A log can have up to 50 requests/responses and the current number of log entries can be determined by getting the settings. Logging is automatically disabled when the log limit of 50 is reached.\n\nYou can call [ML:GetRequestLog] or [ML:GetRequestLogs] to download the log files (individually or as a zip file). Call [ML:Del"
        }
      ]
    }
  ],
  "bundled": true
}