examples-graphql-users 0.0.1

  • Contact: N/A
  • License: N/A

Resources

user

Operations

Method and Path Description
GET /users/:id
POST /users
PATCH /users
DELETE /users/:id

Headers

No headers

Imports

No imports

Enums

user_status

Name Value Description
active active

inactive inactive

Interfaces

No interfaces

Models

user

Example Json: Minimal | Full

Interfaces: None

Field Type Required? Default Description
id uuid Yes -

status user_status Yes -

email string Yes -

name string No -

user_email_patch_form

Example Json: Minimal | Full

Interfaces: None

Field Type Required? Default Description
email string Yes -

user_form

Example Json: Minimal | Full

Interfaces: None

Field Type Required? Default Description
status user_status Yes active

email string Yes -

name string No -

user_status_patch_form

Example Json: Minimal | Full

Interfaces: None

Field Type Required? Default Description
status user_status Yes -

Unions

user_patch_form

Interfaces: None

  • Type discriminator: discriminator
Type Discriminator Value Example Json Description
user_status_patch_form status Minimal | Full

user_email_patch_form email Minimal | Full

Annotations

No annotations