~saprativejana/mailman/install_doc

« back to all changes in this revision

Viewing changes to src/mailman/rest/docs/membership.rst

  • Committer: Barry Warsaw
  • Date: 2015-02-14 01:35:35 UTC
  • Revision ID: barry@list.org-20150214013535-5fbdvnk6tpylvjt6
 * Member resource JSON now include the ``member_id`` as a separate key.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        email: bperson@example.com
47
47
        http_etag: ...
48
48
        list_id: bee.example.com
 
49
        member_id: 1
49
50
        role: member
50
51
        self_link: http://localhost:9001/3.0/members/1
51
52
        user: http://localhost:9001/3.0/users/1
61
62
    email: bperson@example.com
62
63
    http_etag: ...
63
64
    list_id: bee.example.com
 
65
    member_id: 1
64
66
    role: member
65
67
    self_link: http://localhost:9001/3.0/members/1
66
68
    user: http://localhost:9001/3.0/users/1
76
78
        email: bperson@example.com
77
79
        http_etag: ...
78
80
        list_id: bee.example.com
 
81
        member_id: 1
79
82
        role: member
80
83
        self_link: http://localhost:9001/3.0/members/1
81
84
        user: http://localhost:9001/3.0/users/1
85
88
        email: cperson@example.com
86
89
        http_etag: ...
87
90
        list_id: bee.example.com
 
91
        member_id: 2
88
92
        role: member
89
93
        self_link: http://localhost:9001/3.0/members/2
90
94
        user: http://localhost:9001/3.0/users/2
105
109
        email: aperson@example.com
106
110
        http_etag: ...
107
111
        list_id: bee.example.com
 
112
        member_id: 3
108
113
        role: member
109
114
        self_link: http://localhost:9001/3.0/members/3
110
115
        user: http://localhost:9001/3.0/users/3
114
119
        email: bperson@example.com
115
120
        http_etag: ...
116
121
        list_id: bee.example.com
 
122
        member_id: 1
117
123
        role: member
118
124
        self_link: http://localhost:9001/3.0/members/1
119
125
        user: http://localhost:9001/3.0/users/1
123
129
        email: cperson@example.com
124
130
        http_etag: ...
125
131
        list_id: bee.example.com
 
132
        member_id: 2
126
133
        role: member
127
134
        self_link: http://localhost:9001/3.0/members/2
128
135
        user: http://localhost:9001/3.0/users/2
147
154
        email: aperson@example.com
148
155
        http_etag: ...
149
156
        list_id: ant.example.com
 
157
        member_id: 4
150
158
        role: member
151
159
        self_link: http://localhost:9001/3.0/members/4
152
160
        user: http://localhost:9001/3.0/users/3
156
164
        email: cperson@example.com
157
165
        http_etag: ...
158
166
        list_id: ant.example.com
 
167
        member_id: 5
159
168
        role: member
160
169
        self_link: http://localhost:9001/3.0/members/5
161
170
        user: http://localhost:9001/3.0/users/2
165
174
        email: aperson@example.com
166
175
        http_etag: ...
167
176
        list_id: bee.example.com
 
177
        member_id: 3
168
178
        role: member
169
179
        self_link: http://localhost:9001/3.0/members/3
170
180
        user: http://localhost:9001/3.0/users/3
174
184
        email: bperson@example.com
175
185
        http_etag: ...
176
186
        list_id: bee.example.com
 
187
        member_id: 1
177
188
        role: member
178
189
        self_link: http://localhost:9001/3.0/members/1
179
190
        user: http://localhost:9001/3.0/users/1
183
194
        email: cperson@example.com
184
195
        http_etag: ...
185
196
        list_id: bee.example.com
 
197
        member_id: 2
186
198
        role: member
187
199
        self_link: http://localhost:9001/3.0/members/2
188
200
        user: http://localhost:9001/3.0/users/2
200
212
        email: aperson@example.com
201
213
        http_etag: ...
202
214
        list_id: ant.example.com
 
215
        member_id: 4
203
216
        role: member
204
217
        self_link: http://localhost:9001/3.0/members/4
205
218
        user: http://localhost:9001/3.0/users/3
209
222
        email: cperson@example.com
210
223
        http_etag: ...
211
224
        list_id: ant.example.com
 
225
        member_id: 5
212
226
        role: member
213
227
        self_link: http://localhost:9001/3.0/members/5
214
228
        user: http://localhost:9001/3.0/users/2
234
248
        email: aperson@example.com
235
249
        http_etag: ...
236
250
        list_id: ant.example.com
 
251
        member_id: 4
237
252
        role: member
238
253
        self_link: http://localhost:9001/3.0/members/4
239
254
        user: http://localhost:9001/3.0/users/3
251
266
        email: aperson@example.com
252
267
        http_etag: ...
253
268
        list_id: ant.example.com
 
269
        member_id: 4
254
270
        role: member
255
271
        self_link: http://localhost:9001/3.0/members/4
256
272
        user: http://localhost:9001/3.0/users/3
296
312
        email: dperson@example.com
297
313
        http_etag: ...
298
314
        list_id: ant.example.com
 
315
        member_id: 6
299
316
        role: moderator
300
317
        self_link: http://localhost:9001/3.0/members/6
301
318
        user: http://localhost:9001/3.0/users/4
305
322
        email: aperson@example.com
306
323
        http_etag: ...
307
324
        list_id: ant.example.com
 
325
        member_id: 4
308
326
        role: member
309
327
        self_link: http://localhost:9001/3.0/members/4
310
328
        user: http://localhost:9001/3.0/users/3
314
332
        email: cperson@example.com
315
333
        http_etag: ...
316
334
        list_id: ant.example.com
 
335
        member_id: 5
317
336
        role: member
318
337
        self_link: http://localhost:9001/3.0/members/5
319
338
        user: http://localhost:9001/3.0/users/2
323
342
        email: cperson@example.com
324
343
        http_etag: ...
325
344
        list_id: bee.example.com
 
345
        member_id: 7
326
346
        role: owner
327
347
        self_link: http://localhost:9001/3.0/members/7
328
348
        user: http://localhost:9001/3.0/users/2
332
352
        email: aperson@example.com
333
353
        http_etag: ...
334
354
        list_id: bee.example.com
 
355
        member_id: 3
335
356
        role: member
336
357
        self_link: http://localhost:9001/3.0/members/3
337
358
        user: http://localhost:9001/3.0/users/3
341
362
        email: bperson@example.com
342
363
        http_etag: ...
343
364
        list_id: bee.example.com
 
365
        member_id: 1
344
366
        role: member
345
367
        self_link: http://localhost:9001/3.0/members/1
346
368
        user: http://localhost:9001/3.0/users/1
350
372
        email: cperson@example.com
351
373
        http_etag: ...
352
374
        list_id: bee.example.com
 
375
        member_id: 2
353
376
        role: member
354
377
        self_link: http://localhost:9001/3.0/members/2
355
378
        user: http://localhost:9001/3.0/users/2
367
390
        email: cperson@example.com
368
391
        http_etag: ...
369
392
        list_id: bee.example.com
 
393
        member_id: 7
370
394
        role: owner
371
395
        self_link: http://localhost:9001/3.0/members/7
372
396
        user: http://localhost:9001/3.0/users/2
387
411
    email: cperson@example.com
388
412
    http_etag: ...
389
413
    list_id: bee.example.com
 
414
    member_id: 7
390
415
    role: owner
391
416
    self_link: http://localhost:9001/3.0/members/7
392
417
    user: http://localhost:9001/3.0/users/2
403
428
        email: aperson@example.com
404
429
        http_etag: ...
405
430
        list_id: ant.example.com
 
431
        member_id: 4
406
432
        role: member
407
433
        self_link: http://localhost:9001/3.0/members/4
408
434
        user: http://localhost:9001/3.0/users/3
412
438
        email: aperson@example.com
413
439
        http_etag: ...
414
440
        list_id: bee.example.com
 
441
        member_id: 3
415
442
        role: member
416
443
        self_link: http://localhost:9001/3.0/members/3
417
444
        user: http://localhost:9001/3.0/users/3
430
457
        email: aperson@example.com
431
458
        http_etag: ...
432
459
        list_id: bee.example.com
 
460
        member_id: 3
433
461
        role: member
434
462
        self_link: http://localhost:9001/3.0/members/3
435
463
        user: http://localhost:9001/3.0/users/3
439
467
        email: bperson@example.com
440
468
        http_etag: ...
441
469
        list_id: bee.example.com
 
470
        member_id: 1
442
471
        role: member
443
472
        self_link: http://localhost:9001/3.0/members/1
444
473
        user: http://localhost:9001/3.0/users/1
448
477
        email: cperson@example.com
449
478
        http_etag: ...
450
479
        list_id: bee.example.com
 
480
        member_id: 2
451
481
        role: member
452
482
        self_link: http://localhost:9001/3.0/members/2
453
483
        user: http://localhost:9001/3.0/users/2
457
487
        email: cperson@example.com
458
488
        http_etag: ...
459
489
        list_id: bee.example.com
 
490
        member_id: 7
460
491
        role: owner
461
492
        self_link: http://localhost:9001/3.0/members/7
462
493
        user: http://localhost:9001/3.0/users/2
477
508
        email: cperson@example.com
478
509
        http_etag: ...
479
510
        list_id: bee.example.com
 
511
        member_id: 2
480
512
        role: member
481
513
        self_link: http://localhost:9001/3.0/members/2
482
514
        user: http://localhost:9001/3.0/users/2
486
518
        email: cperson@example.com
487
519
        http_etag: ...
488
520
        list_id: bee.example.com
 
521
        member_id: 7
489
522
        role: owner
490
523
        self_link: http://localhost:9001/3.0/members/7
491
524
        user: http://localhost:9001/3.0/users/2
505
538
        email: cperson@example.com
506
539
        http_etag: ...
507
540
        list_id: ant.example.com
 
541
        member_id: 5
508
542
        role: member
509
543
        self_link: http://localhost:9001/3.0/members/5
510
544
        user: http://localhost:9001/3.0/users/2
514
548
        email: cperson@example.com
515
549
        http_etag: ...
516
550
        list_id: bee.example.com
 
551
        member_id: 2
517
552
        role: member
518
553
        self_link: http://localhost:9001/3.0/members/2
519
554
        user: http://localhost:9001/3.0/users/2
534
569
        email: cperson@example.com
535
570
        http_etag: ...
536
571
        list_id: bee.example.com
 
572
        member_id: 2
537
573
        role: member
538
574
        self_link: http://localhost:9001/3.0/members/2
539
575
        user: http://localhost:9001/3.0/users/2
583
619
        email: eperson@example.com
584
620
        http_etag: ...
585
621
        list_id: ant.example.com
 
622
        member_id: 8
586
623
        role: member
587
624
        self_link: http://localhost:9001/3.0/members/8
588
625
        user: http://localhost:9001/3.0/users/5
625
662
        email: gwen@example.com
626
663
        http_etag: "..."
627
664
        list_id: ant.example.com
 
665
        member_id: 9
628
666
        role: member
629
667
        self_link: http://localhost:9001/3.0/members/9
630
668
        user: http://localhost:9001/3.0/users/6
649
687
        email: gwen.person@example.com
650
688
        http_etag: "..."
651
689
        list_id: ant.example.com
 
690
        member_id: 9
652
691
        role: member
653
692
        self_link: http://localhost:9001/3.0/members/9
654
693
        user: http://localhost:9001/3.0/users/6
715
754
    email: fperson@example.com
716
755
    http_etag: "..."
717
756
    list_id: ant.example.com
 
757
    member_id: 10
718
758
    role: member
719
759
    self_link: http://localhost:9001/3.0/members/10
720
760
    user: http://localhost:9001/3.0/users/7
738
778
    email: fperson@example.com
739
779
    http_etag: "..."
740
780
    list_id: ant.example.com
 
781
    member_id: 10
741
782
    role: member
742
783
    self_link: http://localhost:9001/3.0/members/10
743
784
    user: http://localhost:9001/3.0/users/7
757
798
    email: fperson@example.com
758
799
    http_etag: "..."
759
800
    list_id: ant.example.com
 
801
    member_id: 10
760
802
    role: member
761
803
    self_link: http://localhost:9001/3.0/members/10
762
804
    user: http://localhost:9001/3.0/users/7
800
842
        email: herb@example.com
801
843
        http_etag: "..."
802
844
        list_id: ant.example.com
 
845
        member_id: 11
803
846
        role: member
804
847
        self_link: http://localhost:9001/3.0/members/11
805
848
        user: http://localhost:9001/3.0/users/8
810
853
        email: herb@example.com
811
854
        http_etag: "..."
812
855
        list_id: bee.example.com
 
856
        member_id: 12
813
857
        role: member
814
858
        self_link: http://localhost:9001/3.0/members/12
815
859
        user: http://localhost:9001/3.0/users/8
867
911
        email: hperson@example.com
868
912
        http_etag: "..."
869
913
        list_id: ant.example.com
 
914
        member_id: 11
870
915
        role: member
871
916
        self_link: http://localhost:9001/3.0/members/11
872
917
        user: http://localhost:9001/3.0/users/8
876
921
        email: hperson@example.com
877
922
        http_etag: "..."
878
923
        list_id: bee.example.com
 
924
        member_id: 12
879
925
        role: member
880
926
        self_link: http://localhost:9001/3.0/members/12
881
927
        user: http://localhost:9001/3.0/users/8