{
  "opencollection": "1.0.0",
  "info": {
    "name": "Amplify Platform API v1.0.0 aca analytics API",
    "version": "16.10.0"
  },
  "items": [
    {
      "info": {
        "name": "analytics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Axway Analytics Query Using Lexus",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.axway.com/api/v1/analytics/query",
            "params": [
              {
                "name": "apim_tier",
                "value": "paid",
                "type": "query"
              },
              {
                "name": "app_guid",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "clients",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "cross_org",
                "value": "true",
                "type": "query"
              },
              {
                "name": "custom_query",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "debug",
                "value": "true",
                "type": "query"
              },
              {
                "name": "endpoint",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "events",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "field",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "from",
                "value": "1",
                "type": "query"
              },
              {
                "name": "granularity",
                "value": "month",
                "type": "query"
              },
              {
                "name": "group_by",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "grquantity",
                "value": "1",
                "type": "query"
              },
              {
                "name": "include_query",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "org_id",
                "value": "507f1f77bcf86cd799439011",
                "type": "query"
              },
              {
                "name": "platform",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "post_process",
                "value": "true",
                "type": "query"
              },
              {
                "name": "prefix",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "preprocessor",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "processor",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "query",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "region",
                "value": "US",
                "type": "query"
              },
              {
                "name": "status",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "to",
                "value": "1",
                "type": "query"
              },
              {
                "name": "type",
                "value": "example_value",
                "type": "query"
              },
              {
                "name": "username",
                "value": "Example Name",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Requests analytics data using lexus queries\n\n___Auth Requirement___\n - _If:_ The parameter `query.app_guid` is given.\n     - _Then:_ `write` access to the organization to which the application belongs.\n     - _Else:_ Access to the organization.\n"
        },
        {
          "info": {
            "name": "Axway Report an Error",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.axway.com/api/v1/analytics/error"
          },
          "docs": "Report an error to platform analytics\n\n_Allows consumer organization access_\n"
        },
        {
          "info": {
            "name": "Axway Create a Custom Query",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.axway.com/api/v1/analytics/custom_query",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to include in the response."
              },
              {
                "name": "exclude_fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to exclude from the response."
              },
              {
                "name": "org_id",
                "value": "1",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a custom query for an app/org.\n\n___Auth Requirement___\n - `write` access to the organization.\n"
        },
        {
          "info": {
            "name": "Axway Find Custom Queries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.axway.com/api/v1/analytics/custom_queries",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to include in the response."
              },
              {
                "name": "exclude_fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to exclude from the response."
              },
              {
                "name": "org_id",
                "value": "1",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Finds all the custom queries a user has access to for a given org.\n\n___Auth Requirement___\n - Access to the organization.\n"
        },
        {
          "info": {
            "name": "Axway Update a Custom Query",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.axway.com/api/v1/analytics/custom_query/:query_id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to include in the response."
              },
              {
                "name": "exclude_fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to exclude from the response."
              },
              {
                "name": "query_id",
                "value": "507f1f77bcf86cd799439011",
                "type": "path"
              },
              {
                "name": "org_id",
                "value": "1",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates a custom query for an app/org.\n\n___Auth Requirement___\n - `write` access to the organization.\n"
        },
        {
          "info": {
            "name": "Axway Delete a Custom Query",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.axway.com/api/v1/analytics/custom_query/:query_id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to include in the response."
              },
              {
                "name": "exclude_fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to exclude from the response."
              },
              {
                "name": "query_id",
                "value": "507f1f77bcf86cd799439011",
                "type": "path"
              },
              {
                "name": "org_id",
                "value": "1",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a custom query for an org.\n\n___Auth Requirement___\n - `write` access to the organization.\n"
        },
        {
          "info": {
            "name": "Axway Get Custom Query",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.axway.com/api/v1/analytics/custom_queries/:query_id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to include in the response."
              },
              {
                "name": "exclude_fields",
                "value": "",
                "type": "query",
                "description": "A list of fields to exclude from the response."
              },
              {
                "name": "query_id",
                "value": "507f1f77bcf86cd799439011",
                "type": "path"
              },
              {
                "name": "org_id",
                "value": "507f1f77bcf86cd799439011",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a single custom query.\n\n___Auth Requirement___\n - Access to the organization.\n"
        }
      ]
    }
  ],
  "bundled": true
}