File tree 1 file changed +30
-24
lines changed
1 file changed +30
-24
lines changed Original file line number Diff line number Diff line change 594
594
"followings_count" : {
595
595
"type" : " integer" ,
596
596
"example" : 666
597
+ },
598
+ "followed_by_me" : {
599
+ "type" : " boolean" ,
600
+ "description" : " True if user is followed by me"
601
+ },
602
+ "follows_me" : {
603
+ "type" : " boolean" ,
604
+ "description" : " True if user follows me"
597
605
}
598
606
}
599
607
}
629
637
}
630
638
}
631
639
}
640
+ },
641
+ "post" : {
642
+ "description" : " Store myself as a new follower for the user" ,
643
+ "tags" : [
644
+ " Users"
645
+ ],
646
+ "responses" : {
647
+ "201" : {
648
+ "description" : " The new relation created."
649
+ }
650
+ }
651
+ },
652
+ "delete" : {
653
+ "description" : " Delete myself as a follower from the list of followers" ,
654
+ "tags" : [
655
+ " Users"
656
+ ],
657
+ "responses" : {
658
+ "201" : {
659
+ "description" : " The relation deleted."
660
+ }
661
+ }
632
662
}
633
663
},
634
664
"/users/{userId}/followings" : {
659
689
}
660
690
}
661
691
},
662
- "/users/{userId}/followings/{followeeId}" : {
663
- "post" : {
664
- "description" : " Store a new following for the user" ,
665
- "tags" : [
666
- " Users"
667
- ],
668
- "responses" : {
669
- "201" : {
670
- "description" : " The new post created."
671
- }
672
- }
673
- },
674
- "delete" : {
675
- "description" : " Delete the followee from the list of followings" ,
676
- "tags" : [
677
- " Users"
678
- ],
679
- "responses" : {
680
- "201" : {
681
- "description" : " The following deleted."
682
- }
683
- }
684
- }
685
- },
686
692
"/users/{userId}/posts" : {
687
693
"get" : {
688
694
"description" : " Index the user posts" ,
You can’t perform that action at this time.
0 commit comments