.ai/principles/distilled/documentation-api.md
api_resources.md and the global nav).description front matter to start with "REST API to", use action verbs, avoid words ending in -ing, keep it under 100 characters, and end with a period./) at the top of each operation topic.bin/rake gitlab:openapi:v2:generate and bin/rake gitlab:openapi:v3:generate when modifying API Markdown or code to update the OpenAPI definition (checked by the openapi-doc-check CI/CD job).bin/rake gitlab:openapi:v2:check_docs and bin/rake gitlab:openapi:v3:check_docs before merging.[Deprecated](link) in GitLab 14.7. Use \widget_id` instead.`), and update the REST API deprecations page for wide announcement.List all for GET (multiple), Retrieve or Download for GET (single), Create or Add for POST, Update or Replace for PUT, Update or Modify for PATCH, and Delete for DELETE.List all project access tokens.).Use this API to {verb} + [{feature}](link) and link to related UI documentation.GitLab Self-Managed, Premium and Ultimate only.) in the attribute description; combine tier and offering information when possible.Required if \attribute1` is `true`.in the description and set the Required column toConditional`.project.name or projects[].name).If successful, returns [\<status_code>`](rest/troubleshooting.md#status-codes) and the following response attributes:`.--request <METHOD> first in cURL commands, including for GET.--header instead of -H, --url instead of -u) in all cURL examples (linted by scripts/lint-doc.sh).--url and wrap the URL in double quotes.https://gitlab.example.com/api/v4/ as the endpoint and <your_access_token> as the personal access token placeholder.--data-urlencode for data containing special characters (Markdown, regex, quotes, ampersands); use --data for plain alphanumeric data.%20 for spaces and %2F for slashes when escaping special characters in URLs.[] suffix (e.g. --data "skip_users[]=<id>")..md files in doc/api/graphql/ with a functional name (e.g. import_from_specific_location.md).stage, group, info, and title; add a details shortcode block listing tier and offering.docs-gitlab-com repository to add the new page to the global navigation under the GraphQL section in navigation.yaml; DO NOT merge the nav MR before the content MR is live on docs.gitlab.com.For the full picture, see: