Metadatas

Retourne la première et la dernière metadata d'une application

Changed on
get/api/v2/applications/{applicationId}/metadatas/first-last

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

Response

La première et la dernière metadata

Example response

{
  "first": {
    "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"
          }
        ]
      }
    }
  },
  "last": {
    "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"
          }
        ]
      }
    }
  }
}

Changes

    • warning

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

    • warning

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

    • warning

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

    • warning

      added the new GlobalAdminManage 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

    • 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

    • warning

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

    • warning

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

    • warning

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

    • warning

      added the new QualityCampaignManage 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 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 TechnologyList enum value to the /////////// response property for the response status

    • 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 optional property ////////// to the response with the status

    • info

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

    • warning

      removed the optional property ////////// from the response with the status

    • warning

      removed the optional property ////////// from the response with the status

    • warning

      removed the optional property ////////// from the response with the status

    • warning

      removed the optional property ////////// from the response with the status