First
[anni] / test / fixtures / users_mock / user.json
1 {
2   "@context": [
3     "https://www.w3.org/ns/activitystreams",
4     "https://example.com/schemas/litepub-0.1.jsonld",
5     {
6       "@language": "und"
7     }
8   ],
9   "attachment": [],
10   "endpoints": {
11     "oauthAuthorizationEndpoint": "https://example.com/oauth/authorize",
12     "oauthRegistrationEndpoint": "https://example.com/api/v1/apps",
13     "oauthTokenEndpoint": "https://example.com/oauth/token",
14     "sharedInbox": "https://example.com/inbox"
15   },
16   "followers": "https://example.com/users/{{nickname}}/followers",
17   "following": "https://example.com/users/{{nickname}}/following",
18   "icon": {
19     "type": "Image",
20     "url": "https://example.com/media/4e914f5b84e4a259a3f6c2d2edc9ab642f2ab05f3e3d9c52c81fc2d984b3d51e.jpg"
21   },
22   "id": "https://example.com/users/{{nickname}}",
23   "image": {
24     "type": "Image",
25     "url": "https://example.com/media/f739efddefeee49c6e67e947c4811fdc911785c16ae43da4c3684051fbf8da6a.jpg?name=f739efddefeee49c6e67e947c4811fdc911785c16ae43da4c3684051fbf8da6a.jpg"
26   },
27   "inbox": "https://example.com/users/{{nickname}}/inbox",
28   "manuallyApprovesFollowers": false,
29   "name": "{{nickname}}",
30   "outbox": "https://example.com/users/{{nickname}}/outbox",
31   "preferredUsername": "{{nickname}}",
32   "publicKey": {
33     "id": "https://example.com/users/{{nickname}}#main-key",
34     "owner": "https://example.com/users/{{nickname}}",
35     "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5DLtwGXNZElJyxFGfcVc\nXANhaMadj/iYYQwZjOJTV9QsbtiNBeIK54PJrYuU0/0YIdrvS1iqheX5IwXRhcwa\nhm3ZyLz7XeN9st7FBni4BmZMBtMpxAuYuu5p/jbWy13qAiYOhPreCx0wrWgm/lBD\n9mkgaxIxPooBE0S4ZWEJIDIV1Vft3AWcRUyWW1vIBK0uZzs6GYshbQZB952S0yo4\nFzI1hABGHncH8UvuFauh4EZ8tY7/X5I0pGRnDOcRN1dAht5w5yTA+6r5kebiFQjP\nIzN/eCO/a9Flrj9YGW7HDNtjSOH0A31PLRGlJtJO3yK57dnf5ppyCZGfL4emShQo\ncQIDAQAB\n-----END PUBLIC KEY-----\n\n"
36   },
37   "featured": "https://example.com/users/{{nickname}}/collections/featured",
38   "summary": "your friendly neighborhood pleroma developer<br>I like cute things and distributed systems, and really hate delete and redrafts",
39   "tag": [],
40   "type": "Person",
41   "url": "https://example.com/users/{{nickname}}"
42 }