Get Info of multiple Client Ids

nsaini
New Member

Hi

I have a requirement where a proxy will be used to get details of a app identified by Client id. proxy will receive payload with multiple client ids and have to return details of clientid. Currently we are using verifyapikey to get info but this works only for one client id.

Is there any way to get info of multiple client ids.

Payload will look like -

<Client>

<Clientid>Clientid0</ClientId>

<Clientid>Clientid1</ClientId>

<Clientid>Clientid2</ClientId>

</Client>

Solved Solved
0 2 285
1 ACCEPTED SOLUTION

Not applicable

HI,
I am not sure if there is any management API to get details of app against api-key.

The way I see it, solution can be implemenmented in two parts:

1) Create an api proxy which takes client id as input and calls AccessEntity policy to get developer details and returns the required attributes from policy response.

2) Inside the API proxy which receives multiple client ids as payload, apply a javascript policy in request and response.
IN request side inside a for loop for no. of client ids received make asynchronous http requests and store the request in session.
IN the response side again apply for loop to read all responses and do the aggregation.

View solution in original post

2 REPLIES 2

nsaini
New Member

Not applicable

HI,
I am not sure if there is any management API to get details of app against api-key.

The way I see it, solution can be implemenmented in two parts:

1) Create an api proxy which takes client id as input and calls AccessEntity policy to get developer details and returns the required attributes from policy response.

2) Inside the API proxy which receives multiple client ids as payload, apply a javascript policy in request and response.
IN request side inside a for loop for no. of client ids received make asynchronous http requests and store the request in session.
IN the response side again apply for loop to read all responses and do the aggregation.