profile/update

Update and return the changed profile. Parameters can be posted as form data or JSON.

Usage

Requires POST.

https://www.geni.com/api/profile-122248213/update?last_name=Smith&names[de][last_name]=Smith

Parameters

ชื่อ ประเภท รายละเอียด จำเป็นต้องใช้
about_me String Profile's about me section (cf. detail_strings) (must be requested) false
baptism Event Profile's baptism event info false
birth Event ข้อมูลรายละเอียดเหตุการณ์ที่เกิดของโปรไฟล์ false
burial Event ข้อมูลรายละเอียดของเหตุการณ์ที่เผาศพ false
cause_of_death String ทำให้เกิดการตายรายละเอียดของ false
death Event ข้อมูลเหตุการณ์การเสียชีวิตของโปรไฟล์ false
display_name String Profile's display name false
first_name String Profile's first name false
gender String Profile's gender false
is_alive Boolean True if the profile is living false
last_name String Profile's last name false
locked Boolean True if the profile has been locked down by a curator false
maiden_name String Profile's maiden name false
merge_note Array or String Note explaining the profile's merge status false
middle_name String Profile's middle name false
names Hash Nested maps of locales to name fields to values false
nicknames Array of Strings Also known as. Returned as an array, but can be set as a comma delimited list. false
occupation String อาชีพของโปรไฟล์ false
public Boolean True if the profile is public false
suffix String Profile's suffix false
title String Profile's name title false

Returned Fields

ชื่อ ประเภท รายละเอียด
about_me String Profile's about me section (cf. detail_strings) (must be requested)
baptism Event Profile's baptism event info
big_tree Boolean True if the profile is attached to the big tree
birth Event ข้อมูลรายละเอียดเหตุการณ์ที่เกิดของโปรไฟล์
block_exists Boolean Indicates whether the profile is blocked
burial Event ข้อมูลรายละเอียดของเหตุการณ์ที่เผาศพ
cause_of_death String ทำให้เกิดการตายรายละเอียดของ
claimed Boolean True if the profile is claimed by a user
created_at String Timestamp of when the profile was created
created_by String URL (or id) of the profile who added this profile to the tree
creator String URL (or id) of the user who added this profile to the tree
curator String Profile's curator's url (or id)
current_residence Location Profile's current address
death Event ข้อมูลเหตุการณ์การเสียชีวิตของโปรไฟล์
detail_strings Hash Nested maps of locales to details fields (eg. about me) to values (must be requested)
display_name String Profile's display name
documents_updated_at String Timestamp of the last document updated/added to the profile. Will not be return if no documents exist.
email String Profile's email address
events Array of Events Events associated with this profile (must be requested)
first_name String Profile's first name
gender String Profile's gender
get_email Boolean Indicates whether the profile can receive email
guid String Profile's globally unique identifier
id String Profile's node id
is_alive Boolean True if the profile is living
language String ภาษาของโปรไฟล์
last_name String Profile's last name
locked Boolean True if the profile has been locked down by a curator
maiden_name String Profile's maiden name
managers Array of Strings URLs (or ids) of profile(s) currently managing this profile
master_profile Boolean Indicates whether the profile is a master profile
merge_note Array or String Note explaining the profile's merge status
merge_pending Boolean Indicates whether the profile has a pending merge
merged_into String URL (or id) of the profile this profile is currently merged into
middle_name String Profile's middle name
mugshot_urls PhotoImageSizeMap All sizes of the profile's main photo
name String Profile's name as it appears on the site to the current user
names Hash Nested maps of locales to name fields to values
nicknames Array of Strings Also known as. Returned as an array, but can be set as a comma delimited list.
occupation String อาชีพของโปรไฟล์
phone_numbers Array of PhoneNumbers หมายเลขโทรศัพท์ของโปรไฟล์
photos_updated_at String Timestamp of the last photo updated/added to the profile. Will not be return if no photos exist.
premium_start_date String Date when the profile became a pro user
profile_url String URL to access profile in a browser
public Boolean True if the profile is public
relationship String ความสัมพันธ์ของโปรไฟล์ของผู้ใช้ปัจจุบัน (ถ้ามี)
requested_merges Array of Strings URLs (or ids) of the profile(s) requested to be merged into this one
suffix String Profile's suffix
unions Array of Strings URLs to unions
updated_at String Timestamp of when the profile was last updated
url String URL to access profile through the API
videos_updated_at String Timestamp of the last video updated/added to the profile. Will not be return if no videos exist.
Note: Blank fields will not be returned to save bandwidth.

rails-1a-002