me

Update my profile

put/me/

Request

  • Base URL
    https://dados.gov.pt/api/1
  • URL
    https://dados.gov.pt/api/1/me/
  • Auth
    none declared

Headers

X-Fieldsstring mask

An optional fields mask

Request body

aboutstring markdown

The user self description

activeboolean
avatarstring

The user avatar URL

avatar_thumbnailstring

The user avatar thumbnail URL. This is the square (500x500) and cropped version.

datasets_countinteger

Number of visible datasets owned by the user (live count).

emailobject

The user email

first_namestring required

The user first name

idstring

The user identifier

last_login_atobject

The user last connection date (only present for global admins and on /me)

last_namestring required

The user last name

metricsobject

The user metrics

migration_inviteobject

True when this account is being invited (optionally) to link a CMD/eIDAS identity: the invite is enabled, linking is not mandatory, the account signs in with a password and holds no identity yet, and the invite has not been dismissed recently. Only present on the caller's own user

migration_link_availableobject

True when this account can still link a CMD/eIDAS identity: the invite is enabled, linking is not mandatory, and the account signs in with a password and holds no identity yet. Unlike migration_invite this stays true after the notice has been dismissed, so the entry point in the profile does not disappear with it. Only present on the caller's own user

pagestring

The user web page URL

pending_registrationobject

True while the account still has a minted saml-* placeholder email; the user must provide a real email to complete registration (only present for global admins and on /me)

pending_registration_emailobject

The email address the CMD assertion carried, offered as a prefill on the registration completion screen. Null for eIDAS (the Minimum Data Set has no email attribute), for a CMD assertion that carried none, and on any user other than the caller

reuses_countinteger

Number of reuses owned by the user (live count).

rolesstring[]

Site wide user roles

saml_loginobject

Whether the current session was authenticated via SAML (only present on the caller's own user, e.g. /me)

sincestring date-time required

The registeration date

slugstring

The user permalink string

uristring

The API URI for this user

websitestring

The user website

Response

Success

aboutstring markdown

The user self description

activeboolean
avatarstring

The user avatar URL

avatar_thumbnailstring

The user avatar thumbnail URL. This is the square (500x500) and cropped version.

datasets_countinteger

Number of visible datasets owned by the user (live count).

emailobject

The user email

first_namestring required

The user first name

idstring

The user identifier

last_login_atobject

The user last connection date (only present for global admins and on /me)

last_namestring required

The user last name

metricsobject

The user metrics

migration_inviteobject

True when this account is being invited (optionally) to link a CMD/eIDAS identity: the invite is enabled, linking is not mandatory, the account signs in with a password and holds no identity yet, and the invite has not been dismissed recently. Only present on the caller's own user

migration_link_availableobject

True when this account can still link a CMD/eIDAS identity: the invite is enabled, linking is not mandatory, and the account signs in with a password and holds no identity yet. Unlike migration_invite this stays true after the notice has been dismissed, so the entry point in the profile does not disappear with it. Only present on the caller's own user

pagestring

The user web page URL

pending_registrationobject

True while the account still has a minted saml-* placeholder email; the user must provide a real email to complete registration (only present for global admins and on /me)

pending_registration_emailobject

The email address the CMD assertion carried, offered as a prefill on the registration completion screen. Null for eIDAS (the Minimum Data Set has no email attribute), for a CMD assertion that carried none, and on any user other than the caller

reuses_countinteger

Number of reuses owned by the user (live count).

rolesstring[]

Site wide user roles

saml_loginobject

Whether the current session was authenticated via SAML (only present on the caller's own user, e.g. /me)

sincestring date-time required

The registeration date

slugstring

The user permalink string

uristring

The API URI for this user

websitestring

The user website

Changes

No recorded changes to this operation across all 21 revisions of this API.