{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mend Access Management Library - Source Files API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Library - Source Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get project source files inventory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://baseUrl/api/v2.0/projects/:projectToken/sourceFiles/inventory",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Enter the number of items to return in each page of the result."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Enter the page number to display in the result. Page numbers start at 0"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Filter your search to return items whose property has a specific value.\nUse the syntax: **property:operation:value** where a colon (:) separates between property, operation and value.\n+ Property: the name of the property of the item\n+ Operation:\n    + **between** - true if the value is inside a range. Syntax: lowest value comma (,) highest value. E.g. between:2019-05-01,2019-06-01\n    + **equals** - true if the value is identical to this value.\n    + **like** - true if the property's value is contained within this value\n    + **regex** - true if this regular expression resolves as true.\n        The regex is not case sensitive, and special characters must be escaped with a backslash.\n        Special characters include space, double quote (\"), '<', '>', '#', '%', '{', '}', vertical bar ('|'), backslash, '^'.\n        To pass an escaped character in a URL in Postman, encode it first.\n        E.g. to return all items whose value begins with **a** or **A**, use regex:^a\n+ Value: the value of the property.\n\nTo combine multiple filters, separate each filter with a semicolon with no space. E.g.  property1:operation1:value1;property2:operation2:value2\n\nThis endpoint supports filtering on the following properties and its supported operators:\n+ lastModified:between:date1,date2. E.g. between:2019-05-01,2019-06-01\n+ libraryName:[like | equals | regex]:value\n+ license:[like | regex]:value\n+ matchType:equals:value\n+ name:[like | equals | regex]:value\n+ sha1:[like | equals | regex]:value"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort search results alphabetically on an item's property by entering **sort=** followed by the property name.\nE.g. enter **sort=email** to sort alphabetically by their email addresses from a-z ascending.To sort in descending order (z-a), add a minus sign ('-'). E.g. **sort=-email**.\n\nYou can sort by the following properties:\n+ lastModified\n+ libraryName\n+ license\n+ matchType\n+ name\n+ sha1"
              },
              {
                "name": "projectToken",
                "value": "",
                "type": "path",
                "description": "project UUID (by running Entities - Product > Get Product Projects) or Project Token (from the Mend SCA App: **Integrate** tab > **Project Token**)."
              }
            ]
          },
          "docs": "Returns an inventory list of the source files associated with each library in a project"
        },
        {
          "info": {
            "name": "Get product source files inventory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://baseUrl/api/v2.0/products/:productToken/sourceFiles/inventory",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Enter the number of items to return in each page of the result."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Enter the page number to display in the result. Page numbers start at 0"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Filter your search to return items whose property has a specific value.\nUse the syntax: **property:operation:value** where a colon (:) separates between property, operation and value.\n+ Property: the name of the property of the item\n+ Operation:\n    + **between** - true if the value is inside a range. Syntax: lowest value comma (,) highest value. E.g. between:2019-05-01,2019-06-01\n    + **equals** - true if the value is identical to this value.\n    + **like** - true if the property's value is contained within this value\n    + **regex** - true if this regular expression resolves as true.\n        The regex is not case sensitive, and special characters must be escaped with a backslash.\n        Special characters include space, double quote (\"), '<', '>', '#', '%', '{', '}', vertical bar ('|'), backslash, '^'.\n        To pass an escaped character in a URL in Postman, encode it first.\n        E.g. to return all items whose value begins with **a** or **A**, use regex:^a\n+ Value: the value of the property.\n\nTo combine multiple filters, separate each filter with a semicolon with no space. E.g.  property1:operation1:value1;property2:operation2:value2\n\nThis endpoint supports filtering on the following properties and its supported operators:\n+ lastModified:between:date1,date2. E.g. between:2019-05-01,2019-06-01\n+ libraryName:[like | equals | regex]:value\n+ license:[like | regex]:value\n+ matchType:equals:value\n+ name:[like | equals | regex]:value\n+ projectName:[like | equals | regex]:value\n+ sha1:[like | equals | regex]:value"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort search results alphabetically on an item's property by entering **sort=** followed by the property name.\nE.g. enter **sort=email** to sort alphabetically by their email addresses from a-z ascending.To sort in descending order (z-a), add a minus sign ('-'). E.g. **sort=-email**.\n\nYou can sort by the following properties:\n+ lastModified\n+ libraryName\n+ license\n+ matchType\n+ name\n+ path\n+ projectName\n+ sha1"
              },
              {
                "name": "productToken",
                "value": "",
                "type": "path",
                "description": "product UUID (by running Entities - Organization > Get Organization Products) or Product Token (from the Mend SCA App: **Integrate** tab > **Product Token**)."
              }
            ]
          },
          "docs": "Returns a list of libraries together with the location of their source files"
        }
      ]
    }
  ],
  "bundled": true
}