You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: APIs/instagram.com/1.0.0/swagger.yaml
+46-28Lines changed: 46 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,15 @@ info:
13
13
Current limitations:
14
14
* Instagram service does not support [cross origin headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
15
15
for security reasons, therefore it is not possible to use Swagger UI and make API calls directly from browser.
16
-
* Modification API requests (`POST`, `DELETE`) require additional security [scopes](https://instagram.com/developer/authentication/#scope)
17
-
that are [not available](http://stackoverflow.com/questions/20580535/instagram-api-do-scopes-work-with-oauth2-implicit-authentication-flow/30834127#30834127)
18
-
for new clients.
19
-
* Consider the [Instagram limitations](https://instagram.com/developer/limits/) for API calls.
16
+
* Modification API requests (`POST`, `DELETE`) require additional security [scopes](https://instagram.com/developer/authorization/)
17
+
that are available for Apps [created on or after Nov 17, 2015](http://instagram.com/developer/review/) and
18
+
started in [Sandbox Mode](http://instagram.com/developer/sandbox/).
19
+
* Consider the [Instagram limitations](https://instagram.com/developer/limits/) for API calls that depends on App Mode.
20
20
21
-
Last update: 2015-06-19
21
+
**Warning:** For Apps [created on or after Nov 17, 2015](http://instagram.com/developer/changelog/) API responses
22
+
containing media objects no longer return the `data` field in `comments` and `likes` nodes.
**Warrning:** Actual response of this end-point is [not documented](https://instagram.com/developer/endpoints/geographies/).
86
+
**Warning:** [Deprecated](http://instagram.com/developer/changelog/) for Apps created **on or after** Nov 17, 2015
81
87
parameters:
82
88
- description: The geography ID.
83
89
in: path
@@ -156,7 +162,7 @@ paths:
156
162
security:
157
163
- api_key: []
158
164
- instagram_auth:
159
-
- basic
165
+
- public_content
160
166
summary: Search for a location by geographic coordinate.
161
167
tags:
162
168
- locations
@@ -177,7 +183,7 @@ paths:
177
183
security:
178
184
- api_key: []
179
185
- instagram_auth:
180
-
- basic
186
+
- public_content
181
187
summary: Get information about a location.
182
188
tags:
183
189
- locations
@@ -220,14 +226,17 @@ paths:
220
226
security:
221
227
- api_key: []
222
228
- instagram_auth:
223
-
- basic
229
+
- public_content
224
230
summary: Get a list of recent media objects from a given location.
225
231
tags:
226
232
- locations
227
233
/media/popular:
228
234
get:
235
+
deprecated: true
229
236
description: |
230
237
Get a list of what media is most popular at the moment. Can return mix of `image` and `video` types.
238
+
239
+
**Warning:** [Deprecated](http://instagram.com/developer/changelog/) for Apps created **on or after** Nov 17, 2015
231
240
responses:
232
241
'200':
233
242
description: Found media resources (without likes information).
@@ -284,7 +293,7 @@ paths:
284
293
security:
285
294
- api_key: []
286
295
- instagram_auth:
287
-
- basic
296
+
- public_content
288
297
summary: Search for media in a given area.
289
298
tags:
290
299
- media
@@ -310,6 +319,7 @@ paths:
310
319
- api_key: []
311
320
- instagram_auth:
312
321
- basic
322
+
- public_content
313
323
summary: Get information about a media object.
314
324
tags:
315
325
- media
@@ -336,6 +346,7 @@ paths:
336
346
- api_key: []
337
347
- instagram_auth:
338
348
- basic
349
+
- public_content
339
350
summary: Get information about a media object.
340
351
tags:
341
352
- media
@@ -357,6 +368,7 @@ paths:
357
368
- api_key: []
358
369
- instagram_auth:
359
370
- basic
371
+
- public_content
360
372
summary: Get a list of recent comments on a media object.
361
373
tags:
362
374
- comments
@@ -387,7 +399,6 @@ paths:
387
399
security:
388
400
- api_key: []
389
401
- instagram_auth:
390
-
- basic
391
402
- comments
392
403
summary: Create a comment on a media object.
393
404
tags:
@@ -415,7 +426,6 @@ paths:
415
426
security:
416
427
- api_key: []
417
428
- instagram_auth:
418
-
- basic
419
429
- comments
420
430
summary: Remove a comment.
421
431
tags:
@@ -437,7 +447,6 @@ paths:
437
447
security:
438
448
- api_key: []
439
449
- instagram_auth:
440
-
- basic
441
450
- likes
442
451
summary: Remove a like on this media by the current user.
443
452
tags:
@@ -459,6 +468,7 @@ paths:
459
468
- api_key: []
460
469
- instagram_auth:
461
470
- basic
471
+
- public_content
462
472
summary: Get a list of users who have liked this media.
463
473
tags:
464
474
- likes
@@ -478,7 +488,6 @@ paths:
478
488
security:
479
489
- api_key: []
480
490
- instagram_auth:
481
-
- basic
482
491
- likes
483
492
summary: Set a like on this media by the current user.
484
493
tags:
@@ -500,7 +509,7 @@ paths:
500
509
security:
501
510
- api_key: []
502
511
- instagram_auth:
503
-
- basic
512
+
- public_content
504
513
summary: Search for tags by name.
505
514
tags:
506
515
- tags
@@ -521,7 +530,7 @@ paths:
521
530
security:
522
531
- api_key: []
523
532
- instagram_auth:
524
-
- basic
533
+
- public_content
525
534
summary: Get information about a tag object.
526
535
tags:
527
536
- tags
@@ -559,7 +568,7 @@ paths:
559
568
security:
560
569
- api_key: []
561
570
- instagram_auth:
562
-
- basic
571
+
- public_content
563
572
summary: Get a list of recently tagged media.
564
573
tags:
565
574
- tags
@@ -591,7 +600,11 @@ paths:
591
600
- users
592
601
/users/self/feed:
593
602
get:
594
-
description: "See the authenticated user's feed."
603
+
deprecated: true
604
+
description: |
605
+
See the authenticated user's feed.
606
+
607
+
**Warning:** [Deprecated](http://instagram.com/developer/changelog/) for Apps created **on or after** Nov 17, 2015
595
608
parameters:
596
609
- description: Count of media to return.
597
610
in: query
@@ -660,7 +673,7 @@ paths:
660
673
security:
661
674
- api_key: []
662
675
- instagram_auth:
663
-
- basic
676
+
- follower_list
664
677
summary: "List the users who have requested this user's permission to follow."
665
678
tags:
666
679
- relationships
@@ -669,6 +682,8 @@ paths:
669
682
description: |
670
683
Get basic information about a user. To get information about the owner of the access token, you can use
671
684
**self** instead of the `user-id`.
685
+
686
+
Security scope `public_content` is required to read information about other users.
672
687
parameters:
673
688
- description: 'The ID of a user to get information about, or **self** to retrieve information about authenticated user.'
674
689
in: path
@@ -686,6 +701,7 @@ paths:
686
701
- api_key: []
687
702
- instagram_auth:
688
703
- basic
704
+
- public_content
689
705
summary: Get basic information about a user.
690
706
tags:
691
707
- users
@@ -708,7 +724,7 @@ paths:
708
724
security:
709
725
- api_key: []
710
726
- instagram_auth:
711
-
- basic
727
+
- follower_list
712
728
summary: Get the list of users this user is followed by.
713
729
tags:
714
730
- relationships
@@ -731,7 +747,7 @@ paths:
731
747
security:
732
748
- api_key: []
733
749
- instagram_auth:
734
-
- basic
750
+
- follower_list
735
751
summary: Get the list of users this user follows.
736
752
tags:
737
753
- relationships
@@ -740,6 +756,8 @@ paths:
740
756
description: |
741
757
Get the most recent media published by a user. To get the most recent media published by the owner of the
742
758
access token, you can use **self** instead of the `user-id`.
759
+
760
+
Security scope `public_content` is required to read information about other users.
743
761
parameters:
744
762
- description: 'The ID of a user to get recent media of, or **self** to retrieve media of authenticated user.'
745
763
in: path
@@ -782,6 +800,7 @@ paths:
782
800
- api_key: []
783
801
- instagram_auth:
784
802
- basic
803
+
- public_content
785
804
summary: Get the most recent media published by a user.
786
805
tags:
787
806
- users
@@ -802,7 +821,7 @@ paths:
802
821
security:
803
822
- api_key: []
804
823
- instagram_auth:
805
-
- basic
824
+
- follower_list
806
825
summary: Get information about a relationship to another user.
807
826
tags:
808
827
- relationships
@@ -834,7 +853,6 @@ paths:
834
853
security:
835
854
- api_key: []
836
855
- instagram_auth:
837
-
- basic
838
856
- relationships
839
857
summary: Modify the relationship between the current user and the target user.
840
858
tags:
@@ -874,7 +892,7 @@ definitions:
874
892
description: 'Nember of comments available, data does not necessary contain all comments'
875
893
type: integer
876
894
data:
877
-
description: Collection of comment entries
895
+
description: 'Collection of comment entries; **warning:** deprecated for Apps [created on or after Nov 17, 2015](http://instagram.com/developer/changelog/)'
878
896
items:
879
897
$ref: '#/definitions/CommentEntry'
880
898
type: array
@@ -932,7 +950,7 @@ definitions:
932
950
description: 'Nember of likes available, data does not necessary contain all comments'
933
951
type: integer
934
952
data:
935
-
description: Collection of users who liked
953
+
description: 'Collection of users who liked; **warning:** deprecated for Apps [created on or after Nov 17, 2015](http://instagram.com/developer/changelog/)'
936
954
items:
937
955
$ref: '#/definitions/UserShortInfo'
938
956
type: array
@@ -1159,7 +1177,7 @@ definitions:
1159
1177
TagPaginationInfo:
1160
1178
properties:
1161
1179
deprecation_warning:
1162
-
description: 'The deprication warrning, if information is available'
1180
+
description: 'The deprication warning, if information is available'
1163
1181
type: string
1164
1182
min_tag_id:
1165
1183
description: The min ID of a tag for the next page
0 commit comments