update_url
Correct or remove one existing URL entry on a person, place, or repository in a Gramps Web tree. Fix a Find a Grave link filed under the wrong type.
Instructions
Edit or remove ONE existing URL entry on a person, place, or repository.
add_url can only append -- this corrects an entry already there (the classic case: a Find a Grave link filed under the wrong type). The other fields on the object are untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New URL path. Omit to keep. | |
| match | Yes | Case-insensitive substring identifying WHICH url entry to edit, tested against each entry's path and description (e.g. 'findagrave.com/memorial/123'). Must match exactly one entry; matching none or several returns the candidate list instead of guessing. | |
| remove | No | Remove the matched entry instead of editing it. | |
| target | Yes | Handle or gramps_id of the object. | |
| url_type | No | New URL type, e.g. 'Web Home', 'Web Search', or a custom type the tree already has. Omit to keep. | |
| description | No | New link description. Omit to keep. | |
| object_type | Yes | Type of the object: 'person', 'place', or 'repository' only. | |
| allow_new_type | No | Accept a type that is neither a Gramps standard type nor one of the tree's custom types, creating it as a new custom type. Only when meant: a near-miss is refused with the closest names. |