{
  "opencollection": "1.0.0",
  "info": {
    "name": "Doppel alerts reports API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.doppel.com/v1/report",
            "params": [
              {
                "name": "url",
                "value": "",
                "type": "query",
                "description": "The reported URL to retrieve details for"
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "The report ID to retrieve details for"
              },
              {
                "name": "display_id",
                "value": "",
                "type": "query",
                "description": "The report's display ID to retrieve details for"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves the report details by URL or ID. Must include exactly one of either `url`, `id` or `display_id`."
        },
        {
          "info": {
            "name": "Submit Report",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.doppel.com/v1/report",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Submit a report for the provided URL. Will fail if the URL is invalid or is protected (e.g. google.com) in Doppel's system."
        },
        {
          "info": {
            "name": "Update Report",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.doppel.com/v1/report",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "url",
                "value": "",
                "type": "query",
                "description": "One of the reports urls to update"
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "The id of the report to update"
              },
              {
                "name": "display_id",
                "value": "",
                "type": "query",
                "description": "The display ID of the report to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Updates a report in the system with certain parameters."
        },
        {
          "info": {
            "name": "Get Reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.doppel.com/v1/reports",
            "params": [
              {
                "name": "search_key",
                "value": "",
                "type": "query",
                "description": "Currently only supports search by url"
              },
              {
                "name": "sourced_before",
                "value": "",
                "type": "query",
                "description": "Filter reports sourced before this date. '2024-01-05T13:45:30' -- Represents the 5th of January 2024, at 1:45:30 PM"
              },
              {
                "name": "sourced_after",
                "value": "",
                "type": "query",
                "description": "Filter reports sourced after this date. '2024-01-05T13:45:30' -- Represents the 5th of January 2024, at 1:45:30 PM"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination; defaults to 0"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of reports per page (default 30, max 200)"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Retrieves a list of reports. Can be filtered by various parameters."
        }
      ]
    }
  ],
  "bundled": true
}