{
  "opencollection": "1.0.0",
  "info": {
    "name": "Openlayer Commits Tests API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Tests",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List project tests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openlayer.com/v1/projects/:projectId/tests",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the project."
              },
              {
                "name": "includeArchived",
                "value": "",
                "type": "query"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by test type (integrity, consistency, performance)."
              }
            ]
          },
          "docs": "List the tests defined within a project."
        },
        {
          "info": {
            "name": "Create a project test",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openlayer.com/v1/projects/:projectId/tests",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new test within a project."
        },
        {
          "info": {
            "name": "Update project tests",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.openlayer.com/v1/projects/:projectId/tests",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update one or more tests within a project."
        },
        {
          "info": {
            "name": "Evaluate a test",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openlayer.com/v1/tests/:testId/evaluate",
            "params": [
              {
                "name": "testId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the test."
              }
            ]
          },
          "docs": "Trigger an evaluation of a test by its id."
        },
        {
          "info": {
            "name": "List results for a test",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openlayer.com/v1/tests/:testId/results",
            "params": [
              {
                "name": "testId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the test."
              }
            ]
          },
          "docs": "List results for a test"
        }
      ]
    }
  ],
  "bundled": true
}