Udostępnij przez


GitHub Gists (niezależny wydawca) (wersja zapoznawcza)

Usługa GitHub Gists umożliwia autoryzowanemu użytkownikowi wyświetlanie listy, tworzenie, aktualizowanie i usuwanie publicznych gists w usłudze GitHub.

Ten łącznik jest dostępny w następujących produktach i regionach:

Usługa Class Regions
Copilot Studio Premium Wszystkie regiony usługi Power Automate z wyjątkiem następujących:
     - Rząd USA (GCC)
     - Rząd USA (GCC High)
     - China Cloud obsługiwane przez firmę 21Vianet
     - Departament Obrony USA (DoD)
Logic Apps Standard Wszystkie regiony usługi Logic Apps z wyjątkiem następujących:
     — Regiony platformy Azure Government
     — Regiony platformy Azure (Chiny)
     - Departament Obrony USA (DoD)
Power Apps Premium Wszystkie regiony usługi Power Apps z wyjątkiem następujących:
     - Rząd USA (GCC)
     - Rząd USA (GCC High)
     - China Cloud obsługiwane przez firmę 21Vianet
     - Departament Obrony USA (DoD)
Power Automate Premium Wszystkie regiony usługi Power Automate z wyjątkiem następujących:
     - Rząd USA (GCC)
     - Rząd USA (GCC High)
     - China Cloud obsługiwane przez firmę 21Vianet
     - Departament Obrony USA (DoD)
Kontakt
Name Troy Taylor
adres URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Metadane łącznika
Publisher Troy Taylor
Witryna internetowa https://docs.github.com/en/rest/gists/gists
Zasady ochrony prywatności https://docs.github.com/en/github/site-policy/github-privacy-statement
Kategorie Zawartość i pliki

Limity ograniczania

Nazwa Wywołania Okres odnowienia
Wywołania interfejsu API na połączenie 100 60 sekund

Akcje

Aktualizowanie pasa

Umożliwia zaktualizowanie opisu obiektu i zaktualizowanie, usunięcie lub zmiana nazwy plików ist. Pliki z poprzedniej wersji gist, które nie są jawnie zmieniane podczas edycji, są niezmienione.

Aktualizuj komentarz ist

Zaktualizuj komentarz gist.

Gist gwiazda

Gwiazda sukni.

Lista gwiazdek

Wyświetl listę gwiazdek uwierzytelnionych użytkowników:

Odgwiazdka

Usuń gwiazdę gist.

Pobieranie pasa

Pobieranie ist.

Rozwidlenia list

Pobierz listę rozwidleń gist.

Rozwidlenie talii

Rozwidlenie talii.

Sprawdzanie starred gist

Sprawdź, czy gist jest gwiazdą.

Tworzenie ist

Umożliwia dodanie nowego gist z co najmniej jednym plikiem.

Tworzenie komentarza ist

Utwórz komentarz gist.

Usuwanie pasa

Usuń ist.

Usuń komentarz ist

Usuń komentarz gist.

Uzyskiwanie komentarza ist

Pobierz komentarz gist.

Uzyskiwanie poprawki ist

Pobieranie poprawki ist.

Wyświetlanie listy gists dla uwierzytelnioowanego użytkownika

Wyświetla listę identyfikatorów uwierzytelnionych użytkowników lub, jeśli jest wywoływana anonimowo, ten punkt końcowy zwraca wszystkie publiczne elementy gists:

Wyświetlanie listy komentarzy ist

Wyświetl listę wszystkich komentarzy dla gist.

Wyświetlanie listy publicznych gists

Wyświetl listę publicznych identyfikatorów posortowanych według ostatnio zaktualizowanych do najmniej ostatnio zaktualizowanych.

Wyświetlanie listy zatwierdzeń ist

Pobieranie listy zatwierdzeń gist.

Aktualizowanie pasa

Umożliwia zaktualizowanie opisu obiektu i zaktualizowanie, usunięcie lub zmiana nazwy plików ist. Pliki z poprzedniej wersji gist, które nie są jawnie zmieniane podczas edycji, są niezmienione.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Description
description True string

Opis ist.

files
files object

Pliki ist, które mają zostać zaktualizowane, zmienione lub usunięte. Każda z nich key musi być zgodna z bieżącą nazwą pliku (w tym rozszerzeniem) docelowego pliku ist.

Zwraca

Gist Simple

Gist Simple
gist-simple

Aktualizuj komentarz ist

Zaktualizuj komentarz gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Identyfikator komentarza
comment_id True integer

Unikatowy identyfikator komentarza.

Tekst
body True string

Tekst komentarza.

Zwraca

Komentarz do gist.

Komentarz Gist
gist-comment

Gist gwiazda

Gwiazda sukni.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Lista gwiazdek

Wyświetl listę gwiazdek uwierzytelnionych użytkowników:

Parametry

Nazwa Klucz Wymagane Typ Opis
Od
since string

Pokaż tylko powiadomienia zaktualizowane po danym czasie. Jest to znacznik czasu w formacie ISO 8601: YYYY-MM-DDTHH:MM:SSZ.

Na stronę
per_page integer

Liczba wyników na stronę (maksymalnie 100).

Strona
page integer

Numer strony wyników do pobrania.

Zwraca

Odgwiazdka

Usuń gwiazdę gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Pobieranie pasa

Pobieranie ist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Zwraca

Gist Simple

Gist Simple
gist-simple

Rozwidlenia list

Pobierz listę rozwidleń gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Na stronę
per_page integer

Liczba wyników na stronę (maksymalnie 100).

Strona
page integer

Numer strony wyników do pobrania.

Zwraca

Rozwidlenie talii

Rozwidlenie talii.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Zwraca

Podstawowy ist

Podstawowy ist
base-gist

Sprawdzanie starred gist

Sprawdź, czy gist jest gwiazdą.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Tworzenie ist

Umożliwia dodanie nowego gist z co najmniej jednym plikiem.

Parametry

Nazwa Klucz Wymagane Typ Opis
Description
description string

Opis sukni

files
files True object

Nazwy i zawartość plików tworzących ist

Flag
public boolean

Flaga wskazująca, czy gist jest publiczny

Zwraca

Gist Simple

Gist Simple
gist-simple

Tworzenie komentarza ist

Utwórz komentarz gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Tekst
body True string

Tekst komentarza.

Zwraca

Komentarz do gist.

Komentarz Gist
gist-comment

Usuwanie pasa

Usuń ist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Usuń komentarz ist

Usuń komentarz gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Identyfikator komentarza
comment_id True integer

Unikatowy identyfikator komentarza.

Uzyskiwanie komentarza ist

Pobierz komentarz gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Identyfikator komentarza
comment_id True integer

Unikatowy identyfikator komentarza.

Zwraca

Komentarz do gist.

Komentarz Gist
gist-comment

Uzyskiwanie poprawki ist

Pobieranie poprawki ist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

SHA
sha True string

The SHA.

Zwraca

Gist Simple

Gist Simple
gist-simple

Wyświetlanie listy gists dla uwierzytelnioowanego użytkownika

Wyświetla listę identyfikatorów uwierzytelnionych użytkowników lub, jeśli jest wywoływana anonimowo, ten punkt końcowy zwraca wszystkie publiczne elementy gists:

Parametry

Nazwa Klucz Wymagane Typ Opis
Od
since string

Pokaż tylko powiadomienia zaktualizowane po danym czasie. Jest to znacznik czasu w formacie ISO 8601: YYYY-MM-DDTHH:MM:SSZ.

Na stronę
per_page integer

Liczba wyników na stronę (maksymalnie 100).

Strona
page integer

Numer strony wyników do pobrania.

Zwraca

Wyświetlanie listy komentarzy ist

Wyświetl listę wszystkich komentarzy dla gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Na stronę
per_page integer

Liczba wyników na stronę (maksymalnie 100).

Strona
page integer

Numer strony wyników do pobrania.

Zwraca

Wyświetlanie listy publicznych gists

Wyświetl listę publicznych identyfikatorów posortowanych według ostatnio zaktualizowanych do najmniej ostatnio zaktualizowanych.

Parametry

Nazwa Klucz Wymagane Typ Opis
Od
since string

Pokaż tylko powiadomienia zaktualizowane po danym czasie. Jest to znacznik czasu w formacie ISO 8601: YYYY-MM-DDTHH:MM:SSZ.

Na stronę
per_page integer

Liczba wyników na stronę (maksymalnie 100).

Strona
page integer

Numer strony wyników do pobrania.

Zwraca

Wyświetlanie listy zatwierdzeń ist

Pobieranie listy zatwierdzeń gist.

Parametry

Nazwa Klucz Wymagane Typ Opis
Identyfikator identyfikatora ist
gist_id True string

Unikatowy identyfikator gist.

Na stronę
per_page integer

Liczba wyników na stronę (maksymalnie 100).

Strona
page integer

Numer strony wyników do pobrania.

Zwraca

Definicje

nullable-simple-user

Prosty użytkownik

Nazwa Ścieżka Typ Opis
Name
name string

Nazwa.

Email
email string

Adres e-mail.

Zaloguj się
login string

Identyfikator logowania.

identyfikator
id integer

Identyfikator.

Identyfikator węzła
node_id string

Identyfikator węzła.

Adres URL awatara
avatar_url string

Adres URL awatara.

Identyfikator Gravatar
gravatar_id string

Identyfikator Gravatara.

adres URL
url string

Adres URL.

HTML URL
html_url string

Adres URL HTML.

Adres URL obserwatorów
followers_url string

Adres URL obserwatorów.

Następujący adres URL
following_url string

Następujący adres URL.

Adres URL zasad grupy
gists_url string

Adres URL Gists.

Adres URL gwiazdki
starred_url string

Nazwa adresu URL z gwiazdką.

Adres URL subskrypcji
subscriptions_url string

Adres URL subskrypcji.

Adres URL organizacji
organizations_url string

Adres URL organizacji.

Adres URL repozytoriów
repos_url string

Adres URL repozytoriów.

Adres URL zdarzeń
events_url string

Adres URL zdarzeń.

Adres URL odebranych zdarzeń
received_events_url string

Adres URL odebranych zdarzeń.

Typ
type string

Typ.

Administrator witryny
site_admin boolean

Administrator witryny.

Zagrał na
starred_at string

Gwiazdorem.

użytkownik prosty

Prosty użytkownik

Nazwa Ścieżka Typ Opis
Name
name string

Nazwa.

Email
email string

Adres e-mail.

Zaloguj się
login string

Identyfikator logowania.

identyfikator
id integer

Identyfikator.

Identyfikator węzła
node_id string

Identyfikator węzła.

Adres URL awatara
avatar_url string

Adres URL awatara.

Identyfikator Gravatar
gravatar_id string

Identyfikator Gravatara.

adres URL
url string

Adres URL.

HTML URL
html_url string

Adres URL HTML.

Adres URL obserwatorów
followers_url string

Adres URL obserwatorów.

Następujący adres URL
following_url string

Następujący adres URL.

Adres URL zasad grupy
gists_url string

Adres URL Gists.

Adres URL gwiazdki
starred_url string

Nazwa adresu URL z gwiazdką.

Adres URL subskrypcji
subscriptions_url string

Adres URL subskrypcji.

Adres URL organizacji
organizations_url string

Adres URL organizacji.

Adres URL repozytoriów
repos_url string

Adres URL repozytoriów.

Adres URL zdarzeń
events_url string

Adres URL zdarzeń.

Adres URL odebranych zdarzeń
received_events_url string

Adres URL odebranych zdarzeń.

Typ
type string

Typ.

Administrator witryny
site_admin boolean

Administrator witryny.

Zagrał na
starred_at string

Gwiazdorem.

skojarzenie autora

Jak autor jest skojarzony z repozytorium.

Jak autor jest skojarzony z repozytorium.

author_association
string

base-gist

Podstawowy ist

Nazwa Ścieżka Typ Opis
adres URL
url string

Adres URL.

Adres URL rozwidlenia
forks_url string

Adres URL rozwidlenia.

Adres URL zatwierdzeń
commits_url string

Adres URL zatwierdzeń.

identyfikator
id string

Identyfikator.

Identyfikator węzła
node_id string

Identyfikator węzła.

Adres URL ściągania usługi Git
git_pull_url string

Adres URL ściągania usługi Git.

Adres URL wypychania usługi Git
git_push_url string

Adres URL wypychania usługi Git.

HTML URL
html_url string

Adres URL HTML.

files
files object
Public
public boolean

Czy jest to publiczne.

Utworzono pod adresem
created_at string

Po utworzeniu na.

Zaktualizowano o
updated_at string

Po zaktualizowaniu o.

Description
description string

Opis.

Comments
comments integer

Liczba komentarzy.

Adres URL komentarzy
comments_url string

Adres URL komentarzy.

Prosty użytkownik
owner simple-user

Prosty użytkownik

Obcinane
truncated boolean

Czy obcięto.

Widelce
forks array of

Rozwidlenia.

History
history array of

Historia.

użytkownik publiczny

Użytkownik publiczny

Nazwa Ścieżka Typ Opis
Zaloguj się
login string

Identyfikator logowania.

identyfikator
id integer

Identyfikator.

Identyfikator węzła
node_id string

Identyfikator węzła.

Adres URL awatara
avatar_url string

Adres URL awatara.

Identyfikator Gravatar
gravatar_id string

Identyfikator Gravatara.

adres URL
url string

Adres URL.

HTML URL
html_url string

Adres URL HTML.

Adres URL obserwatorów
followers_url string

Adres URL obserwatorów.

Następujący adres URL
following_url string

Następujący adres URL.

Adres URL zasad grupy
gists_url string

Adres URL Gists.

Adres URL gwiazdki
starred_url string

Nazwa adresu URL z gwiazdką.

Adres URL subskrypcji
subscriptions_url string

Adres URL subskrypcji.

Adres URL organizacji
organizations_url string

Adres URL organizacji.

Adres URL repozytoriów
repos_url string

Adres URL repozytoriów.

Adres URL zdarzeń
events_url string

Adres URL zdarzeń.

Adres URL odebranych zdarzeń
received_events_url string

Adres URL odebranych zdarzeń.

Typ
type string

Typ.

Administrator witryny
site_admin boolean

Administrator witryny.

Name
name string

Nazwa.

Firma
company string

Firma.

Blog internetowy
blog string

Blog.

Lokalizacja
location string

Lokalizacja.

Email
email email

Adres e-mail.

Możliwe do wynajęcia
hireable boolean

Czy można zatrudnić.

Krótki życiorys
bio string

Bio.

Nazwa użytkownika usługi Twitter
twitter_username string

Nazwa użytkownika usługi Twitter.

Repozytoria publiczne
public_repos integer

Liczba repozytoriów publicznych.

Publiczne Gists
public_gists integer

Liczba publicznych Gists.

Followers
followers integer

Liczba obserwujących.

Following
following integer

Liczba poniżej.

Utworzono pod adresem
created_at string

Po utworzeniu na.

Zaktualizowano o
updated_at string

Po zaktualizowaniu o.

Współpracowników
plan.collaborators integer

Liczba współpracowników.

Name
plan.name string

Nazwa.

Przestrzeń
plan.space integer

Przestrzeń planowa.

Prywatne repozytoria
plan.private_repos integer

Liczba prywatnych repozytoriów.

Zawieszone o
suspended_at string

Po zawieszeniu na.

Prywatne Gists
private_gists integer

Liczba prywatnych Gists.

Łączna liczba prywatnych repozytoriów
total_private_repos integer

Całkowita liczba prywatnych repozytoriów.

Należące do prywatnych repozytoriów
owned_private_repos integer

Liczba prywatnych repozytoriów.

Użycie dysku
disk_usage integer

Użycie dysku.

Współpracowników
collaborators integer

Liczba współpracowników.

gist-history

Historia gist

Nazwa Ścieżka Typ Opis
wersja
version string

Wersja.

Zatwierdzone o
committed_at string

W przypadku zatwierdzenia na.

Total
change_status.total integer

Suma.

Dodatki
change_status.additions integer

Liczba dodatków.

Usunięcia
change_status.deletions integer

Liczba usunięć.

adres URL
url string

Adres URL.

proste

Gist Simple

Nazwa Ścieżka Typ Opis
Widelce
forks array of object
identyfikator
forks.id string

Identyfikator.

adres URL
forks.url string

Adres URL.

Użytkownik publiczny
forks.user public-user

Użytkownik publiczny

Utworzono pod adresem
forks.created_at string

Po utworzeniu na.

Zaktualizowano o
forks.updated_at string

Po zaktualizowaniu o.

historia
history array of gist-history
adres URL
fork_of.url string

Adres URL.

Adres URL rozwidlenia
fork_of.forks_url string

Adres URL rozwidlenia.

Adres URL zatwierdzeń
fork_of.commits_url string

Adres URL zatwierdzeń.

identyfikator
fork_of.id string

Identyfikator.

Identyfikator węzła
fork_of.node_id string

Identyfikator węzła.

Adres URL ściągania usługi Git
fork_of.git_pull_url string

Adres URL ściągania usługi Git.

Adres URL wypychania usługi Git
fork_of.git_push_url string

Adres URL ściągania usługi Git.

Adres URL HTML
fork_of.html_url string

Adres URL HTML.

files
fork_of.files object
Public
fork_of.public boolean

Czy jest to publiczne.

Utworzono pod adresem
fork_of.created_at string

Po utworzeniu na.

Zaktualizowano o
fork_of.updated_at string

Po zaktualizowaniu o.

Description
fork_of.description string

Opis.

Comments
fork_of.comments integer

Komentarze.

Adres URL komentarzy
fork_of.comments_url string

Adres URL komentarzy.

Prosty użytkownik
fork_of.owner nullable-simple-user

Prosty użytkownik

Obcinane
fork_of.truncated boolean

Czy obcięto.

Widelce
fork_of.forks array of

Rozwidlenia.

History
fork_of.history array of

Historia.

adres URL
url string

Adres URL.

Adres URL rozwidlenia
forks_url string

Adres URL rozwidlenia.

Adres URL zatwierdzeń
commits_url string

Adres URL zatwierdzeń.

identyfikator
id string

Identyfikator.

Identyfikator węzła
node_id string

Identyfikator węzła.

Adres URL ściągania usługi Git
git_pull_url string

Adres URL ściągania usługi Git.

Adres URL wypychania usługi Git
git_push_url string

Adres URL wypychania usługi Git.

HTML URL
html_url string

Adres URL HTML.

files
files object
Public
public boolean

Czy jest to publiczne.

Utworzono pod adresem
created_at string

Po utworzeniu na.

Zaktualizowano o
updated_at string

Po zaktualizowaniu o.

Description
description string

Opis.

Comments
comments integer

Komentarze.

User
user string

Użytkownik.

Adres URL komentarzy
comments_url string

Adres URL komentarzy.

Prosty użytkownik
owner simple-user

Prosty użytkownik

Obcinane
truncated boolean

Czy obcięto.

gist-comment

Komentarz do gist.

Nazwa Ścieżka Typ Opis
identyfikator
id integer

Identyfikator.

Identyfikator węzła
node_id string

Identyfikator węzła.

adres URL
url string

Adres URL.

Body
body string

Ciało.

Utworzono pod adresem
created_at string

Po utworzeniu na.

Zaktualizowano o
updated_at string

Po zaktualizowaniu o.

author_association
author_association author-association

Jak autor jest skojarzony z repozytorium.

zatwierdzenie ist-commit

Zatwierdzenie Gist

Nazwa Ścieżka Typ Opis
adres URL
url string

Adres URL.

wersja
version string

Wersja.

Total
change_status.total integer

Suma.

Dodatki
change_status.additions integer

Liczba dodatków.

Usunięcia
change_status.deletions integer

Liczba usunięć.

Zatwierdzone o
committed_at string

W przypadku zatwierdzenia na.