Labels

Créer un nouveau nom

Ce endpoint permet de créer un nom complet.

Vous devez fournir les informations suivantes :

  • labelSourceId: L'id de la source du nom (peut être vide).
  • value: Le nom alternatif de l'application.
post/api/v2/applications/{applicationId}/labels

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/auth, token URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/token)
    • API key in header x-refapp-token

Path parameters

applicationIdstring required

Request body

labelSourceIdstring

ID de la source du label

valuestring required

Value of the label

Example request

{
  "labelSourceId": "5708d232-8338-4abf-8f38-8370acc89497",
  "value": "short-app-name"
}

Response

Nom alternatif créé avec succès.

labelSourceIdstring

ID de la source du label

valuestring required

Value of the label

idstring required

ID of the label

applicationIdstring required

ID of the application to which the label belongs

Example response

{
  "labelSourceId": "5708d232-8338-4abf-8f38-8370acc89497",
  "value": "short-app-name",
  "id": "5708d232-8338-4abf-8f38-8370acc89497",
  "applicationId": "5708d232-8338-4abf-8f38-8370acc89497"
}

Changes

No recorded changes to this operation across all 22 revisions of this API.