The first step you must perform if you plan to update resources made available through the Atom APIs is to retrieve the service document for the application.
The Profiles application provides a service document for each person with a profile. The service document defines a single workspace containing one collection. The Web address in the href attribute of the collection provides a reference to the feed of the user's profile.
The collection contains an <snx:editableFields>
element that lists the profile fields that can be edited. You cannot programmatically change which fields can be edited; that can only be done using wsadmin commands. See Customizing the Profiles user interface
for more details. However, you can change the values stored in the editable fields for a profile. There are two types of editable fields. Go to the referenced topics for more information about how to edit each type:
Default fields provided in all profiles: See Updating profile entries.
Custom fields added by an administrator as extensions. You can identify these fields by the extattr. prefix included in their name. See Updating profile extension data.
See Updating profile entries for more details.
Retrieving a user's service document is supported in three ways:
Authenticate using the user's credentials
Use the email parameters (available only in deployments where emails addresses are exposed).
Use the user's user id.