GitHub Gists (server di pubblicazione indipendente) (anteprima)
GitHub Gists consente all'utente autorizzato di elencare, creare, aggiornare ed eliminare i gists pubblici in GitHub.
Questo connettore è disponibile nei prodotti e nelle aree seguenti:
| Servizio | Class | Regions |
|---|---|---|
| Copilot Studio | Di alta qualità | Tutte le aree di Power Automate , ad eccezione delle seguenti: - Governo degli Stati Uniti (GCC) - Us Government (GCC High) - China Cloud gestito da 21Vianet - Dipartimento della Difesa degli Stati Uniti (DoD) |
| App per la logica | Normale | Tutte le aree di App per la logica , ad eccezione delle seguenti: - Aree di Azure per enti pubblici - Aree di Azure Cina - Dipartimento della Difesa degli Stati Uniti (DoD) |
| Power Apps | Di alta qualità | Tutte le aree di Power Apps , ad eccezione dei seguenti: - Governo degli Stati Uniti (GCC) - Us Government (GCC High) - China Cloud gestito da 21Vianet - Dipartimento della Difesa degli Stati Uniti (DoD) |
| Power Automate | Di alta qualità | Tutte le aree di Power Automate , ad eccezione delle seguenti: - Governo degli Stati Uniti (GCC) - Us Government (GCC High) - China Cloud gestito da 21Vianet - Dipartimento della Difesa degli Stati Uniti (DoD) |
| Contatto | |
|---|---|
| Nome | Troy Taylor |
| URL | https://www.hitachisolutions.com |
| ttaylor@hitachisolutions.com |
| Metadati del connettore | |
|---|---|
| Editore | Troy Taylor |
| Sito web | https://docs.github.com/en/rest/gists/gists |
| Informativa sulla privacy | https://docs.github.com/en/github/site-policy/github-privacy-statement |
| Categorie | Contenuto e file |
Limiti per la limitazione delle richieste
| Nome | Chiamate | Periodo di rinnovo |
|---|---|---|
| Chiamate API per connessione | 100 | 60 secondi |
Azioni
| Aggiornare il commento gist |
Aggiornare un commento gist. |
| Aggiornare un gist |
Consente di aggiornare la descrizione di un gist e di aggiornare, eliminare o rinominare i file gist. I file della versione precedente del gist che non vengono modificati in modo esplicito durante una modifica non vengono modificati. |
| Creare un commento gist |
Creare un commento gist. |
| Creare un gist |
Consente di aggiungere un nuovo gist con uno o più file. |
| Elencare i commenti gist |
Elencare tutti i commenti per un gist. |
| Elencare i commit gist |
Recuperare un elenco di commit gist. |
| Elencare i fork gist |
Recuperare un elenco di fork gist. |
| Elencare i gist pubblici |
Elencare i gist pubblici ordinati in base all'ultimo aggiornamento aggiornato almeno di recente. |
| Elencare i gists per l'utente autenticato |
Elenca i gist dell'utente autenticato o, se chiamato in modo anonimo, questo endpoint restituisce tutti i gist pubblici: |
| Elimina commento gist |
Eliminare un commento gist. |
| Eliminare un gist |
Eliminare un gist. |
| Fork di un gist |
Fork di un gist. |
| Gist unstar |
Unstar un gist. |
| List starred gists |
Elencare i gist con stelle dell'utente autenticato: |
| Ottenere la revisione gist |
Recuperare una revisione gist. |
| Ottenere un commento gist |
Recuperare un commento gist. |
| Ottenere un gist |
Recuperare un gist. |
| Stella gist |
Stella un gist. |
| Verificare la presenza di gist con stelle |
Controllare se viene visualizzato un gist. |
Aggiornare il commento gist
Aggiornare un commento gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
ID commento
|
comment_id | True | integer |
Identificatore univoco del commento. |
|
Testo
|
body | True | string |
Testo del commento. |
Restituisce
Commento fatto a un gist.
- Commento Gist
- gist-comment
Aggiornare un gist
Consente di aggiornare la descrizione di un gist e di aggiornare, eliminare o rinominare i file gist. I file della versione precedente del gist che non vengono modificati in modo esplicito durante una modifica non vengono modificati.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
Description
|
description | True | string |
Descrizione del gist. |
|
files
|
files | object |
File gist da aggiornare, rinominare o eliminare. Ognuno |
Restituisce
Gist Simple
- Gist Simple
- gist-simple
Creare un commento gist
Creare un commento gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
Testo
|
body | True | string |
Testo del commento. |
Restituisce
Commento fatto a un gist.
- Commento Gist
- gist-comment
Creare un gist
Consente di aggiungere un nuovo gist con uno o più file.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Description
|
description | string |
Descrizione del gist |
|
|
files
|
files | True | object |
Nomi e contenuto per i file che costituiscono il gist |
|
Flag
|
public | boolean |
Flag che indica se gist è pubblico |
Restituisce
Gist Simple
- Gist Simple
- gist-simple
Elencare i commenti gist
Elencare tutti i commenti per un gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
Per pagina
|
per_page | integer |
Numero di risultati per pagina (massimo 100). |
|
|
Pagina
|
page | integer |
Numero di pagina dei risultati da recuperare. |
Restituisce
- response
- array of gist-comment
Elencare i commit gist
Recuperare un elenco di commit gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
Per pagina
|
per_page | integer |
Numero di risultati per pagina (massimo 100). |
|
|
Pagina
|
page | integer |
Numero di pagina dei risultati da recuperare. |
Restituisce
- response
- array of gist-commit
Elencare i fork gist
Recuperare un elenco di fork gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
Per pagina
|
per_page | integer |
Numero di risultati per pagina (massimo 100). |
|
|
Pagina
|
page | integer |
Numero di pagina dei risultati da recuperare. |
Restituisce
- response
- array of gist-simple
Elencare i gist pubblici
Elencare i gist pubblici ordinati in base all'ultimo aggiornamento aggiornato almeno di recente.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Poiché
|
since | string |
Mostra solo le notifiche aggiornate dopo il tempo specificato. Timestamp in formato ISO 8601: |
|
|
Per pagina
|
per_page | integer |
Numero di risultati per pagina (massimo 100). |
|
|
Pagina
|
page | integer |
Numero di pagina dei risultati da recuperare. |
Restituisce
- response
- array of base-gist
Elencare i gists per l'utente autenticato
Elenca i gist dell'utente autenticato o, se chiamato in modo anonimo, questo endpoint restituisce tutti i gist pubblici:
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Poiché
|
since | string |
Mostra solo le notifiche aggiornate dopo il tempo specificato. Timestamp in formato ISO 8601: |
|
|
Per pagina
|
per_page | integer |
Numero di risultati per pagina (massimo 100). |
|
|
Pagina
|
page | integer |
Numero di pagina dei risultati da recuperare. |
Restituisce
- response
- array of base-gist
Elimina commento gist
Eliminare un commento gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
ID commento
|
comment_id | True | integer |
Identificatore univoco del commento. |
Eliminare un gist
Eliminare un gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
Fork di un gist
Fork di un gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
Restituisce
Base Gist
- Base Gist
- base-gist
Gist unstar
Unstar un gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
List starred gists
Elencare i gist con stelle dell'utente autenticato:
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Poiché
|
since | string |
Mostra solo le notifiche aggiornate dopo il tempo specificato. Timestamp in formato ISO 8601: |
|
|
Per pagina
|
per_page | integer |
Numero di risultati per pagina (massimo 100). |
|
|
Pagina
|
page | integer |
Numero di pagina dei risultati da recuperare. |
Restituisce
- response
- array of base-gist
Ottenere la revisione gist
Recuperare una revisione gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
SHA
|
sha | True | string |
The SHA. |
Restituisce
Gist Simple
- Gist Simple
- gist-simple
Ottenere un commento gist
Recuperare un commento gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
|
ID commento
|
comment_id | True | integer |
Identificatore univoco del commento. |
Restituisce
Commento fatto a un gist.
- Commento Gist
- gist-comment
Ottenere un gist
Recuperare un gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
Restituisce
Gist Simple
- Gist Simple
- gist-simple
Stella gist
Stella un gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
Verificare la presenza di gist con stelle
Controllare se viene visualizzato un gist.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Gist ID
|
gist_id | True | string |
Identificatore univoco del gist. |
Definizioni
nullable-simple-user
Utente semplice
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Nome
|
name | string |
Nome. |
|
Email
|
string |
Indirizzo di posta elettronica. |
|
|
Account di accesso
|
login | string |
Account di accesso. |
|
Documento d'identità
|
id | integer |
Identificatore. |
|
ID nodo
|
node_id | string |
Identificatore del nodo. |
|
Avatar URL
|
avatar_url | string |
Indirizzo URL avatar. |
|
Gravatar ID
|
gravatar_id | string |
Identificatore gravatar. |
|
URL
|
url | string |
Indirizzo URL. |
|
HTML URL
|
html_url | string |
Indirizzo URL HTML. |
|
URL follower
|
followers_url | string |
Indirizzo URL follower. |
|
URL seguente
|
following_url | string |
Indirizzo URL seguente. |
|
Gists URL
|
gists_url | string |
Indirizzo URL Gists. |
|
URL con stella
|
starred_url | string |
Indirizzo URL con stelle. |
|
URL delle sottoscrizioni
|
subscriptions_url | string |
Indirizzo URL delle sottoscrizioni. |
|
URL organizzazione
|
organizations_url | string |
Indirizzo URL dell'organizzazione. |
|
URL repository
|
repos_url | string |
Indirizzo URL repository. |
|
URL eventi
|
events_url | string |
Indirizzo URL degli eventi. |
|
URL degli eventi ricevuti
|
received_events_url | string |
Indirizzo URL degli eventi ricevuti. |
|
TIPO
|
type | string |
Tipo. |
|
Amministratore del sito
|
site_admin | boolean |
Amministratore del sito. |
|
Starred At
|
starred_at | string |
L'ha recitata. |
simple-user
Utente semplice
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Nome
|
name | string |
Nome. |
|
Email
|
string |
Indirizzo di posta elettronica. |
|
|
Account di accesso
|
login | string |
Account di accesso. |
|
Documento d'identità
|
id | integer |
Identificatore. |
|
ID nodo
|
node_id | string |
Identificatore del nodo. |
|
Avatar URL
|
avatar_url | string |
Indirizzo URL avatar. |
|
Gravatar ID
|
gravatar_id | string |
Identificatore gravatar. |
|
URL
|
url | string |
Indirizzo URL. |
|
HTML URL
|
html_url | string |
Indirizzo URL HTML. |
|
URL follower
|
followers_url | string |
Indirizzo URL follower. |
|
URL seguente
|
following_url | string |
Indirizzo URL seguente. |
|
Gists URL
|
gists_url | string |
Indirizzo URL Gists. |
|
URL con stella
|
starred_url | string |
Indirizzo URL con stelle. |
|
URL delle sottoscrizioni
|
subscriptions_url | string |
Indirizzo URL delle sottoscrizioni. |
|
URL organizzazione
|
organizations_url | string |
Indirizzo URL dell'organizzazione. |
|
URL repository
|
repos_url | string |
Indirizzo URL repository. |
|
URL eventi
|
events_url | string |
Indirizzo URL degli eventi. |
|
URL degli eventi ricevuti
|
received_events_url | string |
Indirizzo URL degli eventi ricevuti. |
|
TIPO
|
type | string |
Tipo. |
|
Amministratore del sito
|
site_admin | boolean |
Amministratore del sito. |
|
Starred At
|
starred_at | string |
L'ha recitata. |
author-association
Modalità di associazione dell'autore al repository.
Modalità di associazione dell'autore al repository.
- author_association
- string
base-gist
Base Gist
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
URL
|
url | string |
Indirizzo URL. |
|
URL fork
|
forks_url | string |
Indirizzo URL del fork. |
|
URL commit
|
commits_url | string |
Indirizzo URL commit. |
|
Documento d'identità
|
id | string |
Identificatore. |
|
ID nodo
|
node_id | string |
Identificatore del nodo. |
|
Git Pull URL
|
git_pull_url | string |
Indirizzo URL pull Git. |
|
Git Push URL
|
git_push_url | string |
Indirizzo URL push Git. |
|
HTML URL
|
html_url | string |
Indirizzo URL HTML. |
|
files
|
files | object | |
|
Public
|
public | boolean |
Se pubblico. |
|
Creato all'indirizzo
|
created_at | string |
Al momento della creazione. |
|
Aggiornato all'indirizzo
|
updated_at | string |
Quando viene aggiornato all'indirizzo. |
|
Description
|
description | string |
Descrizione. |
|
Comments
|
comments | integer |
Numero di commenti. |
|
URL commenti
|
comments_url | string |
Indirizzo URL commenti. |
|
Utente semplice
|
owner | simple-user |
Utente semplice |
|
Troncato
|
truncated | boolean |
Se è stato troncato. |
|
Forchette
|
forks | array of |
Fork. |
|
Cronologia
|
history | array of |
Cronologia. |
public-user
Utente pubblico
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Account di accesso
|
login | string |
Account di accesso. |
|
Documento d'identità
|
id | integer |
Identificatore. |
|
ID nodo
|
node_id | string |
Identificatore del nodo. |
|
Avatar URL
|
avatar_url | string |
Indirizzo URL avatar. |
|
Gravatar ID
|
gravatar_id | string |
Identificatore gravatar. |
|
URL
|
url | string |
Indirizzo URL. |
|
HTML URL
|
html_url | string |
Indirizzo URL HTML. |
|
URL follower
|
followers_url | string |
Indirizzo URL follower. |
|
URL seguente
|
following_url | string |
Indirizzo URL seguente. |
|
Gists URL
|
gists_url | string |
Indirizzo URL Gists. |
|
URL con stella
|
starred_url | string |
Indirizzo URL con stelle. |
|
URL delle sottoscrizioni
|
subscriptions_url | string |
Indirizzo URL delle sottoscrizioni. |
|
URL organizzazione
|
organizations_url | string |
Indirizzo URL dell'organizzazione. |
|
URL repository
|
repos_url | string |
Indirizzo URL repository. |
|
URL eventi
|
events_url | string |
Indirizzo URL degli eventi. |
|
URL degli eventi ricevuti
|
received_events_url | string |
Indirizzo URL degli eventi ricevuti. |
|
TIPO
|
type | string |
Tipo. |
|
Amministratore del sito
|
site_admin | boolean |
Amministratore del sito. |
|
Nome
|
name | string |
Nome. |
|
Azienda
|
company | string |
L'azienda. |
|
Blog
|
blog | string |
Blog. |
|
Posizione
|
location | string |
Posizione. |
|
Email
|
Indirizzo di posta elettronica. |
||
|
Assuntibile
|
hireable | boolean |
Se può essere assunto. |
|
Biografia
|
bio | string |
La bio. |
|
Nome utente Twitter
|
twitter_username | string |
Nome utente twitter. |
|
Repository pubblici
|
public_repos | integer |
Numero di repository pubblici. |
|
Gists pubblici
|
public_gists | integer |
Numero di Gists pubblici. |
|
Follower
|
followers | integer |
Numero di seguaci. |
|
Seguito
|
following | integer |
Numero riportato di seguito. |
|
Creato all'indirizzo
|
created_at | string |
Al momento della creazione. |
|
Aggiornato all'indirizzo
|
updated_at | string |
Quando viene aggiornato all'indirizzo. |
|
Collaboratori
|
plan.collaborators | integer |
Numero di collaboratori. |
|
Nome
|
plan.name | string |
Nome. |
|
Spazio
|
plan.space | integer |
Spazio del piano. |
|
Repository privati
|
plan.private_repos | integer |
Numero di repository privati. |
|
Sospeso all'indirizzo
|
suspended_at | string |
Quando sospeso. |
|
Gists privati
|
private_gists | integer |
Numero di Gists privati. |
|
Totale repository privati
|
total_private_repos | integer |
Numero totale di repository privati. |
|
Repos privati di proprietà
|
owned_private_repos | integer |
Numero di repository privati di proprietà. |
|
Utilizzo del disco
|
disk_usage | integer |
Utilizzo del disco. |
|
Collaboratori
|
collaborators | integer |
Numero di collaboratori. |
gist-history
Gist History
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Versione
|
version | string |
Versione. |
|
Commit all'indirizzo
|
committed_at | string |
Quando ne viene eseguito il commit. |
|
Total
|
change_status.total | integer |
Totale. |
|
Aggiunte
|
change_status.additions | integer |
Numero di aggiunte. |
|
Eliminazioni
|
change_status.deletions | integer |
Numero di eliminazioni. |
|
URL
|
url | string |
Indirizzo URL. |
gist-simple
Gist Simple
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Forchette
|
forks | array of object | |
|
Documento d'identità
|
forks.id | string |
Identificatore. |
|
URL
|
forks.url | string |
Indirizzo URL. |
|
Utente pubblico
|
forks.user | public-user |
Utente pubblico |
|
Creato all'indirizzo
|
forks.created_at | string |
Al momento della creazione. |
|
Aggiornato all'indirizzo
|
forks.updated_at | string |
Quando viene aggiornato all'indirizzo. |
|
storia
|
history | array of gist-history | |
|
URL
|
fork_of.url | string |
Indirizzo URL. |
|
URL fork
|
fork_of.forks_url | string |
Indirizzo URL del fork. |
|
URL commit
|
fork_of.commits_url | string |
Indirizzo URL commit. |
|
Documento d'identità
|
fork_of.id | string |
Identificatore. |
|
ID nodo
|
fork_of.node_id | string |
Identificatore del nodo. |
|
Git Pull URL
|
fork_of.git_pull_url | string |
Indirizzo URL pull Git. |
|
Git Push URL
|
fork_of.git_push_url | string |
Indirizzo URL pull Git. |
|
Indirizzo URL HTML
|
fork_of.html_url | string |
Indirizzo URL HTML. |
|
files
|
fork_of.files | object | |
|
Public
|
fork_of.public | boolean |
Se pubblico. |
|
Creato all'indirizzo
|
fork_of.created_at | string |
Al momento della creazione. |
|
Aggiornato all'indirizzo
|
fork_of.updated_at | string |
Quando viene aggiornato all'indirizzo. |
|
Description
|
fork_of.description | string |
Descrizione. |
|
Comments
|
fork_of.comments | integer |
Commenti. |
|
URL commenti
|
fork_of.comments_url | string |
Indirizzo URL commenti. |
|
Utente semplice
|
fork_of.owner | nullable-simple-user |
Utente semplice |
|
Troncato
|
fork_of.truncated | boolean |
Se è stato troncato. |
|
Forchette
|
fork_of.forks | array of |
Fork. |
|
Cronologia
|
fork_of.history | array of |
Cronologia. |
|
URL
|
url | string |
Indirizzo URL. |
|
URL fork
|
forks_url | string |
Indirizzo URL del fork. |
|
URL commit
|
commits_url | string |
Indirizzo URL commit. |
|
Documento d'identità
|
id | string |
Identificatore. |
|
ID nodo
|
node_id | string |
Identificatore del nodo. |
|
Git Pull URL
|
git_pull_url | string |
Indirizzo URL pull Git. |
|
Git Push URL
|
git_push_url | string |
Indirizzo URL push Git. |
|
HTML URL
|
html_url | string |
Indirizzo URL HTML. |
|
files
|
files | object | |
|
Public
|
public | boolean |
Se pubblico. |
|
Creato all'indirizzo
|
created_at | string |
Al momento della creazione. |
|
Aggiornato all'indirizzo
|
updated_at | string |
Quando viene aggiornato all'indirizzo. |
|
Description
|
description | string |
Descrizione. |
|
Comments
|
comments | integer |
Commenti. |
|
User
|
user | string |
L'utente. |
|
URL commenti
|
comments_url | string |
Indirizzo URL commenti. |
|
Utente semplice
|
owner | simple-user |
Utente semplice |
|
Troncato
|
truncated | boolean |
Se è stato troncato. |
gist-comment
Commento fatto a un gist.
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Documento d'identità
|
id | integer |
Identificatore. |
|
ID nodo
|
node_id | string |
Identificatore del nodo. |
|
URL
|
url | string |
Indirizzo URL. |
|
Corpo
|
body | string |
Il corpo. |
|
Creato all'indirizzo
|
created_at | string |
Al momento della creazione. |
|
Aggiornato all'indirizzo
|
updated_at | string |
Quando viene aggiornato all'indirizzo. |
|
author_association
|
author_association | author-association |
Modalità di associazione dell'autore al repository. |
gist-commit
Gist Commit
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
URL
|
url | string |
Indirizzo URL. |
|
Versione
|
version | string |
Versione. |
|
Total
|
change_status.total | integer |
Totale. |
|
Aggiunte
|
change_status.additions | integer |
Numero di aggiunte. |
|
Eliminazioni
|
change_status.deletions | integer |
Numero di eliminazioni. |
|
Commit all'indirizzo
|
committed_at | string |
Quando ne viene eseguito il commit. |