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: src/docs/subscriptions.adoc
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
:doctype: book
3
3
:sectlinks:
4
4
5
-
The `subscriptions` endpoint exposes operations taken on subscriptions. A subscriptionEntity represents two things:
5
+
The `subscriptions` endpoint exposes operations taken on subscriptions.
6
+
A subscriptionEntity represents two things:
6
7
7
8
1. A podcast feed
8
9
2. The relationship between a user and a podcast feed
@@ -18,9 +19,10 @@ POST /api/v1/users
18
19
[[actions-subscriptions-create]]
19
20
=== Create subscriptions
20
21
21
-
When a user adds a subscription to the system, a corresponding `subscriptionEntity` object is fetched or created depending on whether a matching subscriptionEntity is present. A link is then created between the user and the subscriptionEntity.
22
+
When a user adds a subscription to the system, a corresponding `subscriptionEntity` object is fetched or created depending on whether a matching subscriptionEntity is present.
23
+
A link is then created between the user and the subscriptionEntity.
Returns the details of a single subscriptionEntity for the authenticated user. Returns `404` if the user has no subscriptionEntity entry for the feed in question.
56
+
Returns the details of a single subscriptionEntity for the authenticated user.
57
+
Returns `404` if the user has no subscriptionEntity entry for the feed in question.
Unsubscribes the authenticated user from a feed. This action updates the user subscriptionEntity record to mark the subscriptionEntity as inactive. It does not delete the subscriptionEntity record.
64
+
Unsubscribes the authenticated user from a feed.
65
+
This action updates the user subscriptionEntity record to mark the subscriptionEntity as inactive.
Copy file name to clipboardExpand all lines: src/docs/users.adoc
+4-20Lines changed: 4 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,29 +2,12 @@
2
2
:doctype: book
3
3
:sectlinks:
4
4
5
-
The `users` endpoint exposes operations taken on user accounts. Users may update and delete their own user record, but only admins may update and alter the records of other users.
5
+
The `users` endpoint exposes operations taken on user accounts.
6
+
Users may update and delete their own user record, but only admins may update and alter the records of other users.
0 commit comments