Google Classroom - userProfiles.get未返回verifiedTeacher属性

时间:2018-01-21 12:42:10

标签: api google-classroom

在获取userProfiles.get方法时,它会返回UserProfile个对象,但它似乎不会返回 verifiedTeacher 属性。

以下是我在Google API Playground的回复:

HTTP/1.1 200 OK
Content-length: 297
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
X-goog-trace-id: 112a56fbf6e2b530785ebb084b9ab298
Transfer-encoding: chunked
Vary: Origin, X-Origin, Referer
Server: ESF
-content-encoding: gzip
Cache-control: private
Date: Sun, 21 Jan 2018 12:36:21 GMT
X-frame-options: SAMEORIGIN
Alt-svc: hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=":443"; ma=2592000; v="41,39,38,37,35"
Content-type: application/json; charset=UTF-8
Content-location: https://classroom.googleapis.com/v1/userProfiles/me
{
  "photoUrl": "https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg", 
  "emailAddress": "3gtest@xxxxx.sa.edu.au", 
  "id": "106492323808275670", 
  "name": {
    "fullName": "Staff3 gTest", 
    "givenName": "Staff3", 
    "familyName": "gTest"
  }
}

有人可以给我一些提示,尝试从文档中描述的API中返回VerifiedTeacher属性吗?

由于

0 个答案:

没有答案