API tutorials

Use the following tutorials to help you learn ways you can use the Flow API

Articles

API guide: How to locate unknown users in your data
Overview Flow ingests any user that has been associated with an imported repo or project. This could come in the form of a commit, comment, ticket subscription etc. This usually means there are users in your account that you do not recognize....
API guide: Unreviewed PRs by PR state
Overview Unreviewed PRs are PRs that have 0 comments and 0 approvals. Pulling a list of unreviewed PRs can be done in one API call. This guide will show you how to export unreviewed PRs by state (open,closed,merged) via the API. Merged o...
API guide: Tickets closed by an individual
Overview This step-by-step document is intended to help you through the API calls necessary to get you on your way to reporting on tickets closed by a user. Step 1: Fetch your apex users The first step towards pulling data for your ...
API guide: Code fundamentals metrics
Overview This document is intended for developers who are utilizing the Customer API to build code fundamental metrics in their own systems. At Flow, we’re so excited to see what you can do with your creativity and our Customer API. As ...
Export Flow data to Microsoft Excel
Overview This tutorial guides you through the steps to take your Flow data and import it into a Microsoft Excel spreadsheet that you can then analyze . Export data to a CSV file Step 1: Open a browser and enter the URL for your de...
API guide: LoC by PR
Overview This tutorial will walk you through how to grab total lines of code (LoC) submitted in a PR. Use this data to then calculate median or average LoC by PR. Because LoC is associated with commits, you will need to use two endpoints...
API guide: Exporting team membership
Overview Exporting your team information can be exported from the API into a CSV file. Follow the directions below to export the following information by team: User D Author Name Author Email How to export team membershi...