File tree Expand file tree Collapse file tree 1 file changed +46
-1
lines changed
Expand file tree Collapse file tree 1 file changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -511,6 +511,32 @@ paths:
511511 type : array
512512 items :
513513 $ref : ' #/components/schemas/Like'
514+ /matches :
515+ get :
516+ summary : Get your matches
517+ operationId : getMatches
518+ tags :
519+ - Match
520+ responses :
521+ " 200 " :
522+ description : Returned list of matches
523+ content :
524+ application/json :
525+ schema :
526+ type : object
527+ properties :
528+ success :
529+ type : boolean
530+ description : If the request is a success
531+ example : true
532+ code :
533+ type : integer
534+ description : The status code
535+ example : 200
536+ matches :
537+ type : array
538+ items :
539+ $ref : ' #/components/schemas/Match'
514540
515541servers :
516542 - url : https://api.matcha.com
@@ -945,4 +971,23 @@ components:
945971 example : 200
946972 message :
947973 type : string
948- example : It's a match !
974+ example : It's a match !
975+ Match :
976+ type : object
977+ properties :
978+ id :
979+ type : integer
980+ example : 1
981+ description : Unique identifier of this match
982+ dt_matched :
983+ type : date
984+ example : Wed, 16 Sep 2020 15:38:15 GMT
985+ description : The datetime when the match occured
986+ user_1 :
987+ type : string
988+ example : 1
989+ description : The user id of one of the user for the match
990+ user_2 :
991+ type : string
992+ example : 2
993+ description : The user id of one of the user for the match
You can’t perform that action at this time.
0 commit comments