apicheats.dev Cheat sheet Raw .md
POST

Try POST /repos/{owner}/{repo}/git/tags — GitHub API

GitHub playground

Create a tag object

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

5 body fields
  • tag · required · string — The tag's name. This is typically a version (e.g., "v0.0.1").
  • message · required · string — The tag message.
  • object · required · string — The SHA of the git object this is tagging.
  • type · required · string — The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`.
  • tagger · optional · object — An object with information about the individual creating the tag.