For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/ko/api/latest/app-builder/name-app-version.md. A documentation index is available at /llms.txt.
Language
Datadog site
주의이 제품은 선택한 Datadog 사이트에서 지원되지 않습니다. (US2-FED).

앱 버전 이름 지정

PATCHhttps://api.datadoghq.com/api/v2/app-builder/apps/{app_id}/version-namehttps://api.us3.datadoghq.com/api/v2/app-builder/apps/{app_id}/version-namehttps://api.us5.datadoghq.com/api/v2/app-builder/apps/{app_id}/version-namehttps://api.datadoghq.eu/api/v2/app-builder/apps/{app_id}/version-namehttps://api.ap1.datadoghq.com/api/v2/app-builder/apps/{app_id}/version-namehttps://api.ap2.datadoghq.com/api/v2/app-builder/apps/{app_id}/version-namehttps://api.uk1.datadoghq.com/api/v2/app-builder/apps/{app_id}/version-namehttps://api.ddog-gov.com/api/v2/app-builder/apps/{app_id}/version-namehttps://api.us2.ddog-gov.com/api/v2/app-builder/apps/{app_id}/version-name

개요

앱의 특정 버전에 사람이 읽을 수 있는 이름을 할당합니다. 버전은 version 쿼리 파라미터를 통해 선택합니다.

This endpoint requires the apps_write permission.

인수

경로 파라미터

이름
유형
설명
app_id [required]
string

The ID of the app.

쿼리 문자열

이름
유형
설명
version [required]
string

The version number of the app to name. The special values latest and deployed can also be used to target the latest or currently published version.

요청

Body Data (required)

항목
유형
설명
data
object

특정 앱 버전에 사람이 읽을 수 있는 이름을 할당하도록 요청합니다.

응답

No Content

코드 예시

Name App Version returns "No Content" response
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF
# Path parameters
export app_id="65bb1f25-52e1-4510-9f8d-22d1516ed693"
# Required query arguments
export version="3"

# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X PATCH "https://api.${DD_SITE}/api/v2/app-builder/apps/${app_id}/version-name?version=${version}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "name": "v1.2.0 - bug fix release"
    },
    "type": "versionNames"
  }
}
EOF