Skip to content

Commit c0c687e

Browse files
committed
article_info: added views and reads
1 parent 667e213 commit c0c687e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/paths/article_info.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ get:
2828
- Voter Count
2929
3030
- Word Count
31+
32+
- Views
33+
34+
- Reads
3135
3236
- Response Count
3337
@@ -121,6 +125,16 @@ get:
121125
format: int32
122126
description: Number of people who clapped on the article.
123127
example: 141
128+
views:
129+
type: integer
130+
format: int32
131+
description: Number of views on the article.
132+
example: 1000
133+
reads:
134+
type: integer
135+
format: int32
136+
description: Number of reads on the article.
137+
example: 800
124138
is_series:
125139
type: boolean
126140
description: Whether the article is part of a series or not.

0 commit comments

Comments
 (0)