how to get developer email id and display this on body using access entity

i have an proxy with simply endpoint of https://mocktarget.apigee.net/json and inside this proxy i added a access entity policy and inside this policy what i wrote so i can get developer mail id in body whenever anyone hit on api

Solved Solved
0 9 277
1 ACCEPTED SOLUTION

Not applicable

<AccessEntity name="policy_name">

<EntityType value="developer"/>

<EntityIdentifier ref="request.queryparam.appid" type="appid"/>

</AccessEntity>

View solution in original post

9 REPLIES 9

Not applicable

You can do api key verification and the developer email id will be available in the flow.

but thing is i don't have to use oauth2.0 and verify access key without this i have to got developer email id using access entity

10799-screenshot-138.png

here what script i wrote do i got developer email if now i trace my api

10800-screenshot-139.png

this is my response of access entity

If you don't use the api key verification then You need to provide developer id or developer app id.

where can you please write script

You have to specify one of the ids in the access entity policy so that it can find out the information.

sir i didn't understand could you please write that script or thing for an example

Not applicable

<AccessEntity name="policy_name">

<EntityType value="developer"/>

<EntityIdentifier ref="request.queryparam.appid" type="appid"/>

</AccessEntity>

10801-screenshot-140.png

sir, here i wrote that you mentioned above after this i hit api and trace

10802-screenshot-141.png

here request.queryparam.appid is null

you have to send the appid in the request query param. the identifier is required to get the entity information.