Add new primary identifier; unverifiable identifier¶
given: "Alice" created an actor on "abel" called "Alice" with username "Alice"¶
send.Alice.request.create_actor
{
"base_url": "http://abel",
"preferred_username": "Alice",
"profile": {},
"automatically_accept_followers": null,
"name": null
}
receive.Alice.response.create_actor
{
"attachment": null,
"published": "2026-03-20T15:18:44.921019",
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
}
],
"publicKey": {
"id": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ#legacy-key-1",
"owner": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3VXjDEexhWCB+nF4yP2m\nTaz9H4fdMp1ZP5llpCY9mxdOzbEvPVhmEbgUMZFS8XYhyrK2pmlKIOe6mnqXAJvl\nVPWvApA6hcjfWfkcEdk54EMUdxpMbi9uUmRs0t1mHCwcw/ZyA2/EQh8zk/tPgGIV\nrMw6yO6trhU0O7T7Mh549MDXv0mQ/91L114Ub0+LpzE+/5P2T9VvCwrIiKJ5VIn6\nldIy9jm4t5KQn5lZr4G63Ok+NrDQdMie8kLcE35KMQa+UmC0GGrsqb5WrQO2YM27\nq1PYUrjZJONF7CcSR1Yg+7Af46+sNSSbErLVy05yhwlioMZnYYz517DDCLRP/wjw\n9wIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ",
"type": "Person",
"inbox": "http://abel/inbox/6x4yUcqXnYemXFTJQrumWA",
"outbox": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ/outbox",
"followers": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ/followers",
"following": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ/following",
"preferredUsername": "Alice",
"name": "Alice",
"identifiers": [
"acct:Alice@abel",
"http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ"
],
"endpoints": {
"sharedInbox": "http://abel/shared_inbox"
},
"manuallyApprovesFollowers": true
}
given: "Alice" adds "acct:alex@unknown.test" as a primary identifier¶
send.Alice.trigger.update_actor
{
"actor": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ",
"profile": null,
"autoFollow": null,
"actions": [
{
"action": "create_identifier",
"identifier": "acct:alex@unknown.test",
"primary": true
}
]
}
when: "Alice" retrieves the object with id "acct:Alice@abel"¶
send.Alice.request.fetch
{
"actor": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ",
"uri": "acct:Alice@abel"
}
receive.Alice.response.fetch
{
"actor": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ",
"uri": "acct:Alice@abel",
"data": {
"attachment": null,
"published": "2026-03-20T15:18:44.921019",
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
}
],
"publicKey": {
"id": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ#legacy-key-1",
"owner": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3VXjDEexhWCB+nF4yP2m\nTaz9H4fdMp1ZP5llpCY9mxdOzbEvPVhmEbgUMZFS8XYhyrK2pmlKIOe6mnqXAJvl\nVPWvApA6hcjfWfkcEdk54EMUdxpMbi9uUmRs0t1mHCwcw/ZyA2/EQh8zk/tPgGIV\nrMw6yO6trhU0O7T7Mh549MDXv0mQ/91L114Ub0+LpzE+/5P2T9VvCwrIiKJ5VIn6\nldIy9jm4t5KQn5lZr4G63Ok+NrDQdMie8kLcE35KMQa+UmC0GGrsqb5WrQO2YM27\nq1PYUrjZJONF7CcSR1Yg+7Af46+sNSSbErLVy05yhwlioMZnYYz517DDCLRP/wjw\n9wIDAQAB\n-----END PUBLIC KEY-----\n"
},
"id": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ",
"type": "Person",
"inbox": "http://abel/inbox/6x4yUcqXnYemXFTJQrumWA",
"outbox": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ/outbox",
"followers": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ/followers",
"following": "http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ/following",
"preferredUsername": "Alice",
"name": "Alice",
"identifiers": [
"acct:Alice@abel",
"http://abel/actor/iLfzloHEYiW4NQ-QruIKYQ"
],
"endpoints": {
"sharedInbox": "http://abel/shared_inbox"
},
"manuallyApprovesFollowers": true
}
}