File tree 1 file changed +45
-1
lines changed
1 file changed +45
-1
lines changed Original file line number Diff line number Diff line change 456
456
],
457
457
"responses" : {
458
458
"200" : {
459
- "description" : " The user signed in successfully. " ,
459
+ "description" : " List of user stories " ,
460
460
"content" : {
461
461
"application/json" : {
462
462
"schema" : {
612
612
}
613
613
}
614
614
}
615
+ },
616
+ "/feed" : {
617
+ "get" : {
618
+ "operationId" : " feed" ,
619
+ "description" : " Index the feed stories" ,
620
+ "tags" : [
621
+ " Stories"
622
+ ],
623
+ "responses" : {
624
+ "200" : {
625
+ "description" : " list of stories in user's feed" ,
626
+ "content" : {
627
+ "application/json" : {
628
+ "schema" : {
629
+ "type" : " object" ,
630
+ "properties" : {
631
+ "stories" : {
632
+ "type" : " array" ,
633
+ "items" : {
634
+ "$ref" : " #/components/schemas/Story"
635
+ }
636
+ }
637
+ }
638
+ }
639
+ }
640
+ }
641
+ },
642
+ "default" : {
643
+ "description" : " Error!" ,
644
+ "content" : {
645
+ "application/json" : {
646
+ "schema" : {
647
+ "$ref" : " #/components/schemas/Error"
648
+ }
649
+ }
650
+ }
651
+ }
652
+ }
653
+ }
615
654
}
616
655
},
617
656
"security" : [
654
693
"example" : 13 ,
655
694
"description" : " Unique id of user (uint64)"
656
695
},
696
+ "name" : {
697
+ "type" : " string" ,
698
+ "example" : " Milad" ,
699
+ "description" : " The user's name (full name or nickname)"
700
+ },
657
701
"username" : {
658
702
"type" : " string" ,
659
703
"example" : " username_1691_4b3a_847f_76b2ed0f00ec" ,
You can’t perform that action at this time.
0 commit comments