зеркало из https://github.com/github/docs.git
update titles for REST API git, rate limit, reactions, releases, search docs (#49071)
This commit is contained in:
Родитель
9ba354aecc
Коммит
24a6743633
|
@ -117,7 +117,7 @@ on:
|
|||
|
||||
{% endnote %}
|
||||
|
||||
Runs your workflow when someone creates a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to create a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#createref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#create-a-reference)" in the REST API documentation.
|
||||
Runs your workflow when someone creates a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to create a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#createref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#create-a-reference)."
|
||||
|
||||
For example, you can run a workflow when the `create` event occurs.
|
||||
|
||||
|
@ -140,7 +140,7 @@ on:
|
|||
|
||||
{% endnote %}
|
||||
|
||||
Runs your workflow when someone deletes a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to delete a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#deleteref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#delete-a-reference)" in the REST API documentation.
|
||||
Runs your workflow when someone deletes a Git reference (Git branch or tag) in the workflow's repository. For information about the APIs to delete a Git reference, see "[AUTOTITLE](/graphql/reference/mutations#deleteref)" in the GraphQL API documentation or "[AUTOTITLE](/rest/git#delete-a-reference)."
|
||||
|
||||
For example, you can run a workflow when the `delete` event occurs.
|
||||
|
||||
|
|
|
@ -88,9 +88,9 @@ The `$GITHUB_VIA` variable is available in the pre-receive hook environment when
|
|||
| <pre>blob#save</pre> | Change to a file's contents in the web interface | "[AUTOTITLE](/repositories/working-with-files/managing-files/editing-files)" |
|
||||
| <pre>branch merge api</pre> | Merge of a branch via the API | "[AUTOTITLE](/rest/branches#merge-a-branch)" |
|
||||
| <pre>branches page delete button</pre> | Deletion of a branch in the web interface | "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository#deleting-a-branch)" |
|
||||
| <pre>git refs create api</pre> | Creation of a ref via the API | "[AUTOTITLE](/rest/git#create-a-reference)" in the REST API documentation |
|
||||
| <pre>git refs delete api</pre> | Deletion of a ref via the API | "[AUTOTITLE](/rest/git#delete-a-reference)" in the REST API documentation |
|
||||
| <pre>git refs update api</pre> | Update of a ref via the API | "[AUTOTITLE](/rest/git#update-a-reference)" in the REST API documentation |
|
||||
| <pre>git refs create api</pre> | Creation of a ref via the API | "[AUTOTITLE](/rest/git#create-a-reference)" |
|
||||
| <pre>git refs delete api</pre> | Deletion of a ref via the API | "[AUTOTITLE](/rest/git#delete-a-reference)" |
|
||||
| <pre>git refs update api</pre> | Update of a ref via the API | "[AUTOTITLE](/rest/git#update-a-reference)" |
|
||||
| <pre>git repo contents api</pre> | Change to a file's contents via the API | "[AUTOTITLE](/rest/repos#create-or-update-file-contents)" in the REST API documentation |
|
||||
{%- ifversion ghes %}
|
||||
| `merge` | Merge of a pull request using auto-merge | "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request)" |
|
||||
|
@ -103,7 +103,7 @@ The `$GITHUB_VIA` variable is available in the pre-receive hook environment when
|
|||
| <pre>pull request revert button</pre> | Revert of a pull request | "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/reverting-a-pull-request)" |
|
||||
| <pre>releases delete button</pre> | Deletion of a release | "[AUTOTITLE](/repositories/releasing-projects-on-github/managing-releases-in-a-repository#deleting-a-release)" |
|
||||
| <pre>stafftools branch restore</pre> | Restoration of a branch from the site admin dashboard | "[AUTOTITLE](/admin/configuration/configuring-your-enterprise/site-admin-dashboard#repositories)" |
|
||||
| <pre>tag create api</pre> | Creation of a tag via the API | "[AUTOTITLE](/rest/git#create-a-tag-object)" in the REST API documentation |
|
||||
| <pre>tag create api</pre> | Creation of a tag via the API | "[AUTOTITLE](/rest/git#create-a-tag-object)" |
|
||||
{%- ifversion ghes < 3.13 %}
|
||||
| <pre>slumlord (#SHA)</pre> | Commit via Subversion | "[AUTOTITLE](/get-started/working-with-subversion-on-github/support-for-subversion-clients#making-commits-to-subversion)" |
|
||||
{%- endif %}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Git blobs
|
||||
title: REST API endpoints for Git blobs
|
||||
shortTitle: Blobs
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Git commits
|
||||
title: REST API endpoints for Git commits
|
||||
shortTitle: Commits
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Git database
|
||||
title: REST API endpoints for Git database
|
||||
shortTitle: Git database
|
||||
intro: 'Use the REST API to interact with raw Git objects in your Git database on {% data variables.product.product_name %} and to list and update Git references (branch heads and tags).'
|
||||
allowTitleToDifferFromFilename: true
|
||||
redirect_from:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Git references
|
||||
title: REST API endpoints for Git references
|
||||
shortTitle: References
|
||||
intro: >-
|
||||
Use the REST API to interact with references in your Git database on {% data
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Git tags
|
||||
title: REST API endpoints for Git tags
|
||||
shortTitle: Tags
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: Git trees
|
||||
title: REST API endpoints for Git trees
|
||||
shortTitle: Trees
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Rate limit
|
||||
title: REST API endpoints for rate limits
|
||||
shortTitle: Rate limit
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: Use the REST API to check your current rate limit status.
|
||||
versions:
|
||||
fpt: '*'
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Rate limit
|
||||
title: REST API endpoints for rate limits
|
||||
shortTitle: Rate limit
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: Use the REST API to check your current rate limit status.
|
||||
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
||||
fpt: '*'
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Reactions
|
||||
title: REST API endpoints for reactions
|
||||
shortTitle: Reactions
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
Use the REST API to interact with reactions on {% data
|
||||
variables.product.prodname_dotcom %}.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Reactions
|
||||
title: REST API endpoints for reactions
|
||||
shortTitle: Reactions
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
Use the REST API to interact with reactions on {% data
|
||||
variables.product.prodname_dotcom %}.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Release Assets
|
||||
title: REST API endpoints for release assets
|
||||
shortTitle: Release assets
|
||||
intro: Use the REST API to manage release assets.
|
||||
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
||||
fpt: '*'
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Releases
|
||||
title: REST API endpoints for releases and release assets
|
||||
shortTitle: Releases
|
||||
intro: 'Use the REST API to create, modify, and delete releases and release assets.'
|
||||
allowTitleToDifferFromFilename: true
|
||||
versions:
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: Releases
|
||||
intro: 'Use the REST API to create, modify, and delete releases and release assets.'
|
||||
title: REST API endpoints for releases
|
||||
shortTitle: Releases
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: 'Use the REST API to create, modify, and delete releases.'
|
||||
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
||||
fpt: '*'
|
||||
ghae: '*'
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Search
|
||||
title: REST API endpoints for search
|
||||
shortTitle: Search
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
Use the REST API to search for specific items on {% data
|
||||
variables.product.product_name %}.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Search
|
||||
title: REST API endpoints for search
|
||||
shortTitle: Search
|
||||
allowTitleToDifferFromFilename: true
|
||||
intro: >-
|
||||
Use the REST API to search for specific items on {% data
|
||||
variables.product.product_name %}.
|
||||
|
|
|
@ -1 +1 @@
|
|||
A Git branch or tag is created. For more information, see the "[AUTOTITLE](/rest/git#create-a-reference)" REST API.
|
||||
A Git branch or tag is created. For more information, see "[AUTOTITLE](/rest/git#create-a-reference)."
|
||||
|
|
Загрузка…
Ссылка в новой задаче