@@ -30,6 +30,11 @@ $ curl -H "Content-Type: application/json" \
3030 "reading_time" : 3 ,
3131 "tags" : [],
3232 "source" : " collection#<id>" ,
33+ "origin" : {
34+ "value" : " https://app.flus.fr/collections/<id>" ,
35+ "label" : " <collection's name>" ,
36+ "url" : " https://app.flus.fr/collections/<id>"
37+ },
3338 "is_read" : false ,
3439 "is_read_later" : false ,
3540 "collections" : [],
@@ -50,6 +55,7 @@ $ curl -H "Content-Type: application/json" \
5055### Changelog
5156
5257- 2.0.0: added
58+ - 2.5.0: ` source ` is deprecated, use ` origin ` instead
5359
5460## Refresh the journal
5561
@@ -97,7 +103,8 @@ POST /api/v1/journal/read
97103### JSON Parameters
98104
99105- ` date ` (string, optional, format: ` YYYY-MM-DD ` ): a date to filter the links to mark as read
100- - ` source ` (string, optional): a source to filter the links to mark as read
106+ - ` origin ` (string, optional): an origin to filter the links to mark as read
107+ - ` source ` (** deprecated,** string, optional): a source to filter the links to mark as read
101108
102109### Example
103110
@@ -128,6 +135,7 @@ $ curl -H "Content-Type: application/json" \
128135### Changelog
129136
130137- 2.0.0: added
138+ - 2.5.0: ` source ` is deprecated, use ` origin ` instead
131139
132140## Mark the links of the journal to read later
133141
@@ -138,7 +146,8 @@ POST /api/v1/journal/later
138146### JSON Parameters
139147
140148- ` date ` (string, optional, format: ` YYYY-MM-DD ` ): a date to filter the links to mark to read later
141- - ` source ` (string, optional): a source to filter the links to mark to read later
149+ - ` origin ` (string, optional): an origin to filter the links to mark to read later
150+ - ` source ` (** deprecated,** string, optional): a source to filter the links to mark to read later
142151
143152### Example
144153
@@ -169,6 +178,7 @@ $ curl -H "Content-Type: application/json" \
169178### Changelog
170179
171180- 2.0.0: added
181+ - 2.5.0: ` source ` is deprecated, use ` origin ` instead
172182
173183## Remove the links from the journal
174184
@@ -179,7 +189,8 @@ DELETE /api/v1/journal/links
179189### JSON Parameters
180190
181191- ` date ` (string, optional, format: ` YYYY-MM-DD ` ): a date to filter the links to remove
182- - ` source ` (string, optional): a source to filter the links to remove
192+ - ` origin ` (string, optional): an origin to filter the links to remove
193+ - ` source ` (** deprecated,** string, optional): a source to filter the links to remove
183194
184195### Example
185196
@@ -210,6 +221,7 @@ $ curl -H "Content-Type: application/json" \
210221### Changelog
211222
212223- 2.0.0: added
224+ - 2.5.0: ` source ` is deprecated, use ` origin ` instead
213225
214226## Remove a single link from the journal
215227
0 commit comments