module GitHub.Endpoints.GitData.Blobs (
blobR,
module GitHub.Data,
) where
import GitHub.Data
import Prelude ()
blobR :: Name Owner -> Name Repo -> Name Blob -> Request k Blob
blobR :: forall (k :: RW).
Name Owner -> Name Repo -> Name Blob -> Request k Blob
blobR Name Owner
user Name Repo
repo Name Blob
sha =
Paths -> QueryString -> Request k Blob
forall (mt :: RW) a. Paths -> QueryString -> Request mt a
query [Text
"repos", Name Owner -> Text
forall a. IsPathPart a => a -> Text
toPathPart Name Owner
user, Name Repo -> Text
forall a. IsPathPart a => a -> Text
toPathPart Name Repo
repo, Text
"git", Text
"blobs", Name Blob -> Text
forall a. IsPathPart a => a -> Text
toPathPart Name Blob
sha] []