OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/classroom.course-work.readonly"
: { | 5 "https://www.googleapis.com/auth/classroom.course-work.readonly"
: { |
6 "description": "View instructions for teacher-assigned work
in your Google Classroom classes" | 6 "description": "View instructions for teacher-assigned work
in your Google Classroom classes" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/classroom.courses": { | 8 "https://www.googleapis.com/auth/classroom.courses": { |
9 "description": "Manage your Google Classroom classes" | 9 "description": "Manage your Google Classroom classes" |
10 }, | 10 }, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 } | 44 } |
45 } | 45 } |
46 }, | 46 }, |
47 "basePath": "", | 47 "basePath": "", |
48 "baseUrl": "https://classroom.googleapis.com/", | 48 "baseUrl": "https://classroom.googleapis.com/", |
49 "batchPath": "batch", | 49 "batchPath": "batch", |
50 "description": "Manages classes, rosters, and invitations in Google Classroo
m.", | 50 "description": "Manages classes, rosters, and invitations in Google Classroo
m.", |
51 "discoveryVersion": "v1", | 51 "discoveryVersion": "v1", |
52 "documentationLink": "https://developers.google.com/classroom/", | 52 "documentationLink": "https://developers.google.com/classroom/", |
53 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YsDe4FXJlhWXueJei0_RXQqm_4I\"", | 53 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/mk_oLjlaBwJ1BcBJ5yykCFb6u3w\"", |
54 "icons": { | 54 "icons": { |
55 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 55 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
56 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 56 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
57 }, | 57 }, |
58 "id": "classroom:v1", | 58 "id": "classroom:v1", |
59 "kind": "discovery#restDescription", | 59 "kind": "discovery#restDescription", |
60 "name": "classroom", | 60 "name": "classroom", |
61 "ownerDomain": "google.com", | 61 "ownerDomain": "google.com", |
62 "ownerName": "Google", | 62 "ownerName": "Google", |
63 "parameters": { | 63 "parameters": { |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 "studentId": { | 270 "studentId": { |
271 "description": "Restricts returned courses to those
having a student with the specified identifier. The identifier can be one of the
following: * the numeric identifier for the user * the email address of the use
r * the string literal `\"me\"`, indicating the requesting user", | 271 "description": "Restricts returned courses to those
having a student with the specified identifier. The identifier can be one of the
following: * the numeric identifier for the user * the email address of the use
r * the string literal `\"me\"`, indicating the requesting user", |
272 "location": "query", | 272 "location": "query", |
273 "type": "string" | 273 "type": "string" |
274 }, | 274 }, |
275 "teacherId": { | 275 "teacherId": { |
276 "description": "Restricts returned courses to those
having a teacher with the specified identifier. The identifier can be one of the
following: * the numeric identifier for the user * the email address of the use
r * the string literal `\"me\"`, indicating the requesting user", | 276 "description": "Restricts returned courses to those
having a teacher with the specified identifier. The identifier can be one of the
following: * the numeric identifier for the user * the email address of the use
r * the string literal `\"me\"`, indicating the requesting user", |
277 "location": "query", | 277 "location": "query", |
278 "type": "string" | 278 "type": "string" |
279 }, | 279 }, |
| 280 "courseStates": { |
| 281 "description": "Restricts returned courses to those
in one of the specified states", |
| 282 "enum": [ |
| 283 "COURSE_STATE_UNSPECIFIED", |
| 284 "ACTIVE", |
| 285 "ARCHIVED", |
| 286 "PROVISIONED", |
| 287 "DECLINED" |
| 288 ], |
| 289 "location": "query", |
| 290 "repeated": true, |
| 291 "type": "string" |
| 292 }, |
280 "pageSize": { | 293 "pageSize": { |
281 "description": "Maximum number of items to return. Z
ero or unspecified indicates that the server may assign a maximum. The server ma
y return fewer than the specified number of results.", | 294 "description": "Maximum number of items to return. Z
ero or unspecified indicates that the server may assign a maximum. The server ma
y return fewer than the specified number of results.", |
282 "format": "int32", | 295 "format": "int32", |
283 "location": "query", | 296 "location": "query", |
284 "type": "integer" | 297 "type": "integer" |
285 }, | 298 }, |
286 "pageToken": { | 299 "pageToken": { |
287 "description": "nextPageToken value returned from a
previous list call, indicating that the subsequent page of results should be ret
urned. The list request must be otherwise identical to the one that resulted in
this token.", | 300 "description": "nextPageToken value returned from a
previous list call, indicating that the subsequent page of results should be ret
urned. The list request must be otherwise identical to the one that resulted in
this token.", |
288 "location": "query", | 301 "location": "query", |
289 "type": "string" | 302 "type": "string" |
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 "https://www.googleapis.com/auth/classroom.profile.photo
s", | 1154 "https://www.googleapis.com/auth/classroom.profile.photo
s", |
1142 "https://www.googleapis.com/auth/classroom.rosters", | 1155 "https://www.googleapis.com/auth/classroom.rosters", |
1143 "https://www.googleapis.com/auth/classroom.rosters.reado
nly" | 1156 "https://www.googleapis.com/auth/classroom.rosters.reado
nly" |
1144 ] | 1157 ] |
1145 } | 1158 } |
1146 }, | 1159 }, |
1147 "resources": { | 1160 "resources": { |
1148 "guardianInvitations": { | 1161 "guardianInvitations": { |
1149 "methods": { | 1162 "methods": { |
1150 "list": { | 1163 "list": { |
1151 "description": "Returns a list of guardian invitatio
ns that the requesting user is permitted to view, filtered by the parameters pro
vided. This method returns the following error codes: * `PERMISSION_DENIED` if a
`student_id` is specified, and the requesting user is not permitted to view gua
rdian invitations for that student, if guardians are not enabled for the domain
in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id`
is specified, but its format cannot be recognized (it is not an email address, n
or a `student_id` from the API, nor the literal string `me`). May also be return
ed if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a `studen
t_id` is specified, and its format can be recognized, but Classroom has no recor
d of that student.", | 1164 "description": "Returns a list of guardian invitatio
ns that the requesting user is permitted to view, filtered by the parameters pro
vided. This method returns the following error codes: * `PERMISSION_DENIED` if a
`student_id` is specified, and the requesting user is not permitted to view gua
rdian invitations for that student, if `\"-\"` is specified as the `student_id`
and the user is not a domain administrator, if guardians are not enabled for the
domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `stud
ent_id` is specified, but its format cannot be recognized (it is not an email ad
dress, nor a `student_id` from the API, nor the literal string `me`). May also b
e returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a
`student_id` is specified, and its format can be recognized, but Classroom has
no record of that student.", |
1152 "httpMethod": "GET", | 1165 "httpMethod": "GET", |
1153 "id": "classroom.userProfiles.guardianInvitations.li
st", | 1166 "id": "classroom.userProfiles.guardianInvitations.li
st", |
1154 "parameterOrder": [ | 1167 "parameterOrder": [ |
1155 "studentId" | 1168 "studentId" |
1156 ], | 1169 ], |
1157 "parameters": { | 1170 "parameters": { |
1158 "studentId": { | 1171 "studentId": { |
1159 "description": "The ID of the student whose
guardian invitations are to be returned. The identifier can be one of the follow
ing: * the numeric identifier for the user * the email address of the user * the
string literal `\"me\"`, indicating the requesting user", | 1172 "description": "The ID of the student whose
guardian invitations are to be returned. The identifier can be one of the follow
ing: * the numeric identifier for the user * the email address of the user * the
string literal `\"me\"`, indicating the requesting user * the string literal `\
"-\"`, indicating that results should be returned for all students that the requ
esting user is permitted to view guardian invitations.", |
1160 "location": "path", | 1173 "location": "path", |
1161 "required": true, | 1174 "required": true, |
1162 "type": "string" | 1175 "type": "string" |
1163 }, | 1176 }, |
1164 "invitedEmailAddress": { | 1177 "invitedEmailAddress": { |
1165 "description": "If specified, only results w
ith the specified `invited_email_address` will be returned.", | 1178 "description": "If specified, only results w
ith the specified `invited_email_address` will be returned.", |
1166 "location": "query", | 1179 "location": "query", |
1167 "type": "string" | 1180 "type": "string" |
1168 }, | 1181 }, |
1169 "states": { | 1182 "states": { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 }, | 1290 }, |
1278 "response": { | 1291 "response": { |
1279 "$ref": "GuardianInvitation" | 1292 "$ref": "GuardianInvitation" |
1280 } | 1293 } |
1281 } | 1294 } |
1282 } | 1295 } |
1283 }, | 1296 }, |
1284 "guardians": { | 1297 "guardians": { |
1285 "methods": { | 1298 "methods": { |
1286 "list": { | 1299 "list": { |
1287 "description": "Returns a list of guardians that the
requesting user is permitted to view, restricted to those that match the reques
t. This method returns the following error codes: * `PERMISSION_DENIED` if a `st
udent_id` is specified, and the requesting user is not permitted to view guardia
n information for that student, if guardians are not enabled for the domain in q
uestion, if the `invited_email_address` filter is set by a user who is not a dom
ain administrator, or for other access errors. * `INVALID_ARGUMENT` if a `studen
t_id` is specified, but its format cannot be recognized (it is not an email addr
ess, nor a `student_id` from the API, nor the literal string `me`). May also be
returned if an invalid `page_token` is provided. * `NOT_FOUND` if a `student_id`
is specified, and its format can be recognized, but Classroom has no record of
that student.", | 1300 "description": "Returns a list of guardians that the
requesting user is permitted to view, restricted to those that match the reques
t. To list guardians for any student that the requesting user may view guardians
for, use the literal character `-` for the student ID. This method returns the
following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and
the requesting user is not permitted to view guardian information for that stud
ent, if `\"-\"` is specified as the `student_id` and the user is not a domain ad
ministrator, if guardians are not enabled for the domain in question, if the `in
vited_email_address` filter is set by a user who is not a domain administrator,
or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified,
but its format cannot be recognized (it is not an email address, nor a `student
_id` from the API, nor the literal string `me`). May also be returned if an inva
lid `page_token` is provided. * `NOT_FOUND` if a `student_id` is specified, and
its format can be recognized, but Classroom has no record of that student.", |
1288 "httpMethod": "GET", | 1301 "httpMethod": "GET", |
1289 "id": "classroom.userProfiles.guardians.list", | 1302 "id": "classroom.userProfiles.guardians.list", |
1290 "parameterOrder": [ | 1303 "parameterOrder": [ |
1291 "studentId" | 1304 "studentId" |
1292 ], | 1305 ], |
1293 "parameters": { | 1306 "parameters": { |
1294 "studentId": { | 1307 "studentId": { |
1295 "description": "Filter results by the studen
t who the guardian is linked to. The identifier can be one of the following: * t
he numeric identifier for the user * the email address of the user * the string
literal `\"me\"`, indicating the requesting user", | 1308 "description": "Filter results by the studen
t who the guardian is linked to. The identifier can be one of the following: * t
he numeric identifier for the user * the email address of the user * the string
literal `\"me\"`, indicating the requesting user * the string literal `\"-\"`, i
ndicating that results should be returned for all students that the requesting u
ser has access to view.", |
1296 "location": "path", | 1309 "location": "path", |
1297 "required": true, | 1310 "required": true, |
1298 "type": "string" | 1311 "type": "string" |
1299 }, | 1312 }, |
1300 "invitedEmailAddress": { | 1313 "invitedEmailAddress": { |
1301 "description": "Filter results by the email
address that the original invitation was sent to, resulting in this guardian lin
k. This filter can only be used by domain administrators.", | 1314 "description": "Filter results by the email
address that the original invitation was sent to, resulting in this guardian lin
k. This filter can only be used by domain administrators.", |
1302 "location": "query", | 1315 "location": "query", |
1303 "type": "string" | 1316 "type": "string" |
1304 }, | 1317 }, |
1305 "pageToken": { | 1318 "pageToken": { |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1496 "response": { | 1509 "response": { |
1497 "$ref": "Empty" | 1510 "$ref": "Empty" |
1498 }, | 1511 }, |
1499 "scopes": [ | 1512 "scopes": [ |
1500 "https://www.googleapis.com/auth/classroom.rosters" | 1513 "https://www.googleapis.com/auth/classroom.rosters" |
1501 ] | 1514 ] |
1502 } | 1515 } |
1503 } | 1516 } |
1504 } | 1517 } |
1505 }, | 1518 }, |
1506 "revision": "20160816", | 1519 "revision": "20161006", |
1507 "rootUrl": "https://classroom.googleapis.com/", | 1520 "rootUrl": "https://classroom.googleapis.com/", |
1508 "schemas": { | 1521 "schemas": { |
1509 "Course": { | 1522 "Course": { |
1510 "description": "A Course in Classroom.", | 1523 "description": "A Course in Classroom.", |
1511 "id": "Course", | 1524 "id": "Course", |
1512 "properties": { | 1525 "properties": { |
1513 "id": { | 1526 "id": { |
1514 "description": "Identifier for this course assigned by Class
room. When creating a course, you may optionally set this identifier to an alias
string in the request to create a corresponding alias. The `id` is still assign
ed by Classroom and cannot be updated after the course is created. Specifying th
is field in a course update mask results in an error.", | 1527 "description": "Identifier for this course assigned by Class
room. When creating a course, you may optionally set this identifier to an alias
string in the request to create a corresponding alias. The `id` is still assign
ed by Classroom and cannot be updated after the course is created. Specifying th
is field in a course update mask results in an error.", |
1515 "type": "string" | 1528 "type": "string" |
1516 }, | 1529 }, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1576 "teacherFolder": { | 1589 "teacherFolder": { |
1577 "$ref": "DriveFolder", | 1590 "$ref": "DriveFolder", |
1578 "description": "Information about a Drive Folder that is sha
red with all teachers of the course. This field will only be set for teachers of
the course and domain administrators. Read-only." | 1591 "description": "Information about a Drive Folder that is sha
red with all teachers of the course. This field will only be set for teachers of
the course and domain administrators. Read-only." |
1579 }, | 1592 }, |
1580 "courseMaterialSets": { | 1593 "courseMaterialSets": { |
1581 "description": "Sets of materials that appear on the \"about
\" page of this course. Read-only.", | 1594 "description": "Sets of materials that appear on the \"about
\" page of this course. Read-only.", |
1582 "items": { | 1595 "items": { |
1583 "$ref": "CourseMaterialSet" | 1596 "$ref": "CourseMaterialSet" |
1584 }, | 1597 }, |
1585 "type": "array" | 1598 "type": "array" |
| 1599 }, |
| 1600 "guardiansEnabled": { |
| 1601 "description": "Whether or not guardian notifications are en
abled for this course. Read-only.", |
| 1602 "type": "boolean" |
1586 } | 1603 } |
1587 }, | 1604 }, |
1588 "type": "object" | 1605 "type": "object" |
1589 }, | 1606 }, |
1590 "DriveFolder": { | 1607 "DriveFolder": { |
1591 "description": "Representation of a Google Drive folder.", | 1608 "description": "Representation of a Google Drive folder.", |
1592 "id": "DriveFolder", | 1609 "id": "DriveFolder", |
1593 "properties": { | 1610 "properties": { |
1594 "id": { | 1611 "id": { |
1595 "description": "Drive API resource ID.", | 1612 "description": "Drive API resource ID.", |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2489 "type": "array" | 2506 "type": "array" |
2490 } | 2507 } |
2491 }, | 2508 }, |
2492 "type": "object" | 2509 "type": "object" |
2493 } | 2510 } |
2494 }, | 2511 }, |
2495 "servicePath": "", | 2512 "servicePath": "", |
2496 "title": "Google Classroom API", | 2513 "title": "Google Classroom API", |
2497 "version": "v1" | 2514 "version": "v1" |
2498 } | 2515 } |
OLD | NEW |