{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tournament activity deployment API",
    "version": "v2"
  },
  "items": [
    {
      "info": {
        "name": "deployment",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the signature for a deployment.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://api.hub.crunchdao.com/v1/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/deployments/sign",
            "params": [
              {
                "name": "competitionIdentifier",
                "value": "",
                "type": "path"
              },
              {
                "name": "userLogin",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectIdentifier",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get the signature for a deployment."
        },
        {
          "info": {
            "name": "List the deployments of a project.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://api.hub.crunchdao.com/v1/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/deployments",
            "params": [
              {
                "name": "competitionIdentifier",
                "value": "",
                "type": "path"
              },
              {
                "name": "userLogin",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectIdentifier",
                "value": "",
                "type": "path"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter for deployments with a specific status."
              },
              {
                "name": "desiredStatus",
                "value": "",
                "type": "query",
                "description": "Filter for deployments with a specific desired status."
              },
              {
                "name": "submissionNumber",
                "value": "",
                "type": "query",
                "description": "Filter for deployments with a specific submission. The number is relative to the project."
              },
              {
                "name": "runtimeType",
                "value": "",
                "type": "query",
                "description": "Filter for deployments with a specific runtime type. Only `CPU` and `GPU` are used."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Zero-based page index (0..N)"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The size of the page to be returned"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported."
              }
            ]
          },
          "docs": "List the deployments of a project."
        },
        {
          "info": {
            "name": "Show a deployment.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://api.hub.crunchdao.com/v1/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/deployments/:deploymentId",
            "params": [
              {
                "name": "competitionIdentifier",
                "value": "",
                "type": "path"
              },
              {
                "name": "userLogin",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectIdentifier",
                "value": "",
                "type": "path"
              },
              {
                "name": "deploymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Show a deployment."
        },
        {
          "info": {
            "name": "Show the builder logs of a deployment.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://api.hub.crunchdao.com/v1/competitions/:competitionIdentifier/projects/:userLogin/:projectIdentifier/deployments/:deploymentId/logs/:deploymentLogCategory",
            "params": [
              {
                "name": "competitionIdentifier",
                "value": "",
                "type": "path"
              },
              {
                "name": "userLogin",
                "value": "",
                "type": "path"
              },
              {
                "name": "projectIdentifier",
                "value": "",
                "type": "path"
              },
              {
                "name": "deploymentId",
                "value": "",
                "type": "path"
              },
              {
                "name": "deploymentLogCategory",
                "value": "",
                "type": "path"
              },
              {
                "name": "all",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Show the builder logs of a deployment."
        }
      ]
    }
  ],
  "bundled": true
}