ApplicationReports

Récupérer tous les signalements pour une application

Changed on

Renvoie la liste paginée des signalements pour une application donnée.

get/api/v2/applications/{applicationId}/reports

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

ID de l'application

Query parameters

allboolean

Filtrer les signalements pour l'utilisateur connecté

searchReportstring
sortBy'application' | 'status' | 'date' | 'description' | 'notifier' | 'notes'
order'asc' | 'desc'
pagenumber
limitnumber

Response

Liste paginée des signalements pour l'application

totalnumber required

Total number of items

Example response

{
  "results": [
    {
      "impersonatorId": "5708d232-8338-4abf-8f38-8370acc89497",
      "createdAt": "2023-10-01T12:00:00Z",
      "application": {
        "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"
          }
        ]
      }
    }
  ],
  "total": 100
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property // to the response with the status