### Repository Tags API Source: https://api.github.com/orgs/charmbracelet/repos Retrieve a list of tags for a repository. ```APIDOC ## GET /repos/{owner}/{repo}/tags ### Description Lists all tags in a repository. ### Method GET ### Endpoint https://api.github.com/repos/charmbracelet/vhs/tags ### Parameters #### Path Parameters - **owner** (string) - Required - The owner of the repository. - **repo** (string) - Required - The name of the repository. ### Response #### Success Response (200) - **name** (string) - The name of the tag. - **commit** (object) - Information about the commit the tag points to. - **zipball_url** (string) - URL to download the tag as a zip archive. - **tarball_url** (string) - URL to download the tag as a tarball. #### Response Example ```json [ { "name": "v1.0.0", "commit": { "sha": "a1b2c3d4e5f678901234567890abcdef12345678", "url": "https://api.github.com/repos/charmbracelet/vhs/commits/a1b2c3d4e5f678901234567890abcdef12345678" }, "zipball_url": "https://api.github.com/repos/charmbracelet/vhs/zipball/v1.0.0", "tarball_url": "https://api.github.com/repos/charmbracelet/vhs/tarball/v1.0.0" } ] ``` ``` -------------------------------- ### Repository Languages API Source: https://api.github.com/orgs/charmbracelet/repos Retrieve a list of languages used in a repository. ```APIDOC ## GET /repos/{owner}/{repo}/languages ### Description Lists the languages of the code in a repository. ### Method GET ### Endpoint https://api.github.com/repos/charmbracelet/vhs/languages ### Parameters #### Path Parameters - **owner** (string) - Required - The owner of the repository. - **repo** (string) - Required - The name of the repository. ### Response #### Success Response (200) - **language_name** (integer) - The number of bytes of code written in that language. #### Response Example ```json { "Go": 123456, "JavaScript": 78901, "HTML": 54321 } ``` ``` -------------------------------- ### Repository Branches API Source: https://api.github.com/orgs/charmbracelet/repos Retrieve a list of branches for a repository. ```APIDOC ## GET /repos/{owner}/{repo}/branches ### Description Lists all branches in a repository. ### Method GET ### Endpoint https://api.github.com/repos/charmbracelet/vhs/branches{/branch} ### Parameters #### Path Parameters - **owner** (string) - Required - The owner of the repository. - **repo** (string) - Required - The name of the repository. - **branch** (string) - Optional - The name of the branch to retrieve. ### Response #### Success Response (200) - **name** (string) - The name of the branch. - **commit** (object) - Information about the commit the branch points to. - **protected** (boolean) - Indicates if the branch is protected. #### Response Example ```json [ { "name": "main", "commit": { "sha": "a1b2c3d4e5f678901234567890abcdef12345678", "url": "https://api.github.com/repos/charmbracelet/vhs/commits/a1b2c3d4e5f678901234567890abcdef12345678" }, "protected": true } ] ``` ``` -------------------------------- ### Repository Commits API Source: https://api.github.com/orgs/charmbracelet/repos Retrieve a list of commits for a repository. ```APIDOC ## GET /repos/{owner}/{repo}/commits ### Description Lists commits in a repository. ### Method GET ### Endpoint https://api.github.com/repos/charmbracelet/vhs/commits{/sha} ### Parameters #### Path Parameters - **owner** (string) - Required - The owner of the repository. - **repo** (string) - Required - The name of the repository. - **sha** (string) - Optional - The SHA of the commit to retrieve. #### Query Parameters - **sha** (string) - Optional - SHA along which to sort commits. - **path** (string) - Optional - SHA along which to sort commits. - **author** (string) - Optional - GitHub login, or `1` to ID all usernames in commit info based on the authenticated user's access. - **since** (string) - Optional - Timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only commits after this time are returned. - **until** (string) - Optional - Timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Only commits before this time are returned. ### Response #### Success Response (200) - **sha** (string) - The SHA of the commit. - **commit** (object) - Commit details. - **author** (object) - Author information. - **committer** (object) - Committer information. - **parents** (array) - Array of parent commit objects. #### Response Example ```json [ { "sha": "a1b2c3d4e5f678901234567890abcdef12345678", "commit": { "author": { "name": "John Doe", "email": "john.doe@example.com", "date": "2023-10-27T10:00:00Z" }, "committer": { "name": "Jane Smith", "email": "jane.smith@example.com", "date": "2023-10-27T10:00:00Z" }, "message": "feat: Add new feature", "tree": { "sha": "tree_sha", "url": "tree_url" }, "url": "commit_url", "comment_count": 0 }, "url": "commit_url", "html_url": "html_url", "comments_url": "comments_url", "author": { "login": "johndoe", "id": 12345, "node_id": "node_id", "avatar_url": "avatar_url", "gravatar_id": "", "url": "user_url", "html_url": "html_user_url", "followers_url": "followers_url", "following_url": "following_url", "gists_url": "gists_url", "starred_url": "starred_url", "subscriptions_url": "subscriptions_url", "organizations_url": "organizations_url", "repos_url": "repos_url", "events_url": "events_url", "received_events_url": "received_events_url", "type": "User", "site_admin": false }, "committer": { "login": "janesmith", "id": 67890, "node_id": "node_id", "avatar_url": "avatar_url", "gravatar_id": "", "url": "user_url", "html_url": "html_user_url", "followers_url": "followers_url", "following_url": "following_url", "gists_url": "gists_url", "starred_url": "starred_url", "subscriptions_url": "subscriptions_url", "organizations_url": "organizations_url", "repos_url": "repos_url", "events_url": "events_url", "received_events_url": "received_events_url", "type": "User", "site_admin": false }, "parents": [ { "sha": "parent_sha", "url": "parent_url", "html_url": "parent_html_url" } ] } ] ``` ``` -------------------------------- ### Repository Stargazers API Source: https://api.github.com/orgs/charmbracelet/repos Retrieve a list of users who have starred a repository. ```APIDOC ## GET /repos/{owner}/{repo}/stargazers ### Description Lists the users who have starred a repository. ### Method GET ### Endpoint https://api.github.com/repos/charmbracelet/vhs/stargazers ### Parameters #### Path Parameters - **owner** (string) - Required - The owner of the repository. - **repo** (string) - Required - The name of the repository. #### Query Parameters - **per_page** (integer) - Optional - The number of results per page (max 100). Default is 30. - **page** (integer) - Optional - Page number of the results to fetch. Default is 1. ### Response #### Success Response (200) - **login** (string) - The username of the stargazer. - **id** (integer) - The user ID of the stargazer. - **avatar_url** (string) - URL of the stargazer's avatar. - **html_url** (string) - URL to the stargazer's GitHub profile. #### Response Example ```json [ { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", "avatar_url": "https://github.com/images/error/octocat_happy.gif", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", "followers_url": "https://api.github.com/users/octocat/followers", "following_url": "https://api.github.com/users/octocat/following{/other_user}", "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", "organizations_url": "https://api.github.com/users/octocat/orgs", "repos_url": "https://api.github.com/users/octocat/repos", "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false } ] ``` ``` -------------------------------- ### Repository Contributors API Source: https://api.github.com/orgs/charmbracelet/repos Retrieve a list of contributors for a repository. ```APIDOC ## GET /repos/{owner}/{repo}/contributors ### Description Lists contributors to a repository. ### Method GET ### Endpoint https://api.github.com/repos/charmbracelet/vhs/contributors ### Parameters #### Path Parameters - **owner** (string) - Required - The owner of the repository. - **repo** (string) - Required - The name of the repository. #### Query Parameters - **anon** (boolean) - Optional - Set to `true` to include anonymous contributors in the list. Default is `false`. - **per_page** (integer) - Optional - The number of results per page (max 100). Default is 30. - **page** (integer) - Optional - Page number of the results to fetch. Default is 1. ### Response #### Success Response (200) - **login** (string) - The username of the contributor. - **id** (integer) - The user ID of the contributor. - **avatar_url** (string) - URL of the contributor's avatar. - **html_url** (string) - URL to the contributor's GitHub profile. - **contributions** (integer) - The number of contributions made by the contributor. #### Response Example ```json [ { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", "avatar_url": "https://github.com/images/error/octocat_happy.gif", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", "followers_url": "https://api.github.com/users/octocat/followers", "following_url": "https://api.github.com/users/octocat/following{/other_user}", "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", "organizations_url": "https://api.github.com/users/octocat/orgs", "repos_url": "https://api.github.com/users/octocat/repos", "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", "site_admin": false, "contributions": 100 } ] ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.