{
  "opencollection": "1.0.0",
  "info": {
    "name": "Openlayer Commits API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Commits",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List project commits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openlayer.com/v1/projects/:projectId/versions",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the project."
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "perPage",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List the commits (versions) for a project."
        },
        {
          "info": {
            "name": "Create a project commit",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.openlayer.com/v1/projects/:projectId/versions",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new commit (version) within a project."
        },
        {
          "info": {
            "name": "Retrieve a commit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openlayer.com/v1/versions/:projectVersionId",
            "params": [
              {
                "name": "projectVersionId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the project version (commit)."
              }
            ]
          },
          "docs": "Retrieve a single commit (project version) by its id."
        },
        {
          "info": {
            "name": "List commit test results",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.openlayer.com/v1/versions/:projectVersionId/results",
            "params": [
              {
                "name": "projectVersionId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the project version (commit)."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by result status (running, passing, failing, error)."
              },
              {
                "name": "type",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List the test results for a commit (project version)."
        }
      ]
    }
  ],
  "bundled": true
}