{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tidelift External Alignments Attestations API",
    "version": "1.2.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Attestations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a new project with an initial scan, using the provided SBOM file as the manifest.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tidelift.com/external-api/v1/:org_name/projects/import-sbom",
            "params": [
              {
                "name": "org_name",
                "value": "",
                "type": "path",
                "description": "The name of the Organization."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "project_name",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "groups",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "catalog",
                  "type": "text",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new project with an initial scan, using the provided SBOM file as the manifest."
        },
        {
          "info": {
            "name": "Get the TACOS-formatted attestation report for packages used in a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tidelift.com/external-api/v1/:org_name/projects/:project/attestation-report",
            "params": [
              {
                "name": "org_name",
                "value": "",
                "type": "path",
                "description": "The name of the Organization."
              },
              {
                "name": "project",
                "value": "",
                "type": "path",
                "description": "The name of the Project."
              },
              {
                "name": "revision",
                "value": "",
                "type": "query",
                "description": "sha revision of the project scan for which to download the attestation report (if not provided will use the latest scan of the project's default branch)"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get the TACOS-formatted attestation report for packages used in a project"
        }
      ]
    }
  ],
  "bundled": true
}