Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3

...

Retrieve metadata for a single application 

This resource is to retrieve metadata for a given client application using the ClientId. 

GET /metadata/{ClientId}

Localtabgroup
Localtab
titleRequest
Code Block
curl -k -X GET https://localhost:9446/api/openbanking/application/v1.3.0/metadata/GHwb3aJqdUHpllxhayNP3hHe2aga 
Localtab
titleResponse
Code Block
{
   "data":{
      "type":"oauth2",
      "Id":"GHwb3aJqdUHpllxhayNP3hHe2aga",
      "metadata":{
         "CERTIFICATE":"1",
         "USE_DOMAIN_IN_ROLES":"false",
         "DisplayName":"testapplication1"
      }
   }
}


...

Retrieve metadata for a set of applications 

This resource is to retrieve metadata for a given bulk of client applications using their ClientIds. The list of ClientIds should be passed as parameters.

GET /metadata

Localtabgroup
Localtab
titleRequest
Code Block
curl -k -X GET https://localhost:9446/api/openbanking/application/v1.3.0/metadata?clientIds=GHwb3aJqdUHpllxhayNP3hHe2aga,GHwb3aJqdUHpllxhayNP3hHe2aga,WJYzX5MVxCaFkV80qHU9JZFQ6xAa,7dS4wicGU743EODayKmeNvJvhdsa
Localtab
titleResponse
Code Block
{
   "data":{
      "7dS4wicGU743EODayKmeNvJvhdsa":{
         "type":"oauth2",
         "Id":"7dS4wicGU743EODayKmeNvJvhdsa",
         "metadata":{
            "USE_DOMAIN_IN_ROLES":"false",
            "CERTIFICATE":"3",
            "DisplayName":"testapplication3"
         }
      },
      "GHwb3aJqdUHpllxhayNP3hHe2aga":{
         "type":"oauth2",
         "Id":"GHwb3aJqdUHpllxhayNP3hHe2aga",
         "metadata":{
            "CERTIFICATE":"1",
            "USE_DOMAIN_IN_ROLES":"false",
            "DisplayName":"testapplication1"
         }
      },
      "WJYzX5MVxCaFkV80qHU9JZFQ6xAa":{
         "type":"oauth2",
         "Id":"WJYzX5MVxCaFkV80qHU9JZFQ6xAa",
         "metadata":{
            "CERTIFICATE":"2",
            "USE_DOMAIN_IN_ROLES":"false"
         }
      }
   }
}