User represents the teacher and students in the system.
Accept: application/json Content-Type: application/json Access-Token: wrrH2Ux1iEV2pREd3GHgaA Client: ui_HKTy8Oz07VugzPPbIHg Uid: dakota@ernser.io Host: example.org Cookie:
GET /v1/users/9086/learning_objects
curl -g "https://api.portalmec.c3sl.ufpr.br/v1/users/9086/learning_objects" -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Access-Token: wrrH2Ux1iEV2pREd3GHgaA" \ -H "Client: ui_HKTy8Oz07VugzPPbIHg" \ -H "Uid: dakota@ernser.io"
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Total-Count: 1 Content-Type: application/json; charset=utf-8 Set-Cookie: _session_id=ZDMvWFQyUEJXMllWeG9md2NSemVlUEl6aHBIdUNQZUw5NFpnaGJPaTZVYVpPdFRUd01Ua292U2ZPdHlpakxnazdOU1g5ZU95UElCTCsyTnZsL3VhemhWOE50Tnp3RElWUExTRythTDhPWFpxb1VmWTBwZk1BVzBUOTZGT0cxTDFGS0NxTmdtYlZackhJays1dzV4Ull6ZytlVTJQbmRrM0tFN3lHYUczQ1REYXlpak1WcHFkK01hL21zQTFOZHdhLS10YTA3RlBoRzA0S3k3RThMNEpRNFpBPT0%3D--db206a702e8a0eadf5fedf0dfc353a4eea9aef08; path=/; HttpOnly Vary: Origin ETag: W/"3cb8d5db7a6d24a02f11264e56d1e9a5" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 91ab9bac-7d2e-46da-8b43-deb3da8fa576 X-Runtime: 0.165666 Content-Length: 2550
200 OK
[ { "id": 1004, "name": "LearningObject 1003", "description": "Vitae at aspernatur cupiditate distinctio est eos consequatur. Dolorum quaerat illo facilis. Earum nesciunt voluptatem et sunt velit. Voluptatem voluptas ut. Veritatis magni suscipit.", "author": "Isadora Macedo", "curator": null, "thumbnail": null, "object_type": "Aplicativo móvel", "language": { "id": 5, "name": "Alemão", "created_at": "2019-03-08T13:42:17.277Z", "updated_at": "2019-03-08T13:42:17.277Z", "code": "de" }, "default_attachment_location": null, "default_attachment_id": null, "default_mime_type": null, "score": 0.614462093538283, "state": "published", "review_average": 0.0, "link": null, "software": null, "license": null, "liked": false, "likes_count": 0, "downloads_count": 0, "views_count": 0, "reviewed": false, "complained": false, "shares_count": 0, "created_at": "2019-03-08T13:49:11.214Z", "published_at": null, "terms_of_service": null, "updated_at": "2019-03-08T13:49:11.214Z", "magnetlink": null, "publisher": { "id": 9086, "email": "dakota@ernser.io", "provider": "email", "cpf": null, "name": "Larissa Cardoso", "description": "Quia soluta quisquam reprehenderit vero cumque et animi vel.", "submitter_request": "default", "education": "Aut non rerum et non qui.", "score": 0.0, "cover": "", "role_ids": [ 1, 1 ], "institution_ids": [ ], "avatar": "", "dspace_url": null, "dspace_handle": null, "dspace_sets": [ ], "likes_count": 0, "followed": false, "complained": false, "follows_count": 0, "learning_objects_count": 1, "collections_count": 0, "created_at": "2019-03-08T13:49:11.107Z", "updated_at": "2019-03-08T13:49:11.203Z", "terms_accepted_at": null }, "tags": [ { "id": 5653, "name": "Tag 5650", "created_at": "2019-03-08T13:49:11.347Z", "updated_at": "2019-03-08T13:49:11.347Z" }, { "id": 5652, "name": "Tag 5649", "created_at": "2019-03-08T13:49:11.317Z", "updated_at": "2019-03-08T13:49:11.317Z" }, { "id": 5651, "name": "Tag 5648", "created_at": "2019-03-08T13:49:11.283Z", "updated_at": "2019-03-08T13:49:11.283Z" }, { "id": 5650, "name": "Tag 5647", "created_at": "2019-03-08T13:49:11.253Z", "updated_at": "2019-03-08T13:49:11.253Z" }, { "id": 5649, "name": "Tag 5646", "created_at": "2019-03-08T13:49:11.224Z", "updated_at": "2019-03-08T13:49:11.224Z" } ], "subjects": [ { "id": 7, "name": "Educação Física", "created_at": "2019-03-08T13:42:18.076Z", "updated_at": "2019-03-08T13:42:18.076Z", "theme": false }, { "id": 23, "name": "Educação Indígena", "created_at": "2019-03-08T13:42:18.149Z", "updated_at": "2019-03-08T13:42:18.149Z", "theme": true } ], "educational_stages": [ { "id": 3, "name": "Ensino Fundamental II (do 6º até o 9º ano)", "created_at": "2019-03-08T13:42:18.188Z", "updated_at": "2019-03-08T13:42:18.188Z" } ], "attachments": [ ] } ]