User represents the teacher and students in the system.
Accept: application/json Content-Type: application/json Access-Token: 3aaJMRDUmIJ5UZ1RZLEgHQ Client: ys3d_re4Iw7HyOXOhcu1yg Uid: kevon@naderhegmann.name Host: example.org Cookie:
GET /v1/users/9106/collections
curl -g "https://api.portalmec.c3sl.ufpr.br/v1/users/9106/collections" -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Access-Token: 3aaJMRDUmIJ5UZ1RZLEgHQ" \ -H "Client: ys3d_re4Iw7HyOXOhcu1yg" \ -H "Uid: kevon@naderhegmann.name"
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=Vnc3UjBma21Zemd2aUxyanJwM0U3N2xUcUt3UXlEM1U2bFZJRGs3dHNPeWRYY3daek9LMjVwcWdJVkxmd2xmWFREdzY5Wk54VzR3Wkp1Qk1BS1llaElhTyt0RE1zdEJucGV4RVVyVi9tVGRsN05JNlhjQVVqK2FFcnZ5UUxrWGJNOVhJbE5mTTlsbXloK2NOSUtucGRBOUE5dC8yUExXWmRteVl2WDdrQWlVTTdDM1lWMzNpT0l1WnN6Y3V3bVdkLS1QZFowWVRQZ21ZQWZwdW93WGUxbUFBPT0%3D--61a739ac4d1e155d52e44bb0e4d53449d7424b4a; path=/; HttpOnly Vary: Origin ETag: W/"8cf2ed3105651dbfdc835928407d58a2" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 756cba94-1ef7-4322-9948-9748b8f5f890 X-Runtime: 0.300180 Content-Length: 9586
200 OK
[ { "id": 129, "name": "Southern Sá", "curator": null, "created_at": "2019-03-08T13:49:12.057Z", "updated_at": "2019-03-08T13:49:12.057Z", "description": "Nisi nam voluptas amet at quisquam enim.", "privacy": "public", "score": 0.0, "likes_count": 0, "liked": false, "followed": false, "reviewed": false, "complained": false, "review_average": 0.0, "thumbnail": "", "items_thumbnails": [ ], "owner": { "id": 9106, "email": "kevon@naderhegmann.name", "provider": "email", "cpf": null, "name": "César Freitas", "description": "Eos quo non pariatur tempore qui et ex.", "submitter_request": "default", "education": "Voluptatem illo neque voluptates at aliquid.", "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": 1, "created_at": "2019-03-08T13:49:11.955Z", "updated_at": "2019-03-08T13:49:12.049Z", "terms_accepted_at": null }, "tags": [ { "id": 5658, "name": "Tag 5655", "created_at": "2019-03-08T13:49:12.189Z", "updated_at": "2019-03-08T13:49:12.189Z" }, { "id": 5657, "name": "Tag 5654", "created_at": "2019-03-08T13:49:12.158Z", "updated_at": "2019-03-08T13:49:12.158Z" }, { "id": 5656, "name": "Tag 5653", "created_at": "2019-03-08T13:49:12.127Z", "updated_at": "2019-03-08T13:49:12.127Z" }, { "id": 5655, "name": "Tag 5652", "created_at": "2019-03-08T13:49:12.097Z", "updated_at": "2019-03-08T13:49:12.097Z" }, { "id": 5654, "name": "Tag 5651", "created_at": "2019-03-08T13:49:12.066Z", "updated_at": "2019-03-08T13:49:12.066Z" } ], "subjects": [ { "id": 17, "name": "Sociologia", "created_at": "2019-03-08T13:42:18.121Z", "updated_at": "2019-03-08T13:42:18.121Z", "theme": false }, { "id": 19, "name": "Direitos Humanos", "created_at": "2019-03-08T13:42:18.129Z", "updated_at": "2019-03-08T13:42:18.129Z", "theme": true } ], "educational_stages": [ { "id": 6, "name": "Outros", "created_at": "2019-03-08T13:42:18.200Z", "updated_at": "2019-03-08T13:42:18.200Z" } ], "collection_items": [ { "id": 385, "position": 7, "collectionable": { "id": 1005, "name": "LearningObject 1004", "description": "Recusandae harum vel molestiae adipisci dolores. Eos accusantium quo eius soluta. Harum officia dicta rerum ut dolorem autem laborum.", "author": "Miguel Dias", "curator": null, "thumbnail": null, "object_type": "Website externo", "language": { "id": 6, "name": "Italiano", "created_at": "2019-03-08T13:42:17.281Z", "updated_at": "2019-03-08T13:42:17.281Z", "code": "it" }, "default_attachment_location": null, "default_attachment_id": null, "default_mime_type": null, "score": 0.120141678699963, "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:12.250Z", "published_at": null, "terms_of_service": null, "updated_at": "2019-03-08T13:49:12.250Z", "magnetlink": null, "publisher": { "id": 9112, "email": null, "provider": "email", "cpf": null, "name": "Emanuel Moura", "description": "Dolorem et non eveniet.", "submitter_request": "default", "education": "Cupiditate numquam ullam rem molestiae voluptas id.", "score": 0.0, "cover": "", "role_ids": [ 1 ], "institution_ids": [ ], "avatar": "", "dspace_url": null, "dspace_handle": null, "dspace_sets": null, "likes_count": 0, "followed": false, "complained": false, "follows_count": 0, "learning_objects_count": 1, "collections_count": 0, "created_at": "2019-03-08T13:49:12.233Z", "updated_at": "2019-03-08T13:49:12.233Z", "terms_accepted_at": null }, "tags": [ { "id": 5663, "name": "Tag 5660", "created_at": "2019-03-08T13:49:12.381Z", "updated_at": "2019-03-08T13:49:12.381Z" }, { "id": 5662, "name": "Tag 5659", "created_at": "2019-03-08T13:49:12.351Z", "updated_at": "2019-03-08T13:49:12.351Z" }, { "id": 5661, "name": "Tag 5658", "created_at": "2019-03-08T13:49:12.322Z", "updated_at": "2019-03-08T13:49:12.322Z" }, { "id": 5660, "name": "Tag 5657", "created_at": "2019-03-08T13:49:12.291Z", "updated_at": "2019-03-08T13:49:12.291Z" }, { "id": 5659, "name": "Tag 5656", "created_at": "2019-03-08T13:49:12.261Z", "updated_at": "2019-03-08T13:49:12.261Z" } ], "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": 20, "name": "Educação Ambiental", "created_at": "2019-03-08T13:42:18.136Z", "updated_at": "2019-03-08T13:42:18.136Z", "theme": true } ], "educational_stages": [ { "id": 6, "name": "Outros", "created_at": "2019-03-08T13:42:18.200Z", "updated_at": "2019-03-08T13:42:18.200Z" } ], "attachments": [ ] }, "collectionable_type": "LearningObject" }, { "id": 386, "position": 6, "collectionable": { "id": 1006, "name": "LearningObject 1005", "description": "Repellendus officiis totam ipsa iure nobis qui. Quasi doloremque veniam deleniti non vel. Velit voluptatibus et expedita. Sint tempora non est. Praesentium eveniet saepe qui cum.", "author": "Sr. Vitória Reis", "curator": null, "thumbnail": null, "object_type": "Vídeo", "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.36041044110086, "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:12.611Z", "published_at": null, "terms_of_service": null, "updated_at": "2019-03-08T13:49:12.611Z", "magnetlink": null, "publisher": { "id": 9120, "email": null, "provider": "email", "cpf": null, "name": "Emanuel Aragão", "description": "Quae vel maiores incidunt quis quam.", "submitter_request": "default", "education": "Nemo quia hic voluptate.", "score": 0.0, "cover": "", "role_ids": [ 1 ], "institution_ids": [ ], "avatar": "", "dspace_url": null, "dspace_handle": null, "dspace_sets": null, "likes_count": 0, "followed": false, "complained": false, "follows_count": 0, "learning_objects_count": 1, "collections_count": 0, "created_at": "2019-03-08T13:49:12.593Z", "updated_at": "2019-03-08T13:49:12.593Z", "terms_accepted_at": null }, "tags": [ { "id": 5668, "name": "Tag 5665", "created_at": "2019-03-08T13:49:12.740Z", "updated_at": "2019-03-08T13:49:12.740Z" }, { "id": 5667, "name": "Tag 5664", "created_at": "2019-03-08T13:49:12.711Z", "updated_at": "2019-03-08T13:49:12.711Z" }, { "id": 5666, "name": "Tag 5663", "created_at": "2019-03-08T13:49:12.680Z", "updated_at": "2019-03-08T13:49:12.680Z" }, { "id": 5665, "name": "Tag 5662", "created_at": "2019-03-08T13:49:12.651Z", "updated_at": "2019-03-08T13:49:12.651Z" }, { "id": 5664, "name": "Tag 5661", "created_at": "2019-03-08T13:49:12.621Z", "updated_at": "2019-03-08T13:49:12.621Z" } ], "subjects": [ { "id": 13, "name": "Língua Portuguesa", "created_at": "2019-03-08T13:42:18.102Z", "updated_at": "2019-03-08T13:42:18.102Z", "theme": false }, { "id": 2, "name": "Língua Inglesa", "created_at": "2019-03-08T13:42:18.049Z", "updated_at": "2019-03-08T13:42:18.049Z", "theme": false } ], "educational_stages": [ { "id": 6, "name": "Outros", "created_at": "2019-03-08T13:42:18.200Z", "updated_at": "2019-03-08T13:42:18.200Z" } ], "attachments": [ ] }, "collectionable_type": "LearningObject" }, { "id": 387, "position": 8, "collectionable": { "id": 1007, "name": "LearningObject 1006", "description": "Culpa molestias quo alias tempore. Architecto repellat culpa explicabo occaecati nam et reprehenderit. Quae nihil magnam quisquam fuga deleniti dolor. Vero ad rerum ab doloremque non.", "author": "Sr. Júlio Araújo", "curator": null, "thumbnail": null, "object_type": "Experimento prático", "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.80158388487708, "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:12.913Z", "published_at": null, "terms_of_service": null, "updated_at": "2019-03-08T13:49:12.913Z", "magnetlink": null, "publisher": { "id": 9128, "email": null, "provider": "email", "cpf": null, "name": "Eduarda Carvalho Filho", "description": "Eos atque et quia beatae animi corporis assumenda ut.", "submitter_request": "default", "education": "Assumenda porro omnis quam odit ab qui dolorem.", "score": 0.0, "cover": "", "role_ids": [ 1 ], "institution_ids": [ ], "avatar": "", "dspace_url": null, "dspace_handle": null, "dspace_sets": null, "likes_count": 0, "followed": false, "complained": false, "follows_count": 0, "learning_objects_count": 1, "collections_count": 0, "created_at": "2019-03-08T13:49:12.893Z", "updated_at": "2019-03-08T13:49:12.893Z", "terms_accepted_at": null }, "tags": [ { "id": 5673, "name": "Tag 5670", "created_at": "2019-03-08T13:49:13.052Z", "updated_at": "2019-03-08T13:49:13.052Z" }, { "id": 5672, "name": "Tag 5669", "created_at": "2019-03-08T13:49:13.018Z", "updated_at": "2019-03-08T13:49:13.018Z" }, { "id": 5671, "name": "Tag 5668", "created_at": "2019-03-08T13:49:12.988Z", "updated_at": "2019-03-08T13:49:12.988Z" }, { "id": 5670, "name": "Tag 5667", "created_at": "2019-03-08T13:49:12.957Z", "updated_at": "2019-03-08T13:49:12.957Z" }, { "id": 5669, "name": "Tag 5666", "created_at": "2019-03-08T13:49:12.925Z", "updated_at": "2019-03-08T13:49:12.925Z" } ], "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": 3, "name": "Informática", "created_at": "2019-03-08T13:42:18.056Z", "updated_at": "2019-03-08T13:42:18.056Z", "theme": false } ], "educational_stages": [ { "id": 5, "name": "Ensino Superior", "created_at": "2019-03-08T13:42:18.196Z", "updated_at": "2019-03-08T13:42:18.196Z" } ], "attachments": [ ] }, "collectionable_type": "LearningObject" } ] } ]