User represents the teacher and students in the system.
Accept: application/json Content-Type: application/json Access-Token: BJI0C4qmFSwAxBfey_O5TA Client: HOjVanmOuSm5N2KBCajeHg Uid: ena_lowe@kuvalis.io Host: example.org Cookie:
GET /v1/users/9148/drafts
curl -g "https://api.portalmec.c3sl.ufpr.br/v1/users/9148/drafts" -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Access-Token: BJI0C4qmFSwAxBfey_O5TA" \ -H "Client: HOjVanmOuSm5N2KBCajeHg" \ -H "Uid: ena_lowe@kuvalis.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=NFhOcXp2eHV5Y1J2dmlBMjRFdWQ5bnpOdU4zZmU4RWg1UStRcXVQbXBhbHQ1VU1FZENMWDhTeUsxTTd3LzJWcEJGR3dqZjQvb24vaW91WDA3Vi9hdTB2WmdlcHdNUXo3QnpoQWwybW9IbmJyWEorQ2VxU3ZvS1hNcE80ZEJ1bUpNaVlyMnpxQjUxSVZKOGQwUHdNQXJ6WUNjcnhRdVpET1JQU1k3K1RGNmZId0oyOE9qcUlVWWtvN3dYVjl5b2o1LS11MXlOK3daSFoxdHRTRmtQWHN2Zjd3PT0%3D--319c1dd2ce50cf326eda233eb55b164b62e8df54; path=/; HttpOnly Vary: Origin ETag: W/"58136a868e2a236c214a44b683cd7860" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 8c33abe2-4cc5-461a-b5db-efbcfa51fcd7 X-Runtime: 0.140185 Content-Length: 2548
200 OK
[ { "id": 1008, "name": "LearningObject 1007", "description": "Consequuntur quaerat assumenda. Eaque quas deleniti amet ut ad temporibus minima. Natus provident dolor nulla minima nobis magni cupiditate. Expedita omnis recusandae cupiditate reiciendis provident aut. Veritatis aut perferendis suscipit.", "author": "Gabriela Souza", "curator": null, "thumbnail": null, "object_type": "Imagem", "language": { "id": 9, "name": "Japonês", "created_at": "2019-03-08T13:42:17.293Z", "updated_at": "2019-03-08T13:42:17.293Z", "code": "jp" }, "default_attachment_location": null, "default_attachment_id": null, "default_mime_type": null, "score": 0.861297589627622, "state": "draft", "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:13.917Z", "published_at": null, "terms_of_service": null, "updated_at": "2019-03-08T13:49:13.917Z", "magnetlink": null, "publisher": { "id": 9148, "email": "ena_lowe@kuvalis.io", "provider": "email", "cpf": null, "name": "Sra. Ígor Soares", "description": "Mollitia est rerum ipsum repudiandae eos quod et.", "submitter_request": "default", "education": "Nam quia alias autem repellat.", "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": 0, "collections_count": 0, "created_at": "2019-03-08T13:49:13.814Z", "updated_at": "2019-03-08T13:49:13.907Z", "terms_accepted_at": null }, "tags": [ { "id": 5678, "name": "Tag 5675", "created_at": "2019-03-08T13:49:14.049Z", "updated_at": "2019-03-08T13:49:14.049Z" }, { "id": 5677, "name": "Tag 5674", "created_at": "2019-03-08T13:49:14.020Z", "updated_at": "2019-03-08T13:49:14.020Z" }, { "id": 5676, "name": "Tag 5673", "created_at": "2019-03-08T13:49:13.991Z", "updated_at": "2019-03-08T13:49:13.991Z" }, { "id": 5675, "name": "Tag 5672", "created_at": "2019-03-08T13:49:13.959Z", "updated_at": "2019-03-08T13:49:13.959Z" }, { "id": 5674, "name": "Tag 5671", "created_at": "2019-03-08T13:49:13.927Z", "updated_at": "2019-03-08T13:49:13.927Z" } ], "subjects": [ { "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 }, { "id": 5, "name": "Biologia", "created_at": "2019-03-08T13:42:18.066Z", "updated_at": "2019-03-08T13:42:18.066Z", "theme": false } ], "educational_stages": [ { "id": 4, "name": "Ensino Médio", "created_at": "2019-03-08T13:42:18.192Z", "updated_at": "2019-03-08T13:42:18.192Z" } ], "attachments": [ ] } ]