-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtinder-api-swagger.yaml
10902 lines (10891 loc) · 548 KB
/
tinder-api-swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
title: Tinder API
description: Tinder's API documentation.
version: 1.0.0
servers:
- url: https://api.gotinder.com
description: Main Tinder base endpoint
- url: https://etl.tindersparks.com
description: Statistics
- url: https://images-ssl.gotinder.com
description: Images API
paths:
/like/{user_id}:
servers:
- url: https://api.gotinder.com
get:
tags:
- name: Like
summary: Likes an user
description: Likes an user.
parameters:
- name: user_id
in: path
description: The id of the user that is intended to be liked.
required: true,
schema:
type: string
- name: locale
in: query
description: The locale that the request is being sent.
required: false
schema:
type: string
- name: s_number
in: query
description: The s_number of the user that is intended to be liked, this parameter is part of the user object and currently it is not well understood.
required: false
schema:
type: number
- name: Accept
in: header
description: The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept)
required: false
schema:
type: string
- name: app-session-id
in: header
description: TODO
required: false
schema:
type: string
- name: app-session-time-elapsed
in: header
description: Time, in milliseconds, elapsed since the app session creation.
required: false
schema:
type: number
- name: app-version
in: header
description: TODO
required: false
schema:
type: number
- name: Origin
in: header
description: The Origin request header indicates where a fetch originates from. It doesn't include any path information, but only the server name. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin)
required: false
schema:
type: string
example: https://tinder.com
- name: persistent-device-id
in: header
description: TODO
required: false
schema:
type: string
- name: platform
in: header
description: The platform that is being used to perform the request.
required: false
schema:
type: string
- name: Referer
in: header
description: The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer)
required: false
schema:
type: string
- name: User-Agent
in: header
description: The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent)
required: false
schema:
type: string
- name: user-session-id
in: header
description: TODO
required: false
schema:
type: string
- name: user-session-time-elapsed
in: header
description: Time, in milliseconds, elapsed since the user session creation.
required: false
schema:
type: string
- name: X-Auth-Token
in: header
description: Token received in the authentication process.
required: true
schema:
type: string
- name: x-supported-image-formats
in: header
description: Files formats that are going to be found while working with the application users images.
required: false
schema:
type: string
example: webp,jpeg
responses:
200:
description: 'OK'
headers:
access-control-allow-credentials:
description: The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is "include". [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
schema:
type: boolean
access-control-allow-headers:
description: The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
schema:
type: string
access-control-allow-methods:
description: The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
schema:
type: string
access-control-allow-origin:
description: The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
schema:
type: string
content-encoding:
description: The Content-Encoding entity header is used to compress the media-type. When present, its value indicates which encodings were applied to the entity-body. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding)
schema:
type: string
content-length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: number
content-type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
date:
description: The Date general HTTP header contains the date and time at which the message was originated. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date)
schema:
type: Date
status:
description: Response status code.
schema:
type: number
vary:
description: The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary)
schema:
type: string
via:
description: The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via)
schema:
type: string
x-amz-cf-id:
description: TODO
schema:
type: string
x-cache:
description: TODO
schema:
type: string
x-request-id:
description: TODO
schema:
type: string
content:
application/json:
schema:
type: object
properties:
match:
type: boolean
description: Wether or not the there were a match between the requesting user and the current liked user.
likes_remaining:
type: number
description: Total of remaining likes, it is always 100 unless you runned out of likes, in that case it is zero.
X-Padding:
type: string
description: This field not well understood.
rate_limited_until:
description: Time when you will be able to like someone again, it is only present when there is no remaining likes.
type: number
example: 1556811475570
example:
match: false
likes_remaining: 100,
X-Padding: "{*meta*:{*code*:200,*requestId*:*59a45921351e3d43b07028b5*},*response*:{*venue*:{*id*:*412d2800f964a520df0c1fe3*,*name*:*Central Park*,*contact*:{*phone*:*2123106600*,*formattedPhone*:*(212) 310-6600*,*twitter*:*centralparknyc*,*instagram*:*centralparknyc*,*facebook*:*37965424481*,*facebookUsername*:*centralparknyc*,*facebookName*:*Central Park*},*location*:{*address*:*59th St to 110th St*,*crossStreet*:*5th Ave to Central Park West*,*lat*:40.78408342593807,*lng*:-73.96485328674316,*postalCode*:*10028*,*cc*:*US*,*city*:*New York*,*state*:*NY*,*country*:*United States*,*formattedAddress*:[*59th St to 110th St (5th Ave to Central Park West)*,*New York, NY 10028*,*United States*]},*canonicalUrl*:*https://foursquare.com/v/central-park/412d2800f964a520df0c1fe3*,*categories*:[{*id*:*4bf58dd8d48988d163941735*,*name*:*Park*,*pluralName*:*Parks*,*shortName*:*Park*,*icon*:{*prefix*:*https://ss3.4sqi.net/img/categories_v2/parks_outdoors/park_*,*suffix*:*.png*},*primary*:true}],*verified*:true,*stats*:{*checkinsCount*:364591,*usersCount*:311634,*tipCount*:1583,*visitsCount*:854553},*url*:*http://www.centralparknyc.org*,*likes*:{*count*:17370,*summary*:*17370 Likes*},*rating*:9.8,*ratingColor*:*00B551*,*ratingSignals*:18854,*beenHere*:{*count*:0,*unconfirmedCount*:0,*marked*:false,*lastCheckinExpiredAt*:0},*photos*:{*count*:26681,*groups*:[{*type*:*venue*,*name*:*Venue photos*,*count*:26681,*items*:[{*id*:*513bd223e4b0e8ef8292ee54*,*createdAt*:1362874915,*source*:{*name*:*Instagram*,*url*:*http://instagram.com*},*prefix*:*https://igx.4sqi.net/img/general/*,*suffix*:*/655018_Zp3vA90Sy4IIDApvfAo5K"
rate_limited_until: 1556811475570
404:
description: 'Not Found'
headers:
Content-Type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
example: application/json; charset=utf-8
Content-Length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: string
example: 25
Connection:
description: The Connection general header controls whether or not the network connection stays open after the current transaction finishes. If the value sent is keep-alive, the connection is persistent and not closed, allowing for subsequent requests to the same server to be done. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection)
schema:
type: string
example: keep-alive
access-control-allow-credentials:
description: The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is "include". [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
schema:
type: boolean
example: true
Access-Control-Allow-Headers:
description: The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
schema:
type: string
example: Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,platform,app-version,X-Auth-Token,x-accountkit-validation-code,token,fast-match-count,x-supported-image-formats,device_id,install-id,persistent-device-id,promo-code,campaign-name,app-session-id,app-session-time-elapsed,user-session-id,user-session-time-elapsed,advertising-id
Access-Control-Allow-Methods:
description: The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
schema:
type: string
example: GET, POST, PUT, DELETE, OPTIONS
access-control-allow-origin:
description: The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
schema:
type: string
example: https://tinder.com
Content-Encoding:
description: The Content-Encoding entity header is used to compress the media-type. When present, its value indicates which encodings were applied to the entity-body. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding)
schema:
type: string
example: gzip
Date:
description: The Date general HTTP header contains the date and time at which the message was originated. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date)
schema:
type: string
example: Mon, 29 Apr 2019 02:29:08 GMT
Vary:
description: The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary)
schema:
type: string
example: Accept-Encoding,Origin
X-Request-ID:
description: TODO
schema:
type: string
example: 00af7teqbvf3q82is660
X-Cache:
description: TODO
schema:
type: string
example: Error from cloudfront
Via:
description: The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via)
schema:
type: string
example: 1.1 d07104e17906cf397b085b148825b3ed.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
description: TODO
schema:
type: string
example: WZbbh7AT5sI6_lPxpjGDC7-vNpBcdfDnU-3RNpiQbGFRkA-bnoO14Q==
content:
application/json:
schema:
type: object
properties:
statusCode:
type: number
description: Request status code
error:
type: string
description: Request error message
example:
statusCode: 404
error: Not Found
401:
description: 'Unathorized'
headers:
Content-Type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
example: application/json; charset=utf-8
Content-Length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: string
example: 25
Connection:
description: The Connection general header controls whether or not the network connection stays open after the current transaction finishes. If the value sent is keep-alive, the connection is persistent and not closed, allowing for subsequent requests to the same server to be done. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection)
schema:
type: string
example: keep-alive
access-control-allow-credentials:
description: The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is "include". [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
schema:
type: boolean
example: true
Access-Control-Allow-Headers:
description: The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
schema:
type: string
example: Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,platform,app-version,X-Auth-Token,x-accountkit-validation-code,token,fast-match-count,x-supported-image-formats,device_id,install-id,persistent-device-id,promo-code,campaign-name,app-session-id,app-session-time-elapsed,user-session-id,user-session-time-elapsed,advertising-id
Access-Control-Allow-Methods:
description: The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
schema:
type: string
example: GET, POST, PUT, DELETE, OPTIONS
access-control-allow-origin:
description: The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
schema:
type: string
example: https://tinder.com
Date:
description: The Date general HTTP header contains the date and time at which the message was originated. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date)
schema:
type: string
example: Mon, 29 Apr 2019 02:29:08 GMT
vary:
description: The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary)
schema:
type: string
example: Origin
X-Request-ID:
description: TODO
schema:
type: string
example: 00af7teqbvf3q82is660
X-Cache:
description: TODO
schema:
type: string
example: Error from cloudfront
Via:
description: The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via)
schema:
type: string
example: 1.1 d07104e17906cf397b085b148825b3ed.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
description: TODO
schema:
type: string
example: WZbbh7AT5sI6_lPxpjGDC7-vNpBcdfDnU-3RNpiQbGFRkA-bnoO14Q==
content:
application/json:
schema:
type: object
properties:
status:
description: Response status code (yeah, I know, it's 'status' and not 'statusCode', Tinder's inconsistencies)
type: number
error:
type: string
description: Should be an error message, but it is an empty string
example:
status: 401
error: ''
400:
description: 'Bad request. This happened when I tried to like myself.'
headers:
Content-Type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
example: application/json; charset=utf-8
Content-Length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: string
example: 25
Connection:
description: The Connection general header controls whether or not the network connection stays open after the current transaction finishes. If the value sent is keep-alive, the connection is persistent and not closed, allowing for subsequent requests to the same server to be done. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection)
schema:
type: string
example: keep-alive
access-control-allow-credentials:
description: The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is "include". [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
schema:
type: boolean
example: true
Access-Control-Allow-Headers:
description: The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
schema:
type: string
example: Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,platform,app-version,X-Auth-Token,x-accountkit-validation-code,token,fast-match-count,x-supported-image-formats,device_id,install-id,persistent-device-id,promo-code,campaign-name,app-session-id,app-session-time-elapsed,user-session-id,user-session-time-elapsed,advertising-id
Access-Control-Allow-Methods:
description: The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
schema:
type: string
example: GET, POST, PUT, DELETE, OPTIONS
access-control-allow-origin:
description: The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
schema:
type: string
example: https://tinder.com
Date:
description: The Date general HTTP header contains the date and time at which the message was originated. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date)
schema:
type: string
example: Mon, 29 Apr 2019 02:29:08 GMT
vary:
description: The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary)
schema:
type: string
example: Origin
X-Request-ID:
description: TODO
schema:
type: string
example: 00af7teqbvf3q82is660
X-Cache:
description: TODO
schema:
type: string
example: Error from cloudfront
Via:
description: The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via)
schema:
type: string
example: 1.1 d07104e17906cf397b085b148825b3ed.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
description: TODO
schema:
type: string
example: WZbbh7AT5sI6_lPxpjGDC7-vNpBcdfDnU-3RNpiQbGFRkA-bnoO14Q==
content:
application/json:
schema:
type: object
properties:
status:
type: number
description: Request status code (yeah, I know, it's 'status' and not 'statusCode', Tinder's inconsistencies)
error:
type: string
description: Should be an error message, but it is an empty string
example:
status: 400
error: ''
/like/{user_id}/super:
servers:
- url: https://api.gotinder.com
post:
summary: Super likes an user
description: Super likes an user.
tags:
- name: Super Like
parameters:
- name: user_id
in: path
description: The id of the user that is intended to be super liked.
required: true
schema:
type: string
- name: locale
in: query
description: The locale that the request is being sent.
required: false
schema:
type: string
- name: Accept
in: header
description: The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept)
required: false
schema:
type: string
- name: app-session-id
in: header
description: TODO
required: false
schema:
type: string
- name: app-session-time-elapsed
in: header
description: Time, in milliseconds, elapsed since the app session creation.
required: false
schema:
type: number
- name: app-version
in: header
description: TODO
required: false
schema:
type: number
- name: Content-Type
in: header
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
required: false
schema:
type: string
- name: Origin
in: header
description: The Origin request header indicates where a fetch originates from. It doesn't include any path information, but only the server name. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin)
required: false
schema:
type: string
example: https://tinder.com
- name: persistent-device-id
in: header
description: TODO
required: false
schema:
type: string
- name: platform
in: header
description: The platform that is being used to perform the request.
required: false
schema:
type: string
- name: Referer
in: header
description: The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer)
required: false
schema:
type: string
- name: User-Agent
in: header
description: The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent)
required: false
schema:
type: string
- name: user-session-id
in: header
description: TODO
required: false
schema:
type: string
- name: user-session-time-elapsed
in: header
description: Time, in milliseconds, elapsed since the user session creation.
required: false
schema:
type: string
- name: X-Auth-Token
in: header
description: Token received in the authentication process.
required: true
schema:
type: string
- name: x-supported-image-formats
in: header
description: TODO
required: false
schema:
type: string
example: webp,jpeg
requestBody:
description: TODO
content:
application/json:
schema:
type: object
properties:
s_number:
description: TODO
type: number
responses:
200:
description: OK
headers:
access-control-allow-credentials:
description: The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is "include". [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
schema:
type: boolean
example: true
access-control-allow-headers:
description: The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
schema:
type: string
example: Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,platform,app-version,X-Auth-Token,x-accountkit-validation-code,token,fast-match-count,x-supported-image-formats,device_id,install-id,persistent-device-id,promo-code,campaign-name,app-session-id,app-session-time-elapsed,user-session-id,user-session-time-elapsed,advertising-id
access-control-allow-methods:
description: The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
schema:
type: string
example: GET, POST, PUT, DELETE, OPTIONS
access-control-allow-origin:
description: The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
schema:
type: string
example: https://tinder.com
content-encoding:
description: The Content-Encoding entity header is used to compress the media-type. When present, its value indicates which encodings were applied to the entity-body. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding)
schema:
type: string
example: gzip
content-length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: number
example: 26749
content-type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
example: application/json; charset=UTF-8
date:
description: The Date general HTTP header contains the date and time at which the message was originated. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date)
schema:
type: string
example: Mon, 22 Apr 2019 04:16:43 GMT
status:
description: Response status code.
schema:
type: number
example: 200
vary:
description: The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary)
schema:
type: string
example: Accept-Encoding
via:
description: The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via)
schema:
type: string
example: 1.1 eae9588c80b212b9c41c2d16b13586fe.cloudfront.net (CloudFront)
x-amz-cf-id:
description: TODO
schema:
type: string
example: kqyXnzFvYTu2rbq6e7QDcjMAhp6EXTMmUkHNvMm401kVPvXarXLb1Q==
x-cache:
description: TODO
schema:
type: string
example: Miss from cloudfront
x-request-id:
description: TODO
schema:
type: string
example: 007t55bcqdutqs79ds00
content:
application/json:
schema:
type: object
properties:
X-Padding:
description: TODO
type: string
limit_exceeded:
description: TODO This property appears when you try to superlike someone but you dont have super likes to spend.
type: boolean
match:
description: TODO
type: boolean
status:
description: Response status code.
type: number
super_likes:
description: TODO
type: object
properties:
alc_remaining:
description: TODO
type: number
example: 0
allotment:
description: TODO
type: number
example: 1
new_alc_remaining:
description: TODO
type: number
example: 0
remaining:
description: TODO
type: number
example: 0
resets_at:
description: TODO
type: string
example: 2019-05-03T04:32:02.049Z
superlike_refresh_amount:
description: TODO
type: number
example: 5
superlike_refresh_interval:
description: TODO
type: number
example: 1
superlike_refresh_interval_unit:
description: TODO
type: string
example: d
example:
status: 200
X-Padding: "{*meta*:{*code*:200,*requestId*:*59a45921351e3d43b07028b5*},*response*:{*venue*:{*id*:*412d2800f964a520df0c1fe3*,*name*:*Central Park*,*contact*:{*phone*:*2123106600*,*formattedPhone*:*(212) 310-6600*,*twitter*:*centralparknyc*,*instagram*:*centralparknyc*,*facebook*:*37965424481*,*facebookUsername*:*centralparknyc*,*facebookName*:*Central Park*},*location*:{*address*:*59th St to 110th St*,*crossStreet*:*5th Ave to Central Park West*,*lat*:40.78408342593807,*lng*:-73.96485328674316,*postalCode*:*10028*,*cc*:*US*,*city*:*New York*,*state*:*NY*,*country*:*United States*,*formattedAddress*:[*59th St to 110th St (5th Ave to Central Park West)*,*New York, NY 10028*,*United States*]},*canonicalUrl*:*https://foursquare.com/v/central-park/412d2800f964a520df0c1fe3*,*categories*:[{*id*:*4bf58dd8d48988d163941735*,*name*:*Park*,*pluralName*:*Parks*,*shortName*:*Park*,*icon*:{*prefix*:*https://ss3.4sqi.net/img/categories_v2/parks_outdoors/park_*,*suffix*:*.png*},*primary*:true}],*verified*:true,*stats*:{*checkinsCount*:364591,*usersCount*:311634,*tipCount*:1583,*visitsCount*:854553},*url*:*http://www.centralparknyc.org*,*likes*:{*count*:17370,*summary*:*17370 Likes*},*rating*:9.8,*ratingColor*:*00B551*,*ratingSignals*:18854,*beenHere*:{*count*:0,*unconfirmedCount*:0,*marked*:false,*lastCheckinExpiredAt*:0},*pho"
/pass/{user_id}:
servers:
- url: https://api.gotinder.com
get:
summary: Pass (dislike) an user
description: Pass (dislike) an user.
tags:
- name: Pass
parameters:
- name: user_id
in: path
description: The id of the user that is intended to be super liked.
required: true
schema:
type: string
- name: locale
in: query
description: The locale that the request is being sent.
required: false
schema:
type: string
- name: s_number
in: query
description: The s_number of the user that is intended to be disliked, this parameter is part of the user object and currently it is not well understood.
required: false
schema:
type: string
- name: Accept
in: header
description: The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept)
required: false
schema:
type: string
- name: app-session-id
in: header
description: TODO
required: false
schema:
type: string
- name: app-session-time-elapsed
in: header
description: Time, in milliseconds, elapsed since the app session creation.
required: false
schema:
type: number
- name: app-version
in: header
description: TODO
required: false
schema:
type: number
- name: Origin
in: header
description: The Origin request header indicates where a fetch originates from. It doesn't include any path information, but only the server name. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin)
required: false
schema:
type: string
example: https://tinder.com
- name: persistent-device-id
in: header
description: TODO
required: false
schema:
type: string
- name: platform
in: header
description: The platform that is being used to perform the request.
required: false
schema:
type: string
- name: Referer
in: header
description: The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer)
required: false
schema:
type: string
- name: User-Agent
in: header
description: The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent)
required: false
schema:
type: string
- name: user-session-id
in: header
description: TODO
required: false
schema:
type: string
- name: user-session-time-elapsed
in: header
description: Time, in milliseconds, elapsed since the user session creation.
required: false
schema:
type: string
- name: X-Auth-Token
in: header
description: Token received in the authentication process.
required: true
schema:
type: string
- name: x-supported-image-formats
in: header
description: TODO
required: false
schema:
type: string
example: webp,jpeg
responses:
200:
description: OK
headers:
Content-Type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
example: application/json; charset=utf-8
Content-Length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: string
example: 25
Connection:
description: The Connection general header controls whether or not the network connection stays open after the current transaction finishes. If the value sent is keep-alive, the connection is persistent and not closed, allowing for subsequent requests to the same server to be done. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection)
schema:
type: string
example: keep-alive
access-control-allow-credentials:
description: The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is "include". [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
schema:
type: boolean
example: true
Access-Control-Allow-Headers:
description: The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
schema:
type: string
example: Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,platform,app-version,X-Auth-Token,x-accountkit-validation-code,token,fast-match-count,x-supported-image-formats,device_id,install-id,persistent-device-id,promo-code,campaign-name,app-session-id,app-session-time-elapsed,user-session-id,user-session-time-elapsed,advertising-id
Access-Control-Allow-Methods:
description: The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
schema:
type: string
example: GET, POST, PUT, DELETE, OPTIONS
access-control-allow-origin:
description: The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
schema:
type: string
example: https://tinder.com
Content-Encoding:
description: The Content-Encoding entity header is used to compress the media-type. When present, its value indicates which encodings were applied to the entity-body. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding)
schema:
type: string
example: gzip
Date:
description: The Date general HTTP header contains the date and time at which the message was originated. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date)
schema:
type: string
example: Mon, 29 Apr 2019 02:29:08 GMT
Vary:
description: The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary)
schema:
type: string
example: Accept-Encoding,Origin
X-Request-ID:
description: TODO
schema:
type: string
example: 00af7teqbvf3q82is660
X-Cache:
description: TODO
schema:
type: string
example: Error from cloudfront
Via:
description: The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via)
schema:
type: string
example: 1.1 d07104e17906cf397b085b148825b3ed.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
description: TODO
schema:
type: string
example: WZbbh7AT5sI6_lPxpjGDC7-vNpBcdfDnU-3RNpiQbGFRkA-bnoO14Q==
content:
application/json:
schema:
type: object
properties:
status:
description: Response status code.
type: number
X-Padding:
description: TODO
type: string
example:
status: 200
X-Padding: "{*meta*:{*code*:200,*requestId*:*59a45921351e3d43b07028b5*},*response*:{*venue*:{*id*:*412d2800f964a520df0c1fe3*,*name*:*Central Park*,*contact*:{*phone*:*2123106600*,*formattedPhone*:*(212) 310-6600*,*twitter*:*centralparknyc*,*instagram*:*centralparknyc*,*facebook*:*37965424481*,*facebookUsername*:*centralparknyc*,*facebookName*:*Central Park*},*location*:{*address*:*59th St to 110th St*,*crossStreet*:*5th Ave to Central Park West*,*lat*:40.78408342593807,*lng*:-73.96485328674316,*postalCode*:*10028*,*cc*:*US*,*city*:*New York*,*state*:*NY*,*country*:*United States*,*formattedAddress*:[*59th St to 110th St (5th Ave to Central Park West)*,*New York, NY 10028*,*United States*]},*canonicalUrl*:*https://foursquare.com/v/central-park/412d2800f964a520df0c1fe3*,*categories*:[{*id*:*4bf58dd8d48988d163941735*,*name*:*Park*,*pluralName*:*Parks*,*shortName*:*Park*,*icon*:{*prefix*:*https://ss3.4sqi.net/img/categories_v2/parks_outdoors/park_*,*suffix*:*.png*},*primary*:true}],*verified*:true,*stats*:{*checkinsCount*:364591,*usersCount*:311634,*tipCount*:1583,*visitsCount*:854553},*url*:*http://www.centralparknyc.org*,*likes*:{*count*:17370,*summary*:*17370 Likes*},*rating*:9.8,*ratingColor*:*00B551*,*ratingSignals*:18854,*beenHere*:{*count*:0,*unconfirmedCount*:0,*marked*:false,*lastCheckinExpiredAt*:0},*photos*:{*count*:26681,*groups*:[{*type*:*venue*,*name*:*Venue photos*,*count*:26681,*items*:[{*id*:*513bd223e4b0e8ef8292ee54*,*createdAt*:1362874915,*source*:{*name*:*Instag"
404:
description: 'Not Found'
headers:
Content-Type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
example: application/json; charset=utf-8
Content-Length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: string
example: 25
Connection:
description: The Connection general header controls whether or not the network connection stays open after the current transaction finishes. If the value sent is keep-alive, the connection is persistent and not closed, allowing for subsequent requests to the same server to be done. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection)
schema:
type: string
example: keep-alive
access-control-allow-credentials:
description: The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request's credentials mode (Request.credentials) is "include". [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials)
schema:
type: boolean
example: true
Access-Control-Allow-Headers:
description: The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers)
schema:
type: string
example: Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,platform,app-version,X-Auth-Token,x-accountkit-validation-code,token,fast-match-count,x-supported-image-formats,device_id,install-id,persistent-device-id,promo-code,campaign-name,app-session-id,app-session-time-elapsed,user-session-id,user-session-time-elapsed,advertising-id
Access-Control-Allow-Methods:
description: The Access-Control-Allow-Methods response header specifies the method or methods allowed when accessing the resource in response to a preflight request. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods)
schema:
type: string
example: GET, POST, PUT, DELETE, OPTIONS
access-control-allow-origin:
description: The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin)
schema:
type: string
example: https://tinder.com
Content-Encoding:
description: The Content-Encoding entity header is used to compress the media-type. When present, its value indicates which encodings were applied to the entity-body. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding)
schema:
type: string
example: gzip
Date:
description: The Date general HTTP header contains the date and time at which the message was originated. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date)
schema:
type: string
example: Mon, 29 Apr 2019 02:29:08 GMT
Vary:
description: The Vary HTTP response header determines how to match future request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary)
schema:
type: string
example: Accept-Encoding,Origin
X-Request-ID:
description: TODO
schema:
type: string
example: 00af7teqbvf3q82is660
X-Cache:
description: TODO
schema:
type: string
example: Error from cloudfront
Via:
description: The Via general header is added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via)
schema:
type: string
example: 1.1 d07104e17906cf397b085b148825b3ed.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
description: TODO
schema:
type: string
example: WZbbh7AT5sI6_lPxpjGDC7-vNpBcdfDnU-3RNpiQbGFRkA-bnoO14Q==
content:
application/json:
schema:
type: object
properties:
statusCode:
type: number
description: Request status code
error:
type: string
description: Request error message
example:
statusCode: 404
error: Not Found
401:
description: 'Unathorized'
headers:
Content-Type:
description: The Content-Type entity header is used to indicate the media type of the resource. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)
schema:
type: string
example: application/json; charset=utf-8
Content-Length:
description: The Content-Length entity header indicates the size of the entity-body, in bytes, sent to the recipient. [developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length)
schema:
type: string
example: 25