Users API

User represents the teacher and students in the system.

Get a list of users

GET /v1/users

Parameters

Name Description
limit Limit of users
offset Offset of users

Request

Headers

Accept: application/json
Content-Type: application/json
Host: example.org
Cookie: 

Route

GET /v1/users?limit=12&offset=0

Query Parameters

limit: 12
offset: 0

cURL

curl -g "https://api.portalmec.c3sl.ufpr.br/v1/users?limit=12&offset=0" -X GET \
	-H "Accept: application/json" \
	-H "Content-Type: application/json"

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Total-Count: 13
Content-Type: application/json; charset=utf-8
Vary: Origin
ETag: W/"cbb1d8b93cf6d167362433abd5f2bf52"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: e092dcd1-37f4-488b-a283-02c9a314790e
X-Runtime: 0.245565
Content-Length: 9095

Status

200 OK

Body

[
  {
    "id": 9744,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Cecília Dias",
    "description": "Dolore qui accusamus quas amet et at vitae.",
    "submitter_request": "default",
    "education": "Voluptates magni magnam voluptatem provident aut consectetur.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:57.034Z",
    "updated_at": "2020-10-21T20:43:57.034Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9743,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Eduarda Ambrósio Jr.",
    "description": "Autem eos cum et voluptas.",
    "submitter_request": "default",
    "education": "Non et aut doloremque dolorem praesentium dolore.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:57.005Z",
    "updated_at": "2020-10-21T20:43:57.005Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9742,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Alessandro Franco",
    "description": "Tempore esse illo fuga.",
    "submitter_request": "default",
    "education": "Nulla ratione accusantium ut possimus eveniet sapiente veritatis culpa.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.978Z",
    "updated_at": "2020-10-21T20:43:56.978Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9741,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Miguel Melo Neto",
    "description": "Saepe aliquid fugit possimus rem deserunt velit qui.",
    "submitter_request": "default",
    "education": "Et vero explicabo pariatur at molestias.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.950Z",
    "updated_at": "2020-10-21T20:43:56.950Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9740,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Sra. Nicole Novaes",
    "description": "Dolor deserunt fugit et quis aut aliquam quia occaecati.",
    "submitter_request": "default",
    "education": "Porro dolores sed qui eum placeat magnam voluptates.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.919Z",
    "updated_at": "2020-10-21T20:43:56.919Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9739,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Alícia Pereira",
    "description": "Doloribus omnis qui esse.",
    "submitter_request": "default",
    "education": "Molestias culpa et ut maxime deserunt est corporis possimus.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.887Z",
    "updated_at": "2020-10-21T20:43:56.887Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9738,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Bruna Souza",
    "description": "Magni eum exercitationem explicabo ut amet.",
    "submitter_request": "default",
    "education": "Sed iure delectus consequuntur molestiae animi autem.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.851Z",
    "updated_at": "2020-10-21T20:43:56.851Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9737,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Antônio Rezende",
    "description": "Non quibusdam mollitia eligendi itaque voluptates et.",
    "submitter_request": "default",
    "education": "Vitae quaerat sit consequatur.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.823Z",
    "updated_at": "2020-10-21T20:43:56.823Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9736,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Antônio Soares Filho",
    "description": "Odio sit eos est harum.",
    "submitter_request": "default",
    "education": "Eligendi aliquid id ut id exercitationem quae.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.796Z",
    "updated_at": "2020-10-21T20:43:56.796Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9735,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Bruna Sales",
    "description": "Alias quaerat sit quasi sit iusto.",
    "submitter_request": "default",
    "education": "Sit quidem sit maiores eius officiis nam numquam eaque.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.755Z",
    "updated_at": "2020-10-21T20:43:56.755Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9734,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Elísio Moura",
    "description": "Et aut praesentium et aspernatur amet sapiente voluptates.",
    "submitter_request": "default",
    "education": "Vero magni a harum est omnis repellat aut.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.732Z",
    "updated_at": "2020-10-21T20:43:56.732Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  },
  {
    "id": 9733,
    "email": null,
    "provider": "email",
    "cpf": null,
    "name": "Murilo Moraes",
    "description": "Et quia sequi tempore nihil sit.",
    "submitter_request": "default",
    "education": "Quisquam perspiciatis labore est est possimus velit error.",
    "score": 0.0,
    "cover": "",
    "role_ids": [
      8
    ],
    "institution_ids": [

    ],
    "avatar": "",
    "dspace_url": null,
    "dspace_handle": null,
    "dspace_sets": null,
    "likes_count": 0,
    "followed": null,
    "complained": false,
    "follows_count": 0,
    "learning_objects_count": 0,
    "collections_count": 0,
    "created_at": "2020-10-21T20:43:56.702Z",
    "updated_at": "2020-10-21T20:43:56.702Z",
    "terms_accepted_at": null,
    "state": "active",
    "school": null,
    "subjects": [

    ],
    "roles": [
      {
        "id": 8,
        "name": "submitter",
        "description": "This role represents a content submitter in Portal MEC."
      }
    ],
    "institutions": [

    ]
  }
]