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
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,20 @@ A subscriptionEntity represents two things:
8
8
1. A podcast feed
9
9
2. The relationship between a user and a podcast feed
10
10
11
-
[[actions-subscriptions]]
12
-
== Actions
13
-
14
11
[source,httprequest]
15
12
----
16
13
POST /api/v1/users
17
14
----
18
15
19
16
[[actions-subscriptions-create]]
20
-
=== Create subscriptions
17
+
== Create subscriptions
21
18
22
19
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
20
A link is then created between the user and the subscriptionEntity.
If all feeds are valid and no problems are encountered, the server responds with an array of `success` objects and an empty array of `failure` objects.
30
27
@@ -39,27 +36,27 @@ If the server receives a mix of responses, both arrays are populated.
0 commit comments