-
Notifications
You must be signed in to change notification settings - Fork 3
Users available on the platform
Jefferson Medeiros edited this page Apr 23, 2020
·
4 revisions
There are six user types defined in the context of OCARIoT, they are: Admin, Application, Child, Educator, Family and Health Professional. Below you will be given more details about the scope each of these has about each feature available on the platform.
Resource | Scope |
---|---|
users | users:delete, users:resetPassword |
educators | educators:create, educators:read, educators:readAll, educators:update, educators:delete |
families | families:create, families:read, families:readAll, families:update, families:delete |
children | children:create, children:read, children:readAll, children:update, children:delete |
healthprofessionals | healthprofessionals:create, healthprofessionals:read, healthprofessionals:readAll, healthprofessionals:update, healthprofessionals:delete |
applications | applications:create, applications:read, applications:readAll, applications:update, applications:delete |
institutions | institutions:create, institutions:read, institutions:readAll, institutions:update, institutions:delete |
socioquest | socioquest:read |
healthquest | healthquest:read |
parentphyquest | parentphyquest:read |
childrenphyquest | childrenphyquest:read |
habitsquest | habitsquest:read |
foodhabitsquest | foodhabitsquest:read |
perceptionquest | perceptionquest:read |
foodtracking | foodtracking:create, foodtracking:read, foodtracking:update, foodtracking:delete |
physicalactivities | physicalactivities:read |
sleep | sleep:read |
measurements | measurements:read |
environment | environment:read |
missions | missions:read |
gamificationprofile | gamificationprofile:read |
notifications | notifications:create, notifications:read, notifications:delete |
Resource | Scope |
---|---|
applications | applications:read |
children | children:readAll |
institutions | institutions:read, institutions:readAll |
physicalactivities | physicalactivities:create, physicalactivities:read, physicalactivities:update, physicalactivities:delete |
sleep | sleep:create, sleep:read, sleep:update, sleep:delete |
measurements | measurements:create, measurements:read, measurements:delete |
environment | environment:create, environment:read, environment:update, environment:delete |
socioquest | socioquest:read |
healthquest | healthquest:read |
parentphyquest | parentphyquest:read |
childrenphyquest | childrenphyquest:read |
habitsquest | habitsquest:read |
foodhabitsquest | foodhabitsquest:create, foodhabitsquest:read |
perceptionquest | perceptionquest:read |
foodtracking | foodtracking:create, foodtracking:read, foodtracking:update, foodtracking:delete |
missions | missions:create, missions:read, missions:update, missions:delete |
gamificationprofile | gamificationprofile:create, gamificationprofile:read, gamificationprofile:update, gamificationprofile:delete |
external | external:sync |
Resource | Scope |
---|---|
children | children:read |
institutions | institutions:read |
physicalactivities | physicalactivities:create, physicalactivities:read |
sleep | sleep:create, sleep:read |
measurements | measurements:create, measurements:read |
environment | environment:read |
foodtracking | foodtracking:create, foodtracking:read, foodtracking:update, foodtracking:delete |
missions | missions:read |
gamificationprofile | gamificationprofile:read, gamificationprofile:update |
external | external:sync |
notifications | notifications:create, notifications:read, notifications:delete |
Resource | Scope |
---|---|
children | children:read, children:readAll |
educators | educators:read, educators:update |
childrengroups | childrengroups:create, childrengroups:read, childrengroups:update, childrengroups:delete |
institutions | institutions:read, institutions:readAll, institutions:update |
physicalactivities | physicalactivities:create, physicalactivities:read, physicalactivities:update, physicalactivities:delete |
sleep | sleep:create, sleep:read, sleep:update, sleep:delete |
measurements | measurements:create, measurements:read, measurements:delete |
environment | environment:read |
childrenphyquest | childrenphyquest:read |
habitsquest | habitsquest:create, habitsquest:read, habitsquest:update |
foodhabitsquest | foodhabitsquest:create, foodhabitsquest:read, foodhabitsquest:update |
perceptionquest | perceptionquest:create, perceptionquest:read, perceptionquest:update |
foodtracking | foodtracking:create, foodtracking:read, foodtracking:update, foodtracking:delete |
missions | missions:create, missions:read, missions:update, missions:delete |
gamificationprofile | gamificationprofile:create gamificationprofile:read gamificationprofile:update |
external | external:sync |
notifications | notifications:create, notifications:read, notifications:delete |
Resource | Scope |
---|---|
children | children:read |
families | families:read, families:update |
institutions | institutions:read |
physicalactivities | physicalactivities:create, physicalactivities:read, physicalactivities:update, physicalactivities:delete |
sleep | sleep:create, sleep:read, sleep:update, sleep:delete |
measurements | measurements:create, measurements:read, measurements:delete |
environment | environment:read |
socioquest | socioquest:create, socioquest:read, socioquest:update |
healthquest | healthquest:create, healthquest:read, healthquest:update |
parentphyquest | parentphyquest:create, parentphyquest:read, parentphyquest:update |
childrenphyquest | childrenphyquest:read |
habitsquest | habitsquest:create, habitsquest:read, habitsquest:update |
foodhabitsquest | foodhabitsquest:create, foodhabitsquest:read, foodhabitsquest:update |
perceptionquest | perceptionquest:create, perceptionquest:read, perceptionquest:update |
foodtracking | foodtracking:create, foodtracking:read, foodtracking:update, foodtracking:delete |
missions | missions:create missions:read missions:update |
gamificationprofile | gamificationprofile:create gamificationprofile:read gamificationprofile:update |
external | external:sync |
notifications | notifications:create, notifications:read, notifications:delete |
Resource | Scope |
---|---|
children | children:read, children:readAll |
healthprofessionals | healthprofessionals:read, healthprofessionals:update |
childrengroups | childrengroups:create, childrengroups:read, childrengroups:update, childrengroups:delete |
institutions | institutions:read, institutions:readAll, institutions:update |
physicalactivities | physicalactivities:read |
sleep | sleep:read |
measurements | measurements:read |
environment | environment:read |
socioquest | socioquest:read |
healthquest | healthquest:read |
parentphyquest | parentphyquest:read |
childrenphyquest | childrenphyquest:create, childrenphyquest:read, childrenphyquest:update |
habitsquest | habitsquest:read |
foodhabitsquest | foodhabitsquest:read |
perceptionquest | perceptionquest:read |
foodtracking | foodtracking:create, foodtracking:read, foodtracking:update, foodtracking:delete |
missions | missions:read |
gamificationprofile | gamificationprofile:read |
external | external:sync |
notifications | notifications:create, notifications:read, notifications:delete |
OCARIoT API Gateway (Full documentation)
- POST institutions
- GET institutions
- GET institutions.inst_id
- PATCH institutions.inst_id
- DELETE institutions.inst_id
- POST children.physicalactivities
- GET children.physicalactivities
- GET children.physicalactivities.activity_id
- DELETE children.physicalactivities.activity_id
- POST children.weights
- GET children.weights
- GET children.weights.weight_id
- DELETE children.weights.weight_id
- POST children.bodyfats
- GET children.bodyfats
- GET children.bodyfats.bodyfat_id
- DELETE children.bodyfats.bodyfat_id
- POST educators.children.groups
- GET educators.children.groups
- GET educators.children.groups.group_id
- PATCH educators.children.groups.group_id
- DELETE educators.children.groups.group_id
- POST healthprofessionals
- GET healthprofessionals
- GET healthprofessionals.hprof_id
- PATCH healthprofessionals.hprof_id
- POST healthprofessionals.children.groups
- GET healthprofessionals.children.groups
- GET healthprofessionals.children.groups.group_id
- PATCH healthprofessionals.children.groups.group_id
- DELETE healthprofessionals.children.groups.group_id
- POST institutions.environments
- GET institutions.environments
- DELETE institutions.environments
- DELETE institutions.environments.environment_id
- Invalid ID
- Invalid JSON format
- Missing fields
- Empty string
- Invalid string
- Invalid date
- Negative number
- Invalid number
- Unregistered institution
- Unregistered children
- Invalid children attribute type
- Invalid children items
- Empty ID(s) in children attribute
- ID(s) with invalid format in children
- Attempting to update password on wrong route
- Child does not exist
- Institution does not exist