{"_id":"5864d2e079ce642d00f0ff3b","__v":0,"category":{"_id":"5864d2df79ce642d00f0fecb","__v":0,"version":"5864d2df79ce642d00f0fec7","project":"56439dfe9eebf70d00490d54","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-18T22:25:07.035Z","from_sync":false,"order":3,"slug":"class","title":"Class/All Users"},"version":{"_id":"5864d2df79ce642d00f0fec7","project":"56439dfe9eebf70d00490d54","__v":4,"createdAt":"2016-12-29T09:09:51.074Z","releaseDate":"2016-12-29T09:09:51.074Z","categories":["5864d2df79ce642d00f0fec8","5864d2df79ce642d00f0fec9","5864d2df79ce642d00f0feca","5864d2df79ce642d00f0fecb","5864d2df79ce642d00f0fecc","5864d2df79ce642d00f0fecd","5864d2df79ce642d00f0fece","5864d2df79ce642d00f0fecf","5864d2df79ce642d00f0fed0","5864d2df79ce642d00f0fed1","5864d2df79ce642d00f0fed2","5864d2df79ce642d00f0fed3","5864d2df79ce642d00f0fed4","5864d2df79ce642d00f0fed5","5864d2df79ce642d00f0fed6","5864d2df79ce642d00f0fed7","5864d2df79ce642d00f0fed8","5864d2df79ce642d00f0fed9","5864d2df79ce642d00f0feda","5864d2df79ce642d00f0fedb","5864d2df79ce642d00f0fedc","5864d2df79ce642d00f0fedd","5864d2df79ce642d00f0fede","598aa64f4b6e990019b7a2d2","599bc76bc03fa2000f83db2a","599bcc3c3c5bf7000f3434fc"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"project":"56439dfe9eebf70d00490d54","parentDoc":null,"user":"55ef039cbfb7ae0d0013ad7d","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-22T21:10:03.825Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[{"code":"","language":"text"}]},"method":"get","results":{"codes":[{"code":"{\n\"owner\": [\n\"2b0fd928-8b8a-43f7-9189-3af72ff254b4\",\n\"9293cf1b-8ad3-4b76-8897-ea4eeb5a2335\",\n\"77212127-c8f7-47df-bee9-d010e69df58a\",\n\"9ea6de3b-5ebd-45c7-88f6-9fd4a0cb6684\",\n\"cffc5983-3260-442c-89ff-3fda84eb9e01\",\n\"40381877-2980-4736-b6fa-96243b8137de\",\n\"b9192a22-af98-4389-b1a8-29f26528f7c8\",\n\"f3974fcf-daf5-4492-9c1f-8dd4900c2040\",\n\"d7c1d57d-da97-4d26-b81a-d997eec10cf6\",\n\"05b84d10-8bb1-4ae4-b0c4-c8b419ef71c2\",\n\"1bb5bf40-634c-4a82-b9ed-4a8c044a2e23\",\n\"3b3936b5-957b-4432-bb09-a59ff5c86269\",\n\"152c1fcf-6d96-40b6-9646-13492812d193\",\n\"38e7bf88-6682-4777-90e0-e909f1e63339\",\n\"9ca0a885-a2f1-4680-a89f-4e9f9f125b7c\",\n\"1323c16c-561e-42e5-9f59-29f443f9c774\",\n\"ba68b471-d856-4c6a-b915-f727a677285b\",\n\"82c63984-c83a-46af-ace6-69e49ca3f046\",\n\"ab8bb6ae-22ba-47cf-b187-53fc53703e20\",\n\"98ddd9de-e4ea-4b89-924b-cc98751ce860\",\n\"6629c13b-7931-406f-aea2-3ec26c052d77\",\n\"c8dde84b-b605-4ad3-8b62-738a64ee3c25\",\n\"0b5cbbe6-51a5-4605-87ef-41f4df40d502\",\n\"2ada4038-05a6-4a67-8629-ae652105af38\",\n\"71f4ed53-a82e-4979-8d8b-7fff4072d1dc\",\n\"94d701eb-3916-4f91-ba3c-8d8c5eaa6349\",\n\"281720cc-b406-4279-9620-d8df48ae7867\",\n\"aee155e2-2a7d-4dea-9668-60d4bc4e99c5\",\n\"be7f7709-4b3e-4dd5-a933-8be9db0a2e7a\",\n\"af103c4f-ff6c-43ac-b863-95570eef68ef\",\n\"1478a73d-c5a6-4317-bdcd-601cf5de7268\",\n\"6f11a656-67fd-43f4-9723-45d577a29eb6\",\n\"875489ea-fd86-4e55-9fb9-dfdc50eca120\",\n\"b27758d1-04bc-419c-80e0-0b234c56668a\",\n\"125bf92a-f645-4792-b624-a212177d8aec\",\n\"07763353-10a6-4311-89c8-aa6deead58de\",\n\"8d94f80a-d94a-46af-bc71-376f9fe752c0\",\n\"0e9f3e05-8930-4d9f-8c96-44cf5b16b812\",\n\"708efb9b-b301-4557-a395-62a38cebd2c4\",\n\"6fa227c6-c8c0-45dd-85b5-b1edc304f63d\",\n\"acd807b0-5702-49a7-93fe-1bece73e5472\",\n\"6d753dc0-f628-4501-860b-0d8c113f83df\",\n\"4a9cf5c7-b9a9-4561-8002-2600e83934a5\",\n\"8f7ac713-189f-43d6-9c17-543ad2d1a546\",\n\"ba33b193-d0b8-40ef-b816-fae2760c6659\",\n\"aaa27707-af86-49eb-b684-9231f54fb2f3\",\n\"99f462a2-9065-4574-85bc-88ebe59f42bf\",\n\"1228a794-7c54-421e-9049-77a8c615de25\",\n\"00ed97d9-81d8-4d3a-b5dd-e34ff810f8a6\",\n\"7db057e4-dfa6-40f8-b25f-79585ebc9f14\",\n\"a8f1e2d8-f28d-4e53-b659-cc8a29877767\",\n\"7a1816c6-d39d-4a39-acdc-a17a5f990da6\",\n\"123c25ae-f2e2-4ffa-8aea-2b222f3c4a8f\",\n\"f822c161-d0bd-4711-b41e-feab35f3b46c\",\n\"6ddda133-d075-4a30-804c-f102eb0b9f97\",\n\"5e6c22cf-1138-4692-9708-a04e3b8bc184\",\n\"dd8a19cf-40c8-427c-bc09-b17561322b86\",\n\"56486b49-67cf-447f-a39a-76fc624ae384\",\n\"53bd449b-0b3a-4690-9b61-7aad377d3caa\",\n\"43e55c3e-05a7-45e6-b377-95448a5ec086\",\n\"7f1f290c-0d9c-4619-9b7f-8830a961a53d\",\n\"78461bc8-e5b6-46e2-99de-f0f1c0f5b5db\"\n],\n\"collaborator\": [],\n\"member\": [\n\"63f6152c-f796-4f7d-b57c-864b6a248802\"\n],\n\"invited\": [],\n\"classes\": [\n{\n\"id\": \"63f6152c-f796-4f7d-b57c-864b6a248802\",\n\"creator_id\": \"5c135ad2-49a0-4a09-8761-dbb54319b912\",\n\"title\": \"My class 1\",\n\"description\": \"Description of my class 1\",\n\"greeting\": \"Greeting for my class 1\",\n\"grade\": null,\n\"class_sharing\": \"open\",\n\"cover_image\": null,\n\"code\": \"RYZP6LV\",\n\"min_score\": 1,\n\"end_date\": null,\n\"course_id\": null,\n\"collaborator\": [\n\"3442076e-d6da-4900-810e-54a264439dbc\",\n\"dcd801d8-3e56-4bb3-ad74-ef32bad7dddb\"\n],\n\"gooru_version\": 3,\n\"content_visibility\": null,\n\"is_archived\": false\n},\n{\n\"id\": \"2b0fd928-8b8a-43f7-9189-3af72ff254b4\",\n\"creator_id\": \"72e454f4-8653-44d0-b91f-f7658c35dce6\",\n\"title\": \"My class 1\",\n\"description\": \"Description of my class 1\",\n\"greeting\": \"Greeting for my class 1\",\n\"grade\": null,\n\"class_sharing\": \"open\",\n\"cover_image\": null,\n\"code\": \"MODGUAE\",\n\"min_score\": 1,\n\"end_date\": null,\n\"course_id\": null,\n\"collaborator\": null,\n\"gooru_version\": 3,\n\"content_visibility\": null,\n\"is_archived\": false\n},\n{\n\"id\": \"9293cf1b-8ad3-4b76-8897-ea4eeb5a2335\",\n\"creator_id\": \"72e454f4-8653-44d0-b91f-f7658c35dce6\",\n\"title\": \"My class 1\",\n\"description\": \"Description of my class 1\",\n\"greeting\": \"Greeting for my class 1\",\n\"grade\": null,\n\"class_sharing\": \"open\",\n\"cover_image\": null,\n\"code\": \"ASK77MR\",\n\"min_score\": 1,\n\"end_date\": null,\n\"course_id\": null,\n\"collaborator\": null,\n\"gooru_version\": 3,\n\"content_visibility\": null,\n\"is_archived\": false\n},\n{\n\"id\": \"77212127-c8f7-47df-bee9-d010e69df58a\",\n\"creator_id\": \"72e454f4-8653-44d0-b91f-f7658c35dce6\",\n\"title\": \"My class 1\",\n\"description\": \"Description of my class 1\",\n\"greeting\": \"Greeting for my class 1\",\n\"grade\": null,\n\"class_sharing\": \"open\",\n\"cover_image\": null,\n\"code\": \"EQYKTAI\",\n\"min_score\": 1,\n\"end_date\": null,\n\"course_id\": null,\n\"collaborator\": null,\n\"gooru_version\": 3,\n\"content_visibility\": null,\n\"is_archived\": false\n}\n]\n}","name":"","status":200,"language":"json"}]},"auth":"required","params":[],"url":"/classes"},"isReference":false,"order":1,"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Header name\",\n    \"h-1\": \"Value\",\n    \"0-0\": \"Authorization\",\n    \"0-1\": \"Token {{authorization access token}}\",\n    \"1-0\": \"Content-Type\",\n    \"1-1\": \"application/json\"\n  },\n  \"cols\": 2,\n  \"rows\": 2\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"The  JSON result contains a list of Classes for which a Course has not been assigned.\",\n  \"title\": \"Note\"\n}\n[/block]","excerpt":"List all Classes which are not associated with any Course","slug":"fetch-all-classes-for-user","type":"endpoint","title":"Fetch All Classes - for User"}

getFetch All Classes - for User

List all Classes which are not associated with any Course

Definition

{{ api_url }}{{ page_api_url }}

Result Format


Documentation

[block:parameters] { "data": { "h-0": "Header name", "h-1": "Value", "0-0": "Authorization", "0-1": "Token {{authorization access token}}", "1-0": "Content-Type", "1-1": "application/json" }, "cols": 2, "rows": 2 } [/block] [block:callout] { "type": "info", "body": "The JSON result contains a list of Classes for which a Course has not been assigned.", "title": "Note" } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}