{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fortify on Demand Alert Definitions Artifacts API",
    "version": "v3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Artifacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fortify List project version artifacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ams.fortify.com/projectVersions/:parentId/artifacts",
            "params": [
              {
                "name": "parentId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the parent resource"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Starting index for pagination (0-based)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Search query using Fortify search syntax (e.g., name:MyApp)"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response"
              }
            ]
          },
          "docs": "Retrieves a paginated list of artifacts (uploaded scan results) for the specified project version."
        },
        {
          "info": {
            "name": "Fortify Upload artifact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ams.fortify.com/projectVersions/:parentId/artifacts",
            "params": [
              {
                "name": "parentId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the parent resource"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Uploads a scan artifact (FPR file) to the specified project version for processing."
        },
        {
          "info": {
            "name": "Fortify Get artifact",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ams.fortify.com/projectVersions/:parentId/artifacts/:id",
            "params": [
              {
                "name": "parentId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the parent resource"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response"
              }
            ]
          },
          "docs": "Retrieves details for a specific artifact."
        },
        {
          "info": {
            "name": "Fortify Delete artifact",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.ams.fortify.com/projectVersions/:parentId/artifacts/:id",
            "params": [
              {
                "name": "parentId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the parent resource"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the resource"
              }
            ]
          },
          "docs": "Deletes a specific artifact from the project version."
        }
      ]
    }
  ],
  "bundled": true
}