Metadatas

Récupérer toutes les metadatas d'une application

Changed on
get/api/v2/applications/{applicationId}/metadatas

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

pagenumber

Numéro de page

pageSizenumber
Example:15

Nombre de résultats par page, 0 pour supprimer la pagination

sortBystring
Example:label

Champ utilisé pour le tri

order'asc' | 'desc'
Example:asc

Ordre de tri

createdAtGtestring
Example:2023-01-01T00:00:00.000Z

Date de création minimum (inclusive)

createdAtLtestring
Example:2023-12-31T23:59:59.999Z

Date de création maximum (inclusive)

Response

Liste des metadatas

totalnumber required

Total number of items

Example response

{
  "results": [
    {
      "id": "5708d232-8338-4abf-8f38-8370acc89497",
      "applicationId": "5708d232-8338-4abf-8f38-8370acc89497",
      "actorId": "5708d232-8338-4abf-8f38-8370acc89497",
      "createdAt": "2023-10-01T12:00:00Z",
      "complianceId": "5708d232-8338-4abf-8f38-8370acc89497",
      "createdById": "5708d232-8338-4abf-8f38-8370acc89497",
      "dataOwnerId": "5708d232-8338-4abf-8f38-8370acc89497",
      "description": "Initial metadata",
      "externalRessourceId": "5708d232-8338-4abf-8f38-8370acc89497",
      "hostingId": "5708d232-8338-4abf-8f38-8370acc89497",
      "labelId": "5708d232-8338-4abf-8f38-8370acc89497",
      "createdBy": {
        "organization": {
          "id": "f09ed26a-8415-476a-be3b-ada479291c34",
          "path": "Direction de la transformation numérique",
          "sigle": "dtnum",
          "parentId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivisionId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivision": {
            "label": "farm"
          },
          "maiaReferences": [
            {
              "id": "f09ed26a-8415-476a-be3b-ada479291c34",
              "maiaRef": "MI/DNUM/SDID",
              "organizationId": "f09ed26a-8415-476a-be3b-ada479291c34"
            }
          ]
        },
        "scopeOrganization": {
          "id": "f09ed26a-8415-476a-be3b-ada479291c34",
          "path": "Direction de la transformation numérique",
          "sigle": "dtnum",
          "parentId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivisionId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivision": {
            "label": "farm"
          },
          "maiaReferences": [
            {
              "id": "f09ed26a-8415-476a-be3b-ada479291c34",
              "maiaRef": "MI/DNUM/SDID",
              "organizationId": "f09ed26a-8415-476a-be3b-ada479291c34"
            }
          ]
        }
      },
      "impersonatorId": "5708d232-8338-4abf-8f38-8370acc89497",
      "impersonator": {
        "organization": {
          "id": "f09ed26a-8415-476a-be3b-ada479291c34",
          "path": "Direction de la transformation numérique",
          "sigle": "dtnum",
          "parentId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivisionId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivision": {
            "label": "farm"
          },
          "maiaReferences": [
            {
              "id": "f09ed26a-8415-476a-be3b-ada479291c34",
              "maiaRef": "MI/DNUM/SDID",
              "organizationId": "f09ed26a-8415-476a-be3b-ada479291c34"
            }
          ]
        },
        "scopeOrganization": {
          "id": "f09ed26a-8415-476a-be3b-ada479291c34",
          "path": "Direction de la transformation numérique",
          "sigle": "dtnum",
          "parentId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivisionId": "f09ed26a-8415-476a-be3b-ada479291c34",
          "businessDivision": {
            "label": "farm"
          },
          "maiaReferences": [
            {
              "id": "f09ed26a-8415-476a-be3b-ada479291c34",
              "maiaRef": "MI/DNUM/SDID",
              "organizationId": "f09ed26a-8415-476a-be3b-ada479291c34"
            }
          ]
        }
      }
    }
  ],
  "total": 100
}

Changes

    • warning

      added the new TechnologyList enum value to the //////// response property for the response status

    • warning

      added the new TechnologyList enum value to the //////// response property for the response status

    • warning

      added the new MditCampaignManage enum value to the //////// response property for the response status

    • warning

      added the new MditCampaignManage enum value to the //////// response property for the response status