do not allow non-admins to register tokens with admin scopes
[akkoma] / test / fixtures / mastodon / application_actor.json
1 {
2 "@context": [
3 "https://www.w3.org/ns/activitystreams",
4 "https://w3id.org/security/v1",
5 {
6 "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
7 "toot": "http://joinmastodon.org/ns#",
8 "featured": {
9 "@id": "toot:featured",
10 "@type": "@id"
11 },
12 "alsoKnownAs": {
13 "@id": "as:alsoKnownAs",
14 "@type": "@id"
15 },
16 "movedTo": {
17 "@id": "as:movedTo",
18 "@type": "@id"
19 },
20 "schema": "http://schema.org#",
21 "PropertyValue": "schema:PropertyValue",
22 "value": "schema:value",
23 "IdentityProof": "toot:IdentityProof",
24 "discoverable": "toot:discoverable",
25 "Device": "toot:Device",
26 "Ed25519Signature": "toot:Ed25519Signature",
27 "Ed25519Key": "toot:Ed25519Key",
28 "Curve25519Key": "toot:Curve25519Key",
29 "EncryptedMessage": "toot:EncryptedMessage",
30 "publicKeyBase64": "toot:publicKeyBase64",
31 "deviceId": "toot:deviceId",
32 "claim": {
33 "@type": "@id",
34 "@id": "toot:claim"
35 },
36 "fingerprintKey": {
37 "@type": "@id",
38 "@id": "toot:fingerprintKey"
39 },
40 "identityKey": {
41 "@type": "@id",
42 "@id": "toot:identityKey"
43 },
44 "devices": {
45 "@type": "@id",
46 "@id": "toot:devices"
47 },
48 "messageFranking": "toot:messageFranking",
49 "messageType": "toot:messageType",
50 "cipherText": "toot:cipherText"
51 }
52 ],
53 "id": "https://{{DOMAIN}}/actor",
54 "type": "Application",
55 "inbox": "https://{{DOMAIN}}/actor/inbox",
56 "preferredUsername": "{{DOMAIN}}",
57 "url": "https://{{DOMAIN}}/about/more?instance_actor=true",
58 "manuallyApprovesFollowers": true,
59 "publicKey": {
60 "id": "https://{{DOMAIN}}/actor#main-key",
61 "owner": "https://{{DOMAIN}}/actor",
62 "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAA0CA08AMIIBCgKCAQEAyi2T2FFZJgRPY+96YQrn\n6J6eF2P60J+nz+/pRc/acv/Nx+NLxxPyXby0F2s60MV7uALRQbBBnf7oNKCd/T4S\nvbr7UXMCWTdaJBpYubMKWT9uBlaUUkUfqL+WTV+IQnlcKtssQ4+AwrAKAZXza8ws\nZypevOsLHzayyEzztmm1KQC9GCUOITCLf7Q6qEhy8z/HuqLBEC0Own0pD7QsbfcS\no1peuZY7g1E/jJ9HR9GqJccMaR0H28KmJ7tT1Yzlyf5uZMRIdPxsoMR9sGLjR2B8\noegSwaf9SogR3ScP395Tt/9Ud1VVzuhpoS8Uy7jKSs+3CuLJsEGoMrib8VyOwadS\n9wIDAQAB\n-----END PUBLIC KEY-----\n"
63 },
64 "endpoints": {
65 "sharedInbox": "https://{{DOMAIN}}/inbox"
66 }
67 }