Skip to content

Commit 359cae9

Browse files
committed
added total_pinned_articles in user_articles & user_top_articles
1 parent 16d395f commit 359cae9

File tree

4 files changed

+93
-57
lines changed

4 files changed

+93
-57
lines changed

index.html

Lines changed: 79 additions & 54 deletions
Large diffs are not rendered by default.

src/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
x-logo:
99
url: https://mediumapi.com/imgs/logo/logo-dark-color.svg
1010
description: >
11-
Our Unofficial Medium API helps you to quickly extract data from Medium's Website (https://medium.com).
11+
Medium API (Unofficial) helps you to quickly fetch data from Medium's Website (https://medium.com).
1212
1313
1414
You can gather data related to users, publications, articles (including its textual content), latest posts & top writers within a topic/niche, etc…
@@ -30,7 +30,7 @@ tags:
3030

3131
externalDocs:
3232
description: Read more
33-
url: 'https://mediumapi.com/documentation.html'
33+
url: 'https://mediumapi.com/documentation.html?utm_source=swagger_docs&utm_medium=external_docs&utm_campaign=api_reference'
3434

3535
servers:
3636
- url: https://medium2.p.rapidapi.com

src/paths/user_articles.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ get:
5656
description: Number of articles returned.
5757
example: 5
5858

59+
total_pinned_articles:
60+
type: integer
61+
description: Total number of articles pinned by the user.
62+
example: 2
63+
5964
next:
6065
type: string
6166
description: Use this parameter to get more results on the next page.

src/paths/user_top_articles.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ get:
2424
type: string
2525
description: User ID
2626
example: "1985b61817c3"
27+
2728
top_articles:
2829
type: array
2930
description: List of top 10 articles on the user's profile.
@@ -39,4 +40,9 @@ get:
3940
- "9263875a3649"
4041
- "6c34414177bd"
4142
- "9867ba29a923"
42-
- "65a63626c04e"
43+
- "65a63626c04e"
44+
45+
total_pinned_articles:
46+
type: integer
47+
description: Number of articles pinned by the user.
48+
example: 1

0 commit comments

Comments
 (0)