applications

Créer une nouvelle application

Ce endpoint permet de créer une application complète.

Vous devez fournir les informations suivantes :

  • label: Le libellé de l'application.
  • shortName: Le nom court de l'application.
  • logo: L'URL du logo (peut être vide).
  • description: Une description détaillée de l'application.
  • purposes: Les domaines d'activité (ex: finance, HR, operations).
  • tags: Des tags pour catégoriser l'application.
    • firstProductionDate: Date de première mise en production.
    • plannedDecommissioningDate: Date prévue de déclassement.
    • source: La source du libelé.
    • value: Le libellé alternatif.
  • compliances: La liste des conformités associées avec :
    • Champs spécifiques selon le type de conformité (DIMA, PDMA, HOMOLOGATION, RGAA, DSFR, RGPD).
post/api/v2/applications

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

Request body

labelstring required

Label of the application

shortNamestring

Short name of the application

logostring

Logo URL of the application

descriptionstring required

Description of the application

targetPopulationsstring[]

population associated with the application

priorityRestart'R0' | 'R1' | 'R1_STAR' | 'R2' | 'R3'
purposesstring[]

Purposes of the application

type'business' | 'core_service' | 'intranet_citizen' | 'intranet_staff' | 'data_hub'

Type of the application

tagsstring[]
businessDivisionIdsstring[]

Ids des directions de metier de l'application MOA

Example request

{
  "label": "My Application",
  "shortName": "short-app-name",
  "logo": "http://example.com/logo.png",
  "description": "An amazing application",
  "targetPopulations": [
    "population 1",
    "population 2"
  ],
  "purposes": [
    "finance",
    "HR"
  ],
  "tags": [
    "tag1",
    "tag2"
  ]
}

Response

Application créée avec succès.

logostring nullable required

URL of the application logo

status'under_construction' | 'to_validate' | 'poc' | 'in_production_mvp' | 'in_production' | 'in_production_decommissioning' | 'decommissioned' | 'deleted'

Nouveau statut de l'application

priorityRestart'R0' | 'R1' | 'R1_STAR' | 'R2' | 'R3'
idstring required
labelstring required
shortNamestring nullable required
descriptionstring required
targetPopulationsstring[] required
purposesstring[] required
qualitynumber nullable required

Example response

{
  "logo": "https://example.com/logo.png",
  "technicalDebtInfo": {
    "technicalMaturity": 3.2,
    "businessMaturity": 4.5,
    "costContainment": 2.75,
    "millesime": 2026,
    "id": "uuid-example",
    "applicationId": "uuid-example"
  },
  "businessDivisions": [
    {
      "label": "farm"
    }
  ]
}

Changes

No operation changes recorded.