Avatar (Profile)

Removes unnecesary prefetch / select_related from the queryset when model-only attributes or properties are petitioned in the request via the "fields" query param. E.g. "?fields=id,display_name"

Must be used along with QueryFieldsMixin on the serializer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

A unique integer value identifying this profile.

Body Params
string
required
string
string
required
string
required
uri | null
string | null
string | null
string | null
string | null
string | null
string | null
string | null
string | null
string | null
string | null
roles
array of integers
roles
integer
qualifications
array of integers
qualifications
integer | null
string | null
enum
  • Office User - Office User
  • Field User - Field User
  • Read Only - Read Only
  • Support - Support
  • Service - Service
  • No Login - No Login
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json