{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tidelift External Alignments API",
    "version": "1.2.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Alignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Perform an alignment without specifying a project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tidelift.com/external-api/v1/catalog/:org_name/alignment",
            "params": [
              {
                "name": "org_name",
                "value": "",
                "type": "path",
                "description": "The name of the Organization."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Perform an alignment without specifying a project"
        },
        {
          "info": {
            "name": "Perform an alignment with a specific project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tidelift.com/external-api/v1/catalog/:org_name/:project/alignment",
            "params": [
              {
                "name": "org_name",
                "value": "",
                "type": "path",
                "description": "The name of the Organization."
              },
              {
                "name": "project",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Perform an alignment with a specific project"
        },
        {
          "info": {
            "name": "Get recent saved alignments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tidelift.com/external-api/v1/catalog/:org_name/:project/alignments",
            "params": [
              {
                "name": "org_name",
                "value": "",
                "type": "path",
                "description": "The name of the Organization."
              },
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "query"
              },
              {
                "name": "revision",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets a list of all the saved alignments from the previous three weeks"
        },
        {
          "info": {
            "name": "Get a saved alignment with additional information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tidelift.com/external-api/v1/:org_name/projects/:project/alignments/:revision/status",
            "params": [
              {
                "name": "org_name",
                "value": "",
                "type": "path",
                "description": "The name of the Organization."
              },
              {
                "name": "project",
                "value": "",
                "type": "path",
                "description": "The name of the project. The external identifier will not work here."
              },
              {
                "name": "revision",
                "value": "",
                "type": "path",
                "description": "The `revision` of the alignment."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "The alignment will also include information on violations per dependency.\n"
        }
      ]
    }
  ],
  "bundled": true
}