Table of Contents

Read Content as stream

Reads a file from GitHub repository content as a Stream. Prefer using streaming over Read Content as byte array if possible. Streaming is generally faster and uses less memory, because streaming doesn't require loading the entire blob into memory before you can start working with the data.

img

Example img
This flow iterates through content, streams the file, and uploads the file to an Profitbase Invision File Storage.

Properties

Name Type Description
Title Optional The title of the action.
Authentication Optional Select an authentication token. See below.
Repository owner Required Select or enter the repository owner.
Repository name Required Select or enter the repository name.
Branch Optional Select or enter a branch name.
Content Path Required Path to a content (file) to stream.
Return variable name Optional Name of the variable containing the stream.
Description Optional Additional notes or comments about the action or configuration.

Limitations

GitHub limits the number of REST API requests that you can make within a specific amount of time.

You can make unauthenticated requests if you are only fetching public data. Unauthenticated requests are associated with the originating IP address, not with the user or application that made the request. The primary rate limit for unauthenticated requests is 60 requests per hour.

For authenticated users the rate limit is 5,000 requests per hour. If the installation is on a GitHub Enterprise Cloud organization, the installation has a rate limit of 15,000 requests per hour.

Authentication

Authentication is done with an authentication token. Click here for more on creating a token.