On Wed, Dec 4, 2013 at 2:37 PM, Mike Ellis <[email protected]> wrote: > > // Is this the correct command, simply change the domain? > GET > https://www.googleapis.com/admin/directory/v1/users?domain=example.com&maxResults=2 > >
Yes, that's the correct command. Obviously, you will need to authorize your application before calling this URL. On Wed, Dec 4, 2013 at 2:37 PM, Mike Ellis <[email protected]> wrote: > I'm using the App Identity PHP API > Overview<https://developers.google.com/appengine/docs/php/appidentity/> to > try and understand the process but it's a little vague and I could really > use some help. Here's a code snippet from the API Overview page, > > function setAuthHeader() { $access_token = > AppIdentityService::getAccessToken("https://www.google.com/m8/feeds"); // > "m8/feeds" what does this reference and what would need to be changed for a > user list? return [ sprintf("Authorization: OAuth %s", > $access_token["access_token"]) ];} > > > The */m8/feeds* path is there because the App Identity page is demonstrating how to access the Google Contacts API. If you want to access the Apps admin service, you would paste in the endpoint URL of the Admin API. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
