tools

Tools and packages your company uses. Returns paginated Tool objects.

Parameters

Name Type Description
categories optional [String]

List tools that have one of the given category names or slugs.

functions optional [String]

List tools that have one of the given function names or slugs.

licenses optional [String]

List tools that have one of the given license names.

orgId optional ID
searchQuery optional String

Search for tools by name.

stackAppId optional ID
stages optional [String]

List tools assigned to the given stage names or slugs.

tags optional [String]

List tools belonging to stacks or stack apps that have the given tags.

Example Queries

Get the first 10 tools:

{
  tools(first: 10) {
    edges {
      node {
        name
      }
    }
  }
}

Search for tools with java in their names:

{
  tools(first: 3, searchQuery: "java") {
    edges {
      node {
        name
      }
    }
  }
}

Get tools for the stackshare-org org:

{
  tools(first: 10, orgId: 'stackshare-org') {
    edges {
      node {
        name
      }
    }
  }
}

Get tools for the backend app:

{
  tools(first: 10, stackAppId: 'backend') {
    edges {
      node {
        name
      }
    }
  }
}

Get tools that have the Languages & Frameworks category:

{
  tools(first: 10, categories: ["Languages & Frameworks"]) {
    edges {
      node {
        name
      }
    }
  }
}

Get tools that have the Languages function:

{
  tools(first: 10, functions: ["Languages"]) {
    edges {
      node {
        name
      }
    }
  }
}

Get tools that have the Deprecated or Hold stages:

{
  tools(first: 10, stages: ["Deprecated", "Hold"]) {
    edges {
      node {
        name
      }
    }
  }
}

Get tools related to the Web tag:

{
  tools(first: 10, tags: ["Web"]) {
    edges {
      node {
        name
      }
    }
  }
}

Get tools that have the MIT license:

{
  tools(first: 10, licenses: ["MIT"]) {
    edges {
      node {
        name
      }
    }
  }
}

Get tools in greater details, with their teams, contributors, stacks, stack apps, versions, version stack apps, version vulnerabilities, and adoption stage histories:

{
  tools(first: 10) {
    edges {
      node {
        name
        slug
        package
        license
        releasePolicyUrl
        latestVersionNumber
        latestVersionReleasedAt
        latestVersionWebsiteUrl
        versionsCount
        layer {
          name
        }
        category {
          name
        }
        function {
          name
        }
        stage {
          name
        }
        teams(first: 10) {
          edges {
            node {
              name
            }
          }
        }
        contributors(first: 10) {
          edges {
            node {
              username
            }
          }
        }
        stacks(first: 10) {
          edges {
            node {
              slug
            }
          }
        }
        stackApps(first: 10) {
          edges {
            node {
              slug
            }
          }
        }
        versions(first: 10) {
          edges {
            node {
              versionNumber
              releasedAt
              endOfLife
              endOfLifeAt
              endOfActiveSupport
              endOfActiveSupportAt
              websiteUrl
              stack {
                slug
                stackApps {
                  edges {
                    node {
                      name
                    }
                  }
                }
              }
              sourceFilename
              sourceUrl
              vulnerabilities(first: 10) {
                edges {
                  node {
                    name
                  }
                }
              }
            }
          }
        }
        adoptionStageHistories(first: 10) {
          edges {
            node {
              whoDidIt {
                username
              }
              extraDetails
              createdAt
            }
          }
        }
      }
    }
  }
}